条码重复问题

dev
anthonywj 2 years ago
parent 26d1180d2e
commit 01af4444ca

@ -617,7 +617,7 @@ public class IoAddInoutService {
int count = 0; int count = 0;
if (filterList != null) { if (filterList != null) {
for (IoCodeTempEntity temp : filterList) { for (IoCodeTempEntity temp : filterList) {
if (temp.getCode().equals(codeEntity.getCode())) { if (temp.getCode().equals(codeEntity.getCode()) && StrUtil.trimToEmpty(temp.getSerialNo()).equals(StrUtil.trimToEmpty(codeEntity.getSerialNo()))) {
count = count + 1; count = count + 1;
} }
} }

Loading…
Cancel
Save