|
|
@@ -125,9 +125,14 @@ public class TblDzbcOrderServiceImpl implements ITblDzbcOrderService {
|
|
|
if(params==null||params.get("orderByTime") == null){
|
|
|
lqw.orderBy(true, false,TblDzbcOrder::getCreateTime);
|
|
|
}
|
|
|
- if(params==null||params.get("mdate") == null){
|
|
|
- lqw.ge(params.get("mdate")!=null, TblDzbcOrder::getCreateTime, (params.get("mdate").toString()));
|
|
|
+ try{
|
|
|
+ if(params!=null&¶ms.containsKey("mdate")){
|
|
|
+ lqw.ge(params.get("mdate")!=null, TblDzbcOrder::getCreateTime, params.get("mdate").toString());
|
|
|
+ }
|
|
|
+ } catch (Exception e) {
|
|
|
+
|
|
|
}
|
|
|
+
|
|
|
if(params!=null && params.containsKey("kyzId")){
|
|
|
String datasql = "( select id from tbl_dzbc_car where kyz_id = "+bo.getParams().get("kyzId").toString()+")";
|
|
|
lqw.apply(StringUtils.format(" scheduling_id in {}", datasql));
|