测试修改
parent
ee1489fe2e
commit
32edbfce61
|
|
@ -462,21 +462,24 @@ public class OrderTempService extends BaseService {
|
|||
|
||||
String findSql = "";
|
||||
|
||||
System.out.println(customerId);
|
||||
System.out.println(supermarketId);
|
||||
if (supermarketId != null) {
|
||||
findSql = " AND SUPERMARKET_ID = ? \n";
|
||||
System.out.println(supermarketId);
|
||||
paraList.add(supermarketId);
|
||||
}
|
||||
if (customerId != null) {
|
||||
System.out.println(customerId);
|
||||
findSql = " AND CUSTOMER_ID = ? \n";
|
||||
paraList.add(customerId);
|
||||
}
|
||||
if (stm != null && etm != null) {
|
||||
System.out.println("stm:" + stm);
|
||||
System.out.println("etm:" + etm);
|
||||
findSql = " AND CREATE_TIME BETWEEN ? AND ? \n";
|
||||
paraList.add(stm + STM_SUFFIX);
|
||||
paraList.add(etm + ETM_SUFFIX);
|
||||
} else if (tm != null) {
|
||||
System.out.println("tm:" + tm);
|
||||
findSql = " AND CREATE_TIME BETWEEN ? AND ? \n";
|
||||
paraList.add(tm + STM_SUFFIX);
|
||||
paraList.add(tm + ETM_SUFFIX);
|
||||
|
|
|
|||
Loading…
Reference in New Issue