|
|
|
@ -137,6 +137,9 @@ public class SafetyToolTypeServiceImpl extends ServiceImpl<SafetyToolTypeMapper,
|
|
|
|
|
if (StringUtil.isNotBlank(req.getEndSendTime())) { |
|
|
|
|
le("send_time", req.getEndSendTime()); |
|
|
|
|
} |
|
|
|
|
if (StringUtil.isNotBlank(req.getDeptId())) { |
|
|
|
|
eq("dept_id", req.getDeptId()); |
|
|
|
|
} |
|
|
|
|
}}; |
|
|
|
|
IPage<SafetyToolTypeEntity> safetyToolTypePages = super.page(Condition.getPage(query), queryWrapper); |
|
|
|
|
IPage<SafetyToolTypeVO> pages = new Page<>(); |
|
|
|
@ -171,6 +174,9 @@ public class SafetyToolTypeServiceImpl extends ServiceImpl<SafetyToolTypeMapper,
|
|
|
|
|
if (StringUtil.isNotBlank(param.getEndSendTime())) { |
|
|
|
|
le("send_time", param.getEndSendTime()); |
|
|
|
|
} |
|
|
|
|
if (StringUtil.isNotBlank(param.getDeptId())) { |
|
|
|
|
eq("dept_id", param.getDeptId()); |
|
|
|
|
} |
|
|
|
|
}}; |
|
|
|
|
List<SafetyToolTypeEntity> types = this.list(queryWrapper); |
|
|
|
|
if(CollectionUtil.isEmpty(types)){ |
|
|
|
|