|
@@ -47,6 +47,7 @@ import org.jeecg.modules.spapl.entity.SyPreAssembledPackingListItem;
|
|
|
import org.jeecg.modules.spapl.service.ISyPreAssembledPackingListService;
|
|
|
import org.jeecg.modules.spapl.vo.SyPreAssembledPackingListVo;
|
|
|
import org.jeecg.modules.splfi.entity.SyPackingListFabric;
|
|
|
+import org.jeecg.modules.splfi.service.ISyPackingListFabricService;
|
|
|
import org.jeecg.modules.splt.vo.SyPackingListTailoringVo;
|
|
|
import org.jeecg.modules.system.controller.CommonController;
|
|
|
import org.jeecg.modules.system.entity.SysPermission;
|
|
@@ -64,6 +65,7 @@ import org.jeecg.modules.splt.entity.SyPackingListTailoring;
|
|
|
import org.jeecg.modules.splt.vo.SyPackingListTailoringPage;
|
|
|
import org.jeecg.modules.splt.service.ISyPackingListTailoringService;
|
|
|
import org.jeecg.modules.splt.service.ISyPackingListTailoringItemService;
|
|
|
+import org.quartz.Job;
|
|
|
import org.quartz.JobExecutionContext;
|
|
|
import org.quartz.JobExecutionException;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
@@ -92,7 +94,7 @@ import org.jeecg.common.aspect.annotation.AutoLog;
|
|
|
@RestController
|
|
|
@RequestMapping("/splt/syPackingListTailoring")
|
|
|
@Slf4j
|
|
|
-public class SyPackingListTailoringController {
|
|
|
+public class SyPackingListTailoringController implements Job {
|
|
|
@Autowired
|
|
|
private ISyPreAssembledPackingListService syPreAssembledPackingListService;
|
|
|
@Autowired
|
|
@@ -1329,6 +1331,7 @@ public class SyPackingListTailoringController {
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
public void execute(JobExecutionContext context) throws JobExecutionException {
|
|
|
QueryWrapper queryWrapper=new QueryWrapper();
|
|
|
queryWrapper.eq("push_State","3");
|