【review】标准分享代码审核
This commit is contained in:
+2
@@ -238,6 +238,7 @@ public class LawsStandardSharingController extends JeroController<LawsStandardSh
|
||||
return Result.OK(MessageUtils.getMessage(ResultCommon.OK));
|
||||
}
|
||||
|
||||
// TODO 接口名字和方法名按照业务重新起一下。通过接口名称能看出该接口的作用,前端同步修改
|
||||
/**
|
||||
* 批量删除(已发分享)
|
||||
*/
|
||||
@@ -249,6 +250,7 @@ public class LawsStandardSharingController extends JeroController<LawsStandardSh
|
||||
return judge(map);
|
||||
}
|
||||
|
||||
// TODO 放到service里
|
||||
@NotNull
|
||||
private Result<T> judge(@RequestBody Map<String, String> map) {
|
||||
if (!map.containsKey("ids") || StringUtils.isEmpty(map.get("ids"))) {
|
||||
|
||||
Reference in New Issue
Block a user