|
@@ -240,7 +240,7 @@ public class UniversalServiceImpl implements UniversalService {
|
|
|
* 关闭过期运输订单
|
|
|
* @return
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0,5 8 * * ?")
|
|
|
+ //@Scheduled(cron = "0 0,5 8 * * ?")
|
|
|
public void closePassedOrder() {
|
|
|
List<Map<String,Object>> passedOrderList = universalMapper.findPassedOrder();
|
|
|
System.out.println("关闭的未出厂过期订单如下:<" + passedOrderList + ">");
|
|
@@ -260,6 +260,11 @@ public class UniversalServiceImpl implements UniversalService {
|
|
|
}else {
|
|
|
result+=universalMapper.updateStatusSeven(orderId);
|
|
|
}
|
|
|
+ BigDecimal capacityIdS=universalMapper.queueSingle(orderId);
|
|
|
+ /*if (capacityIdS !=null){
|
|
|
+ //删除单拼
|
|
|
+ universalMapper.delectQueueS(capacityIdS);
|
|
|
+ }*/
|
|
|
/*//查询多拼的数据
|
|
|
BigDecimal capacityIdM =universalMapper.queueMore(orderId);
|
|
|
if (capacityIdM !=null){
|