提交 1b506fab authored 作者: huyufan's avatar huyufan

修改BUG

上级 19f5f03c
...@@ -177,7 +177,7 @@ public class OrderGoodsSqlProvider { ...@@ -177,7 +177,7 @@ public class OrderGoodsSqlProvider {
public String updateOrderGoodsSetAlreadyWeight(@Param(value = "alreadyWeight") BigDecimal alreadyWeight,@Param(value ="id") Integer id){ public String updateOrderGoodsSetAlreadyWeight(@Param(value = "alreadyWeight") BigDecimal alreadyWeight,@Param(value ="id") Integer id){
String sql = new SQL() {{ String sql = new SQL() {{
UPDATE("order_goods") UPDATE("order_goods")
.SET("already_transport_weight = already_transport_weight - #{residueWeight}") .SET("already_transport_weight = already_transport_weight - #{alreadyWeight}")
.WHERE("id = #{id}"); .WHERE("id = #{id}");
}}.toString(); }}.toString();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论