|
|
@@ -130,15 +130,11 @@ public class ZsReimbursementInfoService {
|
|
|
queryWrapper.or().apply("(b3.project_id = {0} OR p3.project_name LIKE {1})", dto.getProject(), "%" + dto.getProject() + "%");
|
|
|
queryWrapper.or().apply("(b4.project_id = {0} OR b4.project_name LIKE {1})", dto.getProject(), "%" + dto.getProject() + "%");
|
|
|
}
|
|
|
- // 报销时间
|
|
|
- if (dto.getDates() != null
|
|
|
- && dto.getDates().length == 2
|
|
|
- && dto.getDates()[0] != null
|
|
|
- && dto.getDates()[1] != null
|
|
|
- && !dto.getDates()[0].toString().isEmpty()
|
|
|
- && !dto.getDates()[1].toString().isEmpty()) {
|
|
|
-
|
|
|
- queryWrapper.between("a.reim_date", dto.getDates()[0], dto.getDates()[1]);
|
|
|
+
|
|
|
+ // 报销时间 - 根据综合管理部主任角色审核时间筛选
|
|
|
+ if (dto.getDates() != null && dto.getDates().length > 0) {
|
|
|
+ queryWrapper.apply("ht_role.end_time >= {0}", dto.getDates()[0] + " 00:00:00");
|
|
|
+ queryWrapper.apply("ht_role.end_time <= {0}", dto.getDates()[1] + " 23:59:59");
|
|
|
}
|
|
|
// 报销编号
|
|
|
if (com.jeeplus.utils.StringUtils.isNotEmpty(dto.getNo())) {
|