|
@@ -325,10 +325,7 @@ public class TWarehouseAgreementServiceImpl implements ITWarehouseAgreementServi
|
|
|
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
|
return AjaxResult.error("更新协议明细状态失败,请联系管理员");
|
|
|
}
|
|
|
- TWarehouseAgreementitems tWarehouseAgreementitems = new TWarehouseAgreementitems();
|
|
|
- tWarehouseAgreementitems.setfId(fPid);
|
|
|
- tWarehouseAgreementitems.setfStatus(String.valueOf(fettle));
|
|
|
- int itemUpdateResult = tWarehouseAgreementitemsMapper.updateTWarehouseAgreementitems(tWarehouseAgreementitems);
|
|
|
+ int itemUpdateResult = tWarehouseAgreementitemsMapper.agreementitemsFollowUpdate(fPid,fettle);
|
|
|
if (itemUpdateResult <= 0) {
|
|
|
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
|
return AjaxResult.error("更新协议明细状态失败,请联系管理员");
|