feat: 企标单删接口

This commit is contained in:
2023-09-18 17:39:19 +08:00
parent 79328fae08
commit 99af43b42a
@@ -119,6 +119,16 @@ public class LawsEnterpriseController {
return Result.OK(lawsCommonService.deleteByIdsAndModule((String) parameterMap.get("ids"), MODULE_VALUE));
}
@AutoLog(value = "企业法规标准-列表删除")
@ApiOperation(value="企业法规标准-列表删除", notes="企业法规标准-列表删除")
@PostMapping(value = "singleDelete")
public Result<String> singleDelete(@RequestBody Map<String,Object> parameterMap) {
//删除标准时同步删除这个标准的收藏数据
lawsStandardCollectionService.deleteByStandardId((String) parameterMap.get("ids"));
lawsStandardSharingService.deleteByStandardId((String) parameterMap.get("ids"));
return Result.OK(lawsCommonService.deleteByIdsAndModule((String) parameterMap.get("ids"), MODULE_VALUE));
}
@AutoLog(value = "企业法规标准-配置标准")
@ApiOperation(value="企业法规标准-配置标准", notes="企业法规标准-配置标准")
@GetMapping(value = "relatedStandard")