|
|
|
@ -93,7 +93,8 @@ public class InstrumentServiceImpl extends ServiceImpl |
|
|
|
Yq existingRecord = existingRecordsInDb.stream() |
|
|
|
.filter(r -> r.getBh().equals(bh)) |
|
|
|
.findFirst() |
|
|
|
.orElse(null); // 理论上一定能找到,因为 existingBhSet.contains(bh) |
|
|
|
// 理论上一定能找到,因为 existingBhSet.contains(bh) |
|
|
|
.orElse(null); |
|
|
|
|
|
|
|
if (existingRecord != null) { |
|
|
|
// 补全 ID |
|
|
|
@ -156,6 +157,11 @@ public class InstrumentServiceImpl extends ServiceImpl |
|
|
|
|
|
|
|
sj.setWc(item.getStorageConditions()); |
|
|
|
sj.setRemark(item.getRemark()); |
|
|
|
if (item.getOperationSign()!=null){ |
|
|
|
sj.setDelFlag(item.getOperationSign()==3?"1":"0"); |
|
|
|
} |
|
|
|
|
|
|
|
sj.setRemark(item.getRemark()); |
|
|
|
|
|
|
|
yqList.add(sj); |
|
|
|
}); |
|
|
|
|