|
@@ -14,7 +14,7 @@ import com.tour.module.domain.dto.SystemOrderDto;
|
|
|
import com.tour.module.enums.StatusEnum;
|
|
|
import com.tour.module.service.*;
|
|
|
import com.tour.module.vo.*;
|
|
|
-import jdk.internal.jline.internal.Log;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
@@ -36,6 +36,7 @@ import java.util.stream.Collectors;
|
|
|
* @author zoe
|
|
|
* @date 2023-05-23
|
|
|
*/
|
|
|
+@Slf4j
|
|
|
@Service
|
|
|
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements IOrderService {
|
|
|
|
|
@@ -240,6 +241,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
|
return map;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
public List<OmsOrderDto> queryOrderList(SystemOrderDto order) {
|
|
|
List<OmsOrderDto> orderList = baseMapper.queryPageList(order);
|
|
|
return orderList;
|
|
@@ -317,7 +319,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- Log.info("oderId:" + order.getAgentId() + "的分佣总金额:" + commission);
|
|
|
+ log.info("oderId:" + order.getAgentId() + "的分佣总金额:" + commission);
|
|
|
// 佣金大于0开始分佣
|
|
|
if (commission.signum() == 0) {
|
|
|
return;
|