fix: 87481 企业标准-删除提示没有权限
This commit is contained in:
-5
@@ -165,11 +165,6 @@ public class LawsEnterpriseController {
|
||||
@ApiOperationSupport(order = 8)
|
||||
@RequiresPermissions("enterpriseStandard:batchDel")
|
||||
public Result<String> deleteByIdsAndModule(@RequestBody Map<String, Object> parameterMap) {
|
||||
// 如果是企标的话 校验删除的ids是否有权限
|
||||
boolean auth = esAuthUserService.verifyESDeleteAuth((String) parameterMap.get("ids"), UserUtils.getUserId());
|
||||
if (!auth) {
|
||||
throw new JeroBootException(MessageUtils.getMessage(ResultCommon.NO_AUTH));
|
||||
}
|
||||
// 检查是否在企标更改流程中,如果在流程中则不允许删除
|
||||
// esChangeService.delCheck((String) parameterMap.get("ids"));
|
||||
//删除标准时同步删除这个标准的收藏数据
|
||||
|
||||
Reference in New Issue
Block a user