Commit c6fca7aa authored by 张永's avatar 张永

1

parent 0911a569
......@@ -91,7 +91,7 @@ public class CartServiceImpl implements CartService {
} else {
Integer nIdx = Util.objTo(list.get(0).get("nIdx"), Integer.class);
Double nQty = Util.objTo(list.get(0).get("nSaleQty"), Double.class);
jdbcTemplate.executeUpdate("update tCart set nSaleQty = " + (nSaleQty + nQty) + ", nSetPrice = ? where sOrgNO = ? and sShopNO = ? and nIdx = ?", nSetPrice, orgNo, shopNO, nIdx);
jdbcTemplate.executeUpdate("update tCart set nSaleQty = " + (nSaleQty + nQty) + ", nSetPrice = ? ,sSaleUnit = ? where sOrgNO = ? and sShopNO = ? and nIdx = ?", nSetPrice,sSaleUnit, orgNo, shopNO, nIdx);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment