Commit c47c2842f4d8a37412428db5c1c3b817453bf092

Authored by qiaoyuewang
1 parent 35e39e22fc
Exists in dev

4:判断建当时,档案号是否重复

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java View file @ c47c284
... ... @@ -301,7 +301,7 @@
301 301 br.setErrormsg("该高危专案档案号已存在");
302 302 return br;
303 303 }
304   - if(StringUtils.isNotEmpty(patients.get(0).getFileCode())){
  304 + if(patients.get(0).getFileCode()!=null && !(patients.get(0).getFileCode().length() >0)){
305 305 br.setErrorcode(ErrorCodeConstants.DATA_EXIST);
306 306 br.setErrormsg("该档案号已存在");
307 307 return br;