|  |  | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     @PostMapping(path="save") | 
 |  |  |     @SsoPowerAop(power = "10300003") | 
 |  |  |     @SsoPowerAop(power = "10300013") | 
 |  |  |     @Log("保存产品测试检查项目信息") | 
 |  |  |     public BaseResponse<Boolean> save(@RequestBody @Valid PltProductTestInspectionItems item){ | 
 |  |  |         item.deleted = false; | 
 |  |  | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     @PostMapping(path="update") | 
 |  |  |     @SsoPowerAop(power = "10300003") | 
 |  |  |     @SsoPowerAop(power = "10300013") | 
 |  |  |     @Log("更新产品测试检查项目信息") | 
 |  |  |     public BaseResponse<Boolean> update(@RequestBody @Valid PltProductTestInspectionItems item){ | 
 |  |  |         int count = sv.update(item); | 
 |  |  | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     @GetMapping(path="delete") | 
 |  |  |     @SsoPowerAop(power = "10300003") | 
 |  |  |     @SsoPowerAop(power = "10300013") | 
 |  |  |     @Log("删除产品测试检查项目信息") | 
 |  |  |     public BaseResponse<Boolean> delete(String id){ | 
 |  |  |         int count = sv.delete(Long.parseLong(id)); | 
 |  |  | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     @GetMapping(path="one") | 
 |  |  |     @SsoPowerAop(power = "10300002") //登录与权限同时验证 | 
 |  |  |     @SsoPowerAop(power = "10300012") //登录与权限同时验证 | 
 |  |  |     @Log("根据ID查询产品测试检查项目信息") | 
 |  |  |     public BaseResponse<PltProductTestInspectionItems> one(String id){ | 
 |  |  |         PltProductTestInspectionItems item=sv.selectById(id); | 
 |  |  | 
 |  |  |      * @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) ; | 
 |  |  | 
 |  |  |      * @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); |