提交 7b0c3ca4 authored 作者: 刘海泉's avatar 刘海泉

修改货单取消变成已完结更新货单提取吨数为当前已拉运吨数

上级 197e48f8
...@@ -39,6 +39,7 @@ public interface OrderGoodsMapper extends BaseMapper<OrderGoods> { ...@@ -39,6 +39,7 @@ public interface OrderGoodsMapper extends BaseMapper<OrderGoods> {
@Update(" update order_goods set " + @Update(" update order_goods set " +
" already_transport_weight = already_transport_weight - #{residueWeight}," + " already_transport_weight = already_transport_weight - #{residueWeight}," +
" extract_weight = already_transport_weight - #{residueWeight}," +
"order_goods_status = #{orderGoodsStatus} " + "order_goods_status = #{orderGoodsStatus} " +
" where id = #{id}") " where id = #{id}")
void updateOrderGoodsWeightAlreadyAndStatus(@Param("id") Integer id, @Param("residueWeight") BigDecimal residueWeight, @Param("orderGoodsStatus") Integer orderGoodsStatus); void updateOrderGoodsWeightAlreadyAndStatus(@Param("id") Integer id, @Param("residueWeight") BigDecimal residueWeight, @Param("orderGoodsStatus") Integer orderGoodsStatus);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论