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