Commit 72a95862 authored by zhengyi's avatar zhengyi

订单提货记录时间统计业务修正

parent 811de315
...@@ -3366,4 +3366,6 @@ public interface OrderMapper extends AbstractMapper<OrderDO> { ...@@ -3366,4 +3366,6 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
*/ */
@Update("update ecw_order set customer_id=#{customerId},salesman_id=#{salesmanId} where order_id = #{orderId}") @Update("update ecw_order set customer_id=#{customerId},salesman_id=#{salesmanId} where order_id = #{orderId}")
void updateOrderCustomerAndSalesmanId(@Param("customerId")Long customerId,@Param("salesmanId") Long salesmanId,@Param("orderId") Long orderId); void updateOrderCustomerAndSalesmanId(@Param("customerId")Long customerId,@Param("salesmanId") Long salesmanId,@Param("orderId") Long orderId);
StatisticsOrderVO statisticsPickUp(@Param("query") OrderQueryVO query);
} }
...@@ -1705,15 +1705,15 @@ public class OrderQueryServiceImpl implements OrderQueryService { ...@@ -1705,15 +1705,15 @@ public class OrderQueryServiceImpl implements OrderQueryService {
// vo.setOrderQuantity(0); // vo.setOrderQuantity(0);
// } // }
// } // }
// if (Objects.nonNull(query.getBeginPickUpTime()) && Objects.nonNull(query.getEndPickUpTime())) { if (Objects.nonNull(query.getBeginPickUpTime()) && Objects.nonNull(query.getEndPickUpTime())) {
// // 入仓记录统计时,实测入仓数据替换为入仓记录中的和值 // 入仓记录统计时,实测入仓数据替换为入仓记录中的和值
// StatisticsOrderVO pickUpVO = orderMapper.statisticsPickUp(query); StatisticsOrderVO pickUpVO = orderMapper.statisticsPickUp(query);
// if (Objects.nonNull(pickUpVO)) { if (Objects.nonNull(pickUpVO)) {
// vo.setTotalNum(pickUpVO.getTotalNum()); vo.setTotalNum(pickUpVO.getTotalNum());
// } else { } else {
// vo.setTotalNum(0); vo.setTotalNum(0);
// } }
// } }
return vo; return vo;
} }
...@@ -1760,16 +1760,16 @@ public class OrderQueryServiceImpl implements OrderQueryService { ...@@ -1760,16 +1760,16 @@ public class OrderQueryServiceImpl implements OrderQueryService {
// vo.setOrderQuantity(0); // vo.setOrderQuantity(0);
// } // }
// } // }
// if (Objects.nonNull(query.getBeginPickUpTime()) && if (Objects.nonNull(query.getBeginPickUpTime()) &&
// Objects.nonNull(query.getEndPickUpTime())) { Objects.nonNull(query.getEndPickUpTime())) {
// // 提货记录统计时,实测入仓数据替换为提货记录中的和值 // 提货记录统计时,实测入仓数据替换为提货记录中的和值
// StatisticsOrderVO pickUpVO = orderMapper.statisticsMyPickUp(query); StatisticsOrderVO pickUpVO = orderMapper.statisticsPickUp(query);
// if (Objects.nonNull(pickUpVO)) { if (Objects.nonNull(pickUpVO)) {
// vo.setTotalNum(pickUpVO.getTotalNum()); vo.setTotalNum(pickUpVO.getTotalNum());
// } else { } else {
// vo.setTotalNum(0); vo.setTotalNum(0);
// } }
// } }
return vo; return vo;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment