Fancy
2024-09-18 0d05424b5df05f2e6ef478934cdaad9c71e5d91d
pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proTestItems/ProTestItemsCtrl.java
@@ -34,7 +34,7 @@
     * @return
     */
    @PostMapping(path="save")
    @SsoPowerAop(power = "10300003")
    @SsoPowerAop(power = "10300013")
    @Log("保存产品测试检查项目信息")
    public BaseResponse<Boolean> save(@RequestBody @Valid PltProductTestInspectionItems item){
        item.deleted = false;
@@ -54,7 +54,7 @@
     * @return
     */
    @PostMapping(path="update")
    @SsoPowerAop(power = "10300003")
    @SsoPowerAop(power = "10300013")
    @Log("更新产品测试检查项目信息")
    public BaseResponse<Boolean> update(@RequestBody @Valid PltProductTestInspectionItems item){
        int count = sv.update(item);
@@ -71,7 +71,7 @@
     * @return
     */
    @GetMapping(path="delete")
    @SsoPowerAop(power = "10300003")
    @SsoPowerAop(power = "10300013")
    @Log("删除产品测试检查项目信息")
    public BaseResponse<Boolean> delete(String id){
        int count = sv.delete(Long.parseLong(id));
@@ -90,7 +90,7 @@
     * @return
     */
    @GetMapping(path="one")
    @SsoPowerAop(power = "10300002") //登录与权限同时验证
    @SsoPowerAop(power = "10300012") //登录与权限同时验证
    @Log("根据ID查询产品测试检查项目信息")
    public BaseResponse<PltProductTestInspectionItems> one(String id){
        PltProductTestInspectionItems item=sv.selectById(id);
@@ -103,7 +103,7 @@
     * @return
     */
    @PostMapping(path="some")
    @SsoPowerAop(power = "10300002")
    @SsoPowerAop(power = "10300012")
    @Log("查询产品测试检查项目信息")
    public BaseResponse<QueryResultVo<List<PltProductTestInspectionItems>>> some(@RequestBody QueryVo vo){
        QueryResultVo<List<PltProductTestInspectionItems>> list = sv.selectSome(vo) ;
@@ -115,7 +115,7 @@
     * @return
     */
    @PostMapping(path="disabled")
    @SsoPowerAop(power = "10100011")
    @SsoPowerAop(power = "10300013")
    @Log("禁用或启用测试项目")
    public BaseResponse<Boolean> disabled(@RequestBody PltProductTestInspectionItems reason){
        int count = sv.disabled(reason.id,reason.disabled);