Commit a5bb8016 authored by zhangwanglin's avatar zhangwanglin

Merge remote-tracking branch 'origin/master' into dev-20230128

parents 9b736296 10b85fb6
...@@ -61,7 +61,8 @@ public class NursingServiceItemsController { ...@@ -61,7 +61,8 @@ public class NursingServiceItemsController {
@RequestMapping("/organProjectConfig") @RequestMapping("/organProjectConfig")
public Result<Object> organProjectConfig(ChSrvOrganProject project) { public Result<Object> organProjectConfig(ChSrvOrganProject project) {
//参数校验 //参数校验
if (project.getSrvOrganId() == null || StrUtil.isBlank(project.getItemName()) || StrUtil.isBlank(project.getServiceContent()) || project.getCategoryType() == null || project.getItemPrice() == null) { //project.getSrvOrganId() == null || || project.getItemPrice() == null
if (StrUtil.isBlank(project.getItemName()) || StrUtil.isBlank(project.getServiceContent()) || project.getCategoryType() == null ) {
return Result.failed(ResultCode.REQUEST_PARAM_ERROR); return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
} }
nursingServiceItemsService.organProjectConfig(project); nursingServiceItemsService.organProjectConfig(project);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment