|
@@ -42,10 +42,10 @@ public class OrderServiceImpl implements IOrderService {
|
|
|
condition += "and delivery_cycle = " + order.getDeliveryCycle();
|
|
|
}
|
|
|
if (!ObjectUtils.isEmpty(order.getStartTime())) {
|
|
|
- condition += "and start_time >= " + order.getStartTime();
|
|
|
+ condition += "and start_time >= '" + order.getStartTime() + "'";
|
|
|
}
|
|
|
if (!ObjectUtils.isEmpty(order.getEndTime())) {
|
|
|
- condition += "and end_time <= " + order.getEndTime();
|
|
|
+ condition += "and end_time <= '" + order.getEndTime() + "'";
|
|
|
}
|
|
|
Integer count = 0;
|
|
|
try {
|