From 0d05424b5df05f2e6ef478934cdaad9c71e5d91d Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期三, 18 九月 2024 09:34:56 +0800 Subject: [PATCH] product name and type --- pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proTestItems/ProTestItemsCtrl.java | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 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 21aa27d..e5f2720 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 @@ -29,13 +29,13 @@ } /** - * 淇濆瓨浜у搧鍝佽川妫�鏌ラ」鐩� + * 淇濆瓨浜у搧娴嬭瘯妫�鏌ラ」鐩� * @param item * @return */ @PostMapping(path="save") - @SsoPowerAop(power = "10300003") - @Log("淇濆瓨浜у搧鍝佽川妫�鏌ラ」鐩俊鎭�") + @SsoPowerAop(power = "10300013") + @Log("淇濆瓨浜у搧娴嬭瘯妫�鏌ラ」鐩俊鎭�") public BaseResponse<Boolean> save(@RequestBody @Valid PltProductTestInspectionItems item){ item.deleted = false; item.disabled = false; @@ -49,13 +49,13 @@ /** - * 鏇存柊浜у搧鍝佽川妫�鏌ラ」鐩俊鎭� + * 鏇存柊浜у搧娴嬭瘯妫�鏌ラ」鐩俊鎭� * @param item * @return */ @PostMapping(path="update") - @SsoPowerAop(power = "10300003") - @Log("鏇存柊浜у搧鍝佽川妫�鏌ラ」鐩俊鎭�") + @SsoPowerAop(power = "10300013") + @Log("鏇存柊浜у搧娴嬭瘯妫�鏌ラ」鐩俊鎭�") public BaseResponse<Boolean> update(@RequestBody @Valid PltProductTestInspectionItems item){ int count = sv.update(item); if (count <= 0) { @@ -66,13 +66,13 @@ } /** - * 鍒犻櫎浜у搧鍝佽川妫�鏌ラ」鐩俊鎭� + * 鍒犻櫎浜у搧娴嬭瘯妫�鏌ラ」鐩俊鎭� * @param id * @return */ @GetMapping(path="delete") - @SsoPowerAop(power = "10300003") - @Log("鍒犻櫎浜у搧鍝佽川妫�鏌ラ」鐩俊鎭�") + @SsoPowerAop(power = "10300013") + @Log("鍒犻櫎浜у搧娴嬭瘯妫�鏌ラ」鐩俊鎭�") public BaseResponse<Boolean> delete(String id){ int count = sv.delete(Long.parseLong(id)); @@ -86,25 +86,25 @@ /** - * 鏍规嵁ID鏌ヨ浜у搧鍝佽川妫�鏌ラ」鐩俊鎭� + * 鏍规嵁ID鏌ヨ浜у搧娴嬭瘯妫�鏌ラ」鐩俊鎭� * @return */ @GetMapping(path="one") - @SsoPowerAop(power = "10300002") //鐧诲綍涓庢潈闄愬悓鏃堕獙璇� - @Log("鏍规嵁ID鏌ヨ浜у搧鍝佽川妫�鏌ラ」鐩俊鎭�") + @SsoPowerAop(power = "10300012") //鐧诲綍涓庢潈闄愬悓鏃堕獙璇� + @Log("鏍规嵁ID鏌ヨ浜у搧娴嬭瘯妫�鏌ラ」鐩俊鎭�") public BaseResponse<PltProductTestInspectionItems> one(String id){ PltProductTestInspectionItems item=sv.selectById(id); return BaseResponseUtils.buildSuccess(JSON.toJSON(item)); } /** - * 鏌ヨ浜у搧鍝佽川妫�鏌ラ」鐩俊鎭� + * 鏌ヨ浜у搧娴嬭瘯妫�鏌ラ」鐩俊鎭� * @param vo * @return */ @PostMapping(path="some") - @SsoPowerAop(power = "10300002") - @Log("鏌ヨ浜у搧鍝佽川妫�鏌ラ」鐩俊鎭�") + @SsoPowerAop(power = "10300012") + @Log("鏌ヨ浜у搧娴嬭瘯妫�鏌ラ」鐩俊鎭�") public BaseResponse<QueryResultVo<List<PltProductTestInspectionItems>>> some(@RequestBody QueryVo vo){ QueryResultVo<List<PltProductTestInspectionItems>> list = sv.selectSome(vo) ; return BaseResponseUtils.buildSuccess(list); @@ -115,9 +115,9 @@ * @return */ @PostMapping(path="disabled") - @SsoPowerAop(power = "10100011") - @Log("绂佺敤鎴栧惎鐢ㄨ川妫�椤圭洰") - public BaseResponse<Boolean> disabled(@RequestBody PltProductUnqualifiedReason reason){ + @SsoPowerAop(power = "10300013") + @Log("绂佺敤鎴栧惎鐢ㄦ祴璇曢」鐩�") + public BaseResponse<Boolean> disabled(@RequestBody PltProductTestInspectionItems reason){ int count = sv.disabled(reason.id,reason.disabled); if (count <= 0) { -- Gitblit v1.8.0