Commit dce3acf136964097a2410d63a856a16ce0a4c88d
1 parent
0c1277f1
返回工单号模糊查询
Showing
1 changed file
with
4 additions
and
1 deletions
urbanops-module-workorder/src/main/java/com/zteits/urbanops/module/workorder/dal/mysql/maininfo/MainInfoMapper.java
| ... | ... | @@ -12,6 +12,9 @@ import com.zteits.urbanops.module.workorder.controller.admin.maininfo.vo.*; |
| 12 | 12 | import org.apache.poi.ss.formula.functions.T; |
| 13 | 13 | import org.springframework.util.StringUtils; |
| 14 | 14 | |
| 15 | +import java.util.Collection; | |
| 16 | +import java.util.List; | |
| 17 | + | |
| 15 | 18 | /** |
| 16 | 19 | * 工单信息 Mapper |
| 17 | 20 | * |
| ... | ... | @@ -39,7 +42,7 @@ public interface MainInfoMapper extends BaseMapperX<MainInfoDO> { |
| 39 | 42 | } |
| 40 | 43 | } |
| 41 | 44 | }); |
| 42 | - queryWrapper.eqIfPresent(MainInfoDO::getOrderNo, reqVO.getOrderNo()) | |
| 45 | + queryWrapper.likeIfPresent(MainInfoDO::getOrderNo, reqVO.getOrderNo()) | |
| 43 | 46 | .likeIfPresent(MainInfoDO::getOrderName, reqVO.getOrderName()) |
| 44 | 47 | |
| 45 | 48 | .eqIfPresent(MainInfoDO::getRootCauseBy, reqVO.getRootCauseBy()) | ... | ... |