hsh 2 년 전
부모
커밋
ff0546ab86
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/cn/hnthyy/thmz/service/impl/his/yp/YpBaseYfServiceImpl.java

+ 1 - 1
src/main/java/cn/hnthyy/thmz/service/impl/his/yp/YpBaseYfServiceImpl.java

@@ -79,7 +79,7 @@ public class YpBaseYfServiceImpl implements YpBaseYfService {
     @Override
     public int saveYpBaseYf(List<YpOutDetlVo> ypOutDetlVos, User user) throws MzException {
         int acceptSign = ypOutDetlMapper.selectAcceptSign(ypOutDetlVos.get(0).getDrawNo(), ypOutDetlVos.get(0).getGroupNoOut());
-        if(acceptSign == 1){
+        if(acceptSign >= 1){
             throw new MzException("重复入库!");
         }
         int num = 0;