Commit 84eb8a70 authored by 张永's avatar 张永

1

parent 3f7c8759
......@@ -225,9 +225,10 @@ public class CartServiceImpl implements CartService {
@Override
public void clear(String orgNo, String shopNo) {
jdbcTemplate.executeUpdate("EXEC up_RestorePromoGiftRec ?,? ",shopNo,"''");
jdbcTemplate.executeUpdate("delete from tCart where sOrgNO = ? and sShopNO = ?", orgNo, shopNo);
jdbcTemplate.executeUpdate("delete from tCartTempItem where sOrgNO = ? and sShopNO = ?", orgNo, shopNo);
jdbcTemplate.executeUpdate("EXEC up_RestorePromoGiftRec ?,? ",shopNo,"''");
}
}
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