wenhongquan 1 год назад
Родитель
Сommit
62c93efd34

+ 3 - 0
ruoyi-modules/ruoyi-dzbc/src/main/java/org/dromara/system/service/impl/TblDzbcOrderServiceImpl.java

@@ -125,6 +125,9 @@ 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()));
+        }
         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));