Commit b0e98212 authored by 张永's avatar 张永

需求 #14400

parent dbba163f
...@@ -776,8 +776,8 @@ public class CartQueryServiceImpl implements CartQueryService { ...@@ -776,8 +776,8 @@ public class CartQueryServiceImpl implements CartQueryService {
/*需求 #14400*/ /*需求 #14400*/
int countCheckSql = 0; int countCheckSql = 0;
try { try {
String checkSql = "select 1 from tSalesOrder where sShopNO = ? and dOrderDate = convert(date,getdate()) and nOrderStatus&1=0"; String checkSql = "select count(1) from tSalesOrder where sShopNO = '"+shopNo+"' and dOrderDate = convert(date,getdate()) and nOrderStatus&1=0";
countCheckSql = jdbcTemplate.queryForInt(checkSql, shopNo); countCheckSql = jdbcTemplate.queryForInt(checkSql);
} catch (Exception e) { } catch (Exception e) {
} }
......
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