完善收支项目接口的重复提示

This commit is contained in:
jishenghua
2025-06-11 23:34:30 +08:00
parent 6d9bd40f65
commit e26e16d85b
3 changed files with 32 additions and 2 deletions

View File

@@ -94,8 +94,9 @@ public class InOutItemController extends BaseController {
}
@GetMapping(value = "/checkIsNameExist")
@ApiOperation(value = "检查名称是否存在")
public String checkIsNameExist(@RequestParam Long id, @RequestParam(value ="name", required = false) String name,
@ApiOperation(value = "检查名称是否存在-后续废弃")
public String checkIsNameExist(@RequestParam Long id,
@RequestParam(value ="name", required = false) String name,
HttpServletRequest request)throws Exception {
Map<String, Object> objectMap = new HashMap<>();
int exist = inOutItemService.checkIsNameExist(id, name);