【review】代码审查

This commit is contained in:
zer0Black
2022-04-15 22:52:22 +08:00
parent c2a5e4cf69
commit 74a2d8eb18
@@ -119,7 +119,7 @@ public class OnlCgformAreaController extends JeroController<OnlCgformArea, IOnlC
@PutMapping(value = "/edit") @PutMapping(value = "/edit")
@RequiresPermissions("area:edit") @RequiresPermissions("area:edit")
public Result<?> edit(@Validated @RequestBody OnlCgformArea onlCgformArea) { public Result<?> edit(@Validated @RequestBody OnlCgformArea onlCgformArea) {
// TODO 编辑的时候不考虑ID?现在还能编辑成功? // TODO 编辑的时候不考虑ID?不试试现在还能编辑成功?
int count=onlCgformAreaService.queryExitAreaName(onlCgformArea); int count=onlCgformAreaService.queryExitAreaName(onlCgformArea);
if (count > 0) { if (count > 0) {
//中英切换提示语 //中英切换提示语