fix: 完善、流程一票否决
This commit is contained in:
+7
@@ -138,4 +138,11 @@ public class EnterpriseStandardInspectVo {
|
||||
@ApiModelProperty(value = "ids 查询用")
|
||||
@TableField(exist = false)
|
||||
private String ids;
|
||||
|
||||
/**
|
||||
* 创建日期 查询用
|
||||
*/
|
||||
@ApiModelProperty(value = "创建日期 查询用")
|
||||
@TableField(exist = false)
|
||||
private String createDate;
|
||||
}
|
||||
|
||||
+7
@@ -228,6 +228,13 @@ public class EnterpriseStandardInspectServiceImpl extends ServiceImpl<Enterprise
|
||||
List<String> list = Arrays.asList(inspectStatus.split(","));
|
||||
queryWrapper.and(qw -> list.forEach(v -> qw.or(iqw -> iqw.eq("inspect_status", v))));
|
||||
}
|
||||
if (StringUtils.isNotBlank(enterpriseStandardInspectVo.getCreateDate())){
|
||||
String[] date = enterpriseStandardInspectVo.getCreateDate().split(",");
|
||||
queryWrapper.between("create_time", date[0], date[1]);
|
||||
}
|
||||
queryWrapper.eq(StringUtils.isNotBlank(enterpriseStandardInspectVo.getBelongDept()), "belong_dept", enterpriseStandardInspectVo.getBelongDept());
|
||||
queryWrapper.eq(StringUtils.isNotBlank(enterpriseStandardInspectVo.getInspectNo()), "inspect_no", enterpriseStandardInspectVo.getInspectNo());
|
||||
queryWrapper.eq(StringUtils.isNotBlank(enterpriseStandardInspectVo.getInspectName()), "inspect_name", enterpriseStandardInspectVo.getInspectName());
|
||||
queryWrapper.eq(StringUtils.isNotBlank(enterpriseStandardInspectVo.getInspectUser()), "inspect_user", enterpriseStandardInspectVo.getInspectUser());
|
||||
queryWrapper.orderByDesc("create_time");
|
||||
return queryWrapper;
|
||||
|
||||
Reference in New Issue
Block a user