| | |
| | | qw.eq(StringUtils.isNotBlank(bo.getFaultType()), "a,fault_type", bo.getFaultType()); |
| | | qw.in(params.containsKey("createBy"), "a.create_by", (List<Long>) params.get("createBy")); |
| | | Object status = params.get("status") == null ? "" : params.get("status"); |
| | | |
| | | if (params.get("searchValue") != null && StringUtils.isNotBlank(params.get("searchValue").toString())) { |
| | | qw.and( wq ->wq.like("b.equ_name", params.get("searchValue")) |
| | | .or().like("b.asset_no", params.get("searchValue")) |
| | | ); |
| | | } |
| | | String[] split = status.toString().split(","); |
| | | qw.in(params.containsKey("status"), "a.status", split); |
| | | qw.between(params.get("beginReqTime") != null && params.get("endReqTime") != null, |