From e237ae06faea7208cd1b2deca1822c91ff85f7ee Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期三, 19 六月 2024 09:21:10 +0800
Subject: [PATCH] change table name

---
 pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proTestItems/ProTestItemsCtrl.java |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proTestItems/ProTestItemsCtrl.java b/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proTestItems/ProTestItemsCtrl.java
index 02b9526..21aa27d 100644
--- a/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proTestItems/ProTestItemsCtrl.java
+++ b/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proTestItems/ProTestItemsCtrl.java
@@ -6,10 +6,8 @@
 import com.dy.common.webUtil.BaseResponseUtils;
 import com.dy.common.webUtil.QueryResultVo;
 import com.dy.pmsGlobal.aop.Log;
-import com.dy.pmsGlobal.pojoPlt.PltProductTestItems;
+import com.dy.pmsGlobal.pojoPlt.PltProductTestInspectionItems;
 import com.dy.pmsGlobal.pojoPlt.PltProductUnqualifiedReason;
-import com.dy.pmsPlatform.proTestItems.ProTestItemsSv;
-import com.dy.pmsPlatform.proTestItems.QueryVo;
 import jakarta.validation.Valid;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -38,7 +36,7 @@
     @PostMapping(path="save")
     @SsoPowerAop(power = "10300003")
     @Log("淇濆瓨浜у搧鍝佽川妫�鏌ラ」鐩俊鎭�")
-    public BaseResponse<Boolean> save(@RequestBody @Valid PltProductTestItems item){
+    public BaseResponse<Boolean> save(@RequestBody @Valid PltProductTestInspectionItems item){
         item.deleted = false;
         item.disabled = false;
         int count =sv.save(item);
@@ -58,7 +56,7 @@
     @PostMapping(path="update")
     @SsoPowerAop(power = "10300003")
     @Log("鏇存柊浜у搧鍝佽川妫�鏌ラ」鐩俊鎭�")
-    public BaseResponse<Boolean> update(@RequestBody @Valid PltProductTestItems item){
+    public BaseResponse<Boolean> update(@RequestBody @Valid PltProductTestInspectionItems item){
         int count = sv.update(item);
         if (count <= 0) {
             return BaseResponseUtils.buildFail("鏁版嵁搴撳瓨鍌ㄥけ璐�");
@@ -94,8 +92,8 @@
     @GetMapping(path="one")
     @SsoPowerAop(power = "10300002") //鐧诲綍涓庢潈闄愬悓鏃堕獙璇�
     @Log("鏍规嵁ID鏌ヨ浜у搧鍝佽川妫�鏌ラ」鐩俊鎭�")
-    public BaseResponse<PltProductTestItems> one(String id){
-        PltProductTestItems item=sv.selectById(id);
+    public BaseResponse<PltProductTestInspectionItems> one(String id){
+        PltProductTestInspectionItems item=sv.selectById(id);
         return BaseResponseUtils.buildSuccess(JSON.toJSON(item));
     }
 
@@ -107,8 +105,8 @@
     @PostMapping(path="some")
     @SsoPowerAop(power = "10300002")
     @Log("鏌ヨ浜у搧鍝佽川妫�鏌ラ」鐩俊鎭�")
-    public BaseResponse<QueryResultVo<List<PltProductTestItems>>> some(@RequestBody QueryVo vo){
-        QueryResultVo<List<PltProductTestItems>> list = sv.selectSome(vo) ;
+    public BaseResponse<QueryResultVo<List<PltProductTestInspectionItems>>> some(@RequestBody QueryVo vo){
+        QueryResultVo<List<PltProductTestInspectionItems>> list = sv.selectSome(vo) ;
         return BaseResponseUtils.buildSuccess(list);
     }
     /**

--
Gitblit v1.8.0