fix warn
This commit is contained in:
@@ -7,14 +7,12 @@ import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import lombok.SneakyThrows;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.nl.modules.common.utils.SecurityUtils;
|
||||
import org.nl.modules.wql.core.bean.WQLObject;
|
||||
import org.nl.modules.wql.util.SpringContextHolder;
|
||||
import org.nl.wms.sch.AcsUtil;
|
||||
import org.nl.wms.sch.task.AcsTaskDTO;
|
||||
import org.reflections.Reflections;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@@ -51,7 +49,6 @@ public class AutoCreateTask {
|
||||
taskList.addAll(tasks);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
log.info("定时器执行失败:{}", e.getMessage());
|
||||
}
|
||||
|
||||
@@ -67,7 +64,7 @@ public class AutoCreateTask {
|
||||
});
|
||||
String api = "api/wms/task";
|
||||
|
||||
log.info("下发acs任务的参数为:{}", arr.toString());
|
||||
log.info("下发acs任务的参数为:{}", arr);
|
||||
JSONObject result = AcsUtil.notifyAcs(api, arr);
|
||||
log.info("下发acs任务的返回结果为:{}", result.toString());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user