diff --git a/modules/common/target/common-1.0.0.jar b/modules/common/target/common-1.0.0.jar index ea4a551..156beee 100644 Binary files a/modules/common/target/common-1.0.0.jar and b/modules/common/target/common-1.0.0.jar differ diff --git a/modules/filter/target/filter-1.0.0.jar b/modules/filter/target/filter-1.0.0.jar index 6f82f9e..40fb136 100644 Binary files a/modules/filter/target/filter-1.0.0.jar and b/modules/filter/target/filter-1.0.0.jar differ diff --git a/web/src/main/java/com/zhehekeji/web/controller/TestController.java b/web/src/main/java/com/zhehekeji/web/controller/TestController.java index ec8c8ed..1ec42a7 100644 --- a/web/src/main/java/com/zhehekeji/web/controller/TestController.java +++ b/web/src/main/java/com/zhehekeji/web/controller/TestController.java @@ -2,6 +2,7 @@ package com.zhehekeji.web.controller; import com.zhehekeji.core.pojo.Result; import com.zhehekeji.web.service.TestService; +import com.zhehekeji.web.service.cron.PLCConnectionExample; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.*; @@ -13,6 +14,8 @@ import javax.annotation.Resource; @RestController public class TestController { + @Resource + PLCConnectionExample plcConnectionExample; @Resource private TestService testService; @@ -29,6 +32,13 @@ public class TestController { return Result.success(); } +//writePlcDataStatusErr + @ApiOperation("自动盘点") + @GetMapping("/writePlcDataStatusErr/{id}/{leftRight}") + public Result writePlcDataStatusErr(@PathVariable String id,@PathVariable Integer leftRight){ + plcConnectionExample.writePlcDataStatusErr(id,leftRight); + return Result.success(); + } }