|
@@ -1,13 +1,18 @@
|
|
|
package com.dgtly.system.service.impl;
|
|
|
|
|
|
+import com.dgtly.common.core.controller.ApiBaseController;
|
|
|
+import com.dgtly.common.utils.http.HttpUtils;
|
|
|
import com.dgtly.system.domain.DeliverOrderBase;
|
|
|
import com.dgtly.system.domain.SysBatchSignInfo;
|
|
|
import com.dgtly.system.domain.TmsLogisticsStatus;
|
|
|
import com.dgtly.system.mapper.SysBatchSignForMapper;
|
|
|
import com.dgtly.system.service.ISysBatchSignForService;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.slf4j.Logger;
|
|
|
+import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Qualifier;
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
@@ -37,10 +42,13 @@ public class SysBatchSignForServiceImpl implements ISysBatchSignForService {
|
|
|
@Autowired(required = false)
|
|
|
@Qualifier("tmsLogisticsStatusDeleteExcutor")
|
|
|
private Executor tmsLogisticsStatusDeleteExcutor;
|
|
|
+ //@Value(value = "${ruoyi.clearCachePath}")
|
|
|
+ //private String clearCachePath;
|
|
|
|
|
|
@Autowired
|
|
|
private SysBatchSignForMapper sysBatchSignForMapper;
|
|
|
|
|
|
+ protected final Logger logger = LoggerFactory.getLogger(SysBatchSignForServiceImpl.class);
|
|
|
|
|
|
@Override
|
|
|
public int updateData(List<SysBatchSignInfo> list) {
|
|
@@ -58,8 +66,9 @@ public class SysBatchSignForServiceImpl implements ISysBatchSignForService {
|
|
|
tmsLogisticsStatusModel(listData)
|
|
|
).join();
|
|
|
|
|
|
- log.info("前面都执行完了,这个才能执行");
|
|
|
-
|
|
|
+ //清订单列表缓存
|
|
|
+ //String result = HttpUtils.sendPost(clearCachePath,"");
|
|
|
+ //logger.info("result:::"+result);
|
|
|
return 1;
|
|
|
}
|
|
|
|