Commit 10b85fb6 authored by 董天德's avatar 董天德

服务参数配置页面修改

parent b0b035ae
...@@ -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