fix(ic): 借料入库-其它入库批次号校验-优化
This commit is contained in:
parent
a94b6c7170
commit
fd4acfa697
|
@ -11,6 +11,7 @@ import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import nc.bs.ic.pub.env.ICBSContext;
|
import nc.bs.ic.pub.env.ICBSContext;
|
||||||
import nc.impl.pubapp.env.BSContext;
|
import nc.impl.pubapp.env.BSContext;
|
||||||
import nc.itf.ic.batch.IBatchCheck;
|
import nc.itf.ic.batch.IBatchCheck;
|
||||||
|
@ -265,7 +266,7 @@ public class BatchCheckImpl implements IBatchCheck {
|
||||||
} catch (BusinessException e) {
|
} catch (BusinessException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
if (!"".equals(typeCode) && typeCode.equals(head.getVtrantypecode())) {
|
if (typeCode != null && !"".equals(typeCode) && typeCode.equals(head.getVtrantypecode())) {
|
||||||
isBatchEmpty = false;
|
isBatchEmpty = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue