From 78e251dca91f9ffd1cd4c253bf9d727f3611d2be Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 02 四月 2025 07:52:11 +0800
Subject: [PATCH] 字段优化

---
 rsf-server/src/main/java/com/vincent/rsf/server/api/controller/MobileController.java |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/MobileController.java b/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/MobileController.java
index df6eb98..ac02aaa 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/MobileController.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/MobileController.java
@@ -3,11 +3,13 @@
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.vincent.rsf.framework.common.R;
 import com.vincent.rsf.framework.exception.CoolException;
+import com.vincent.rsf.server.api.controller.params.CheckObjParams;
 import com.vincent.rsf.server.api.controller.params.OtherReceiptParams;
 import com.vincent.rsf.server.api.controller.params.ReceiptParams;
 import com.vincent.rsf.server.api.service.MobileService;
 import com.vincent.rsf.server.manager.controller.params.WaitPakinParam;
 import com.vincent.rsf.server.manager.entity.AsnOrderItem;
+import com.vincent.rsf.server.manager.entity.QlyIsptItem;
 import com.vincent.rsf.server.system.controller.BaseController;
 import com.vincent.rsf.server.system.controller.param.LoginParam;
 import io.swagger.annotations.Api;
@@ -183,4 +185,23 @@
         }
         return  mobileService.confirmIspt(id);
     }
+
+    @PreAuthorize("hasAuthority('manager:qlyInspect:list')")
+    @PostMapping("/inspect/query")
+    public R checkObjs(@RequestBody CheckObjParams params) {
+        if (Objects.isNull(params)) {
+            return R.error("鍙傛暟涓嶈兘涓虹┖锛侊紒");
+        }
+        return mobileService.checkObjs(params);
+    }
+
+
+    @PreAuthorize("hasAuthority('manager:qlyInspect:update')")
+    @PostMapping("/inspect/check/update")
+    public R checkUpdate(@RequestBody QlyIsptItem params) {
+        if (Objects.isNull(params)) {
+            throw new CoolException("鍙傛暟涓嶈兘涓虹┖锛侊紒");
+        }
+        return mobileService.checkUpdate(params);
+    }
 }

--
Gitblit v1.9.1