数据回滚问题
This commit is contained in:
parent
df5d92ef99
commit
5a49a44693
|
|
@ -76,7 +76,7 @@ public class PurchaseMacodeInfoServiceImpl implements IPurchaseMacodeInfoService
|
|||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
@Transactional
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
public AjaxResult insertPurchaseMacodeInfo(List<PurchaseMacodeInfo> purchaseMacodeInfoList) throws Exception {
|
||||
boolean b = true;
|
||||
for (PurchaseMacodeInfo purchaseMacodeInfo : purchaseMacodeInfoList) {
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ public class RepairAuditDetailsServiceImpl implements IRepairAuditDetailsService
|
|||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
@Transactional
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
public int auditRepair(ScrapAudit scrapAudit) throws Exception {
|
||||
String checkResult = scrapAudit.getCheckResult();
|
||||
List<Long> taskIdList = scrapAudit.getTaskIdList();
|
||||
|
|
|
|||
Loading…
Reference in New Issue