|
@@ -458,10 +458,9 @@ public class PaperServiceImpl extends ServiceImpl<PaperDao, PaperEntity> impleme
|
|
|
}
|
|
|
|
|
|
}
|
|
|
- if (CollectionUtils.isNotEmpty(failRecords)) {
|
|
|
- return failRecords;
|
|
|
+ if (CollectionUtils.isEmpty(failRecords)) {
|
|
|
+ this.saveStruct(ret, user, failRecords);
|
|
|
}
|
|
|
- this.saveStruct(ret, user, failRecords);
|
|
|
if (CollectionUtils.isNotEmpty(failRecords)) {
|
|
|
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
|
}
|