Commit 312549fe authored by 张永's avatar 张永

1

parent 219fd446
......@@ -45,6 +45,10 @@ public class CartQueryServiceImpl implements CartQueryService {
public Map<String, Object> query(String orgNo, String shopNo, String terminal,String isCalcPromo) {
Rjx rjx = Rjx.json().set("IsValid", true);
jdbcTemplate.executeUpdate("EXEC up_RestorePromoGiftRec ?,? ",shopNo,"''");
if (!StringUtil.isNotUndefinedAndNull(shopNo, terminal)) {
throw new ReflectException("Query the shopping cart parameter error:"
+ Rjx.json().set("terminal", terminal).set("shopNo", shopNo).jsonValue());
......@@ -56,7 +60,6 @@ public class CartQueryServiceImpl implements CartQueryService {
Object MinOrderAmount = ""; //需求 #15175
try {
jdbcTemplate.executeUpdate("EXEC up_RestorePromoGiftRec ?,? ",shopNo,"''");
String sql = "exec up_B2BGetSumCart '" + shopNo + "', "+isCalcPromo+" ";
List<List<Map<String, Object>>> cartList = jdbcTemplate.executeMutil(sql).getDatas();
......
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