@@ -1775,6 +1775,7 @@ public class SalesContractServiceImpl implements SalesContractService {
}
+
// 如果没有错误则插入所有记录 - 移到循环外部
if (!hasRCenterErrors && errors.stream().noneMatch(error -> error.contains("责任中心(Sheet4) 合同号 " + currentSono))) {
for (RCenterDtlExcelDTO rCenterDtlExcelDTO : currentRCenterDtlList) {