wudingsheng 2 дней назад
Родитель
Сommit
71e10d925f

+ 1 - 1
imcs-admin-boot/imcs-authority-server/src/main/resources/application-test.yml

@@ -59,7 +59,7 @@ zuihou:
         base-path: /api/file
 mybatis-plus:
   configuration:
-    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
 cutter-shared: # 机外对刀仪数据采集
   #file-path: Z:\Program Files (x86)\Parlec\P7
   file-path: Z:\

+ 1 - 1
imcs-admin-boot/imcs-authority-server/src/main/resources/application.yml

@@ -284,7 +284,7 @@ mybatis-plus:
     #配置JdbcTypeForNull, oracle数据库必须配置
     jdbc-type-for-null: 'null'
     call-setters-on-nulls: true
-#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
 
 j2cache:
   #  config-location: /j2cache.properties

+ 7 - 1
imcs-admin-boot/imcs-authority-server/src/main/resources/bootstrap.yml

@@ -7,11 +7,17 @@ spring:
     active: test
 logging:
   level:
-    com.github.zuihou: INFO
+    com.github.zuihou: INFO          # 你原来的
+    org.apache.ibatis: DEBUG         # ⭐ 打印 MyBatis SQL
+    com.baomidou.mybatisplus: DEBUG  # ⭐ 打印 MyBatis-Plus 相关日志
+    # 如果你有自己的 mapper 包,也可以加上,比如:
+    # com.github.zuihou.xxx.mapper: DEBUG
+
   file:
     path: /data/projects/logs
     name: ${logging.file.path}/${spring.application.name}/root.log
 
+
 machine:
   #  ip: 192.168.170.32
   ##  port: 21

+ 1 - 1
imcs-admin-boot/imcs-business-controller/src/main/java/com/github/zuihou/business/controller/productionReadyCenter/CuttingToolApplyController.java

@@ -129,7 +129,7 @@ public class CuttingToolApplyController extends SuperCacheController<CuttingTool
         return success(count > 0);
     }
 
-    @Scheduled(cron = "0 0/1 * * * *")
+    //@Scheduled(cron = "0 0/1 * * * *")
     @ApiOperation(value = "自动换刀", notes = "自动换刀")
     @PostMapping("/cuttingToolTask")
     public R<Boolean> cuttingToolTask() {

+ 1 - 1
imcs-admin-boot/imcs-business-controller/src/main/java/com/github/zuihou/business/controller/productionResourceCenter/ToolController.java

@@ -126,7 +126,7 @@ public class ToolController extends SuperController<ToolService, Long, Tool, Too
     private StorgeTrayConfMapper storgeTrayConfMapper;
 
     //刀具定时任务处理
-    @Scheduled(cron = "0 0/2 * * * *")
+    //@Scheduled(cron = "0 0/2 * * * *")
     @ApiOperation(value = "同步刀具", notes = "同步刀具")
     @PostMapping("/synchronousTool")
     public R<Boolean> synchronousTool() throws Exception {

+ 4 - 4
imcs-admin-boot/imcs-business-controller/src/main/java/com/github/zuihou/business/controller/wms/WmsTransferTaskController.java

@@ -42,7 +42,7 @@ import java.util.Map;
 public class WmsTransferTaskController extends SuperSimpleController<WmsTransferTaskService, WmsTransferTask> {
 
     @Autowired
-    private WmsTransferTaskService WmsTransferTaskService;
+    private WmsTransferTaskService wmsTransferTaskService;
 
     @ApiOperation(value = "查询对话调度记录", notes = "查询对话调度记录")
     @PostMapping("/page")
@@ -52,19 +52,19 @@ public class WmsTransferTaskController extends SuperSimpleController<WmsTransfer
         LbqWrapper<WmsTransferTask> wrapper = wrap.lambda();
         wrapper.like(WmsTransferTask::getOrderNo,params.getModel().getOrderNo());
         wrapper.orderByDesc(WmsTransferTask::getCreateTime);
-        WmsTransferTaskService.pageList(page, wrapper,params.getModel());
+        wmsTransferTaskService.pageList(page, wrapper,params.getModel());
         return this.success(page);
     }
 
     @PostMapping("/updateStatus")
     public R updateStatus(@RequestBody WmsTransferTask wmsTransferTask) {
-        return WmsTransferTaskService.updateStatus(wmsTransferTask);
+        return wmsTransferTaskService.updateStatus(wmsTransferTask);
     }
 
     @PostMapping("/deleteAgvInfo")
     public R deleteAgvInfo(@RequestBody WmsAgvInfo wmsAgvInfo) {
 
-        return WmsTransferTaskService.deleteAgvInfo(wmsAgvInfo);
+        return wmsTransferTaskService.deleteAgvInfo(wmsAgvInfo);
     }
 
     private QueryWrap<WmsTransferTask> handlerWrapper(WmsTransferTask model, PageParams<WmsTransferTask> params) {