|
|
|
@ -2220,7 +2220,7 @@ public class HeartService {
|
|
|
|
|
for (RelCodeBatch entity : spsSyncDrugDataTaskResponse.getRelCodeBatches()) {
|
|
|
|
|
entity.setUpdateTime(null);
|
|
|
|
|
}
|
|
|
|
|
boolean b = relCodeBatchMapper.replaceBatchs(spsSyncDrugDataTaskResponse.getRelCodeBatches());
|
|
|
|
|
boolean b = relCodeBatchMapper.insertBatch(spsSyncDrugDataTaskResponse.getRelCodeBatches());
|
|
|
|
|
}
|
|
|
|
|
if (CollectionUtil.isNotEmpty(spsSyncDrugDataTaskResponse.getRelCodeDetails())) {
|
|
|
|
|
boolean b = relCodeDetailMapper.replaceBatchs(spsSyncDrugDataTaskResponse.getRelCodeDetails());
|
|
|
|
|