【review】代码审查
This commit is contained in:
+1
-1
@@ -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) {
|
||||||
//中英切换提示语
|
//中英切换提示语
|
||||||
|
|||||||
Reference in New Issue
Block a user