提交 10826549 作者: zhenjie

采购确认订单添加事务

上级 544b6a9d
...@@ -55,6 +55,7 @@ public class UavPOServiceImpl implements UavPOService { ...@@ -55,6 +55,7 @@ public class UavPOServiceImpl implements UavPOService {
@Autowired @Autowired
private UavOrderService uavOrderService; private UavOrderService uavOrderService;
@Transactional
@Override @Override
public ResultBody confirmPOrder(UavPOConfirmVO uavPOConfirmVO, BaseAccountDTO currentAccount) { public ResultBody confirmPOrder(UavPOConfirmVO uavPOConfirmVO, BaseAccountDTO currentAccount) {
UavPurchaseOrderDO uavPOrder = uavPODao.getUavPOrder(uavPOConfirmVO.getId()); UavPurchaseOrderDO uavPOrder = uavPODao.getUavPOrder(uavPOConfirmVO.getId());
......
...@@ -55,6 +55,9 @@ ...@@ -55,6 +55,9 @@
<if test="orderAmount != null"> <if test="orderAmount != null">
order_amount = #{orderAmount}, order_amount = #{orderAmount},
</if> </if>
<if test="sellerRemark != null">
seller_remark = #{sellerRemark},
</if>
<if test="userRemark != null"> <if test="userRemark != null">
user_remark = #{userRemark} user_remark = #{userRemark}
</if> </if>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论