business/src/main/java/com/ycl/domain/query/ProjectInfoQuery.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
business/src/main/resources/mapper/ProjectInfoMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
business/src/main/java/com/ycl/domain/query/ProjectInfoQuery.java
@@ -46,19 +46,29 @@ private String investType; //行政区划 private String area; @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date projectStartTime; @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date projectEndTime; //从有没有流程判断是存储还是早期 private String reserveOrPrevious; private Integer role;// 业主:0,审核:1 //查询条件业主单位 private Long projectOwnerUnit; private Integer usedStatus; //查询条件主管部门 private Long competentDepartment; @ApiModelProperty("项目码") private String coding; @ApiModelProperty("是否是异常项目查询:0 不是 1是") private Integer exe; business/src/main/resources/mapper/ProjectInfoMapper.xml
@@ -116,6 +116,9 @@ LEFT JOIN sys_dept d ON d.dept_id = TPI.project_owner_unit <where> TPI.deleted = 0 <if test="query.coding !=null and query.coding!=''"> and TPI.coding = #{query.coding} </if> <if test="query.projectName !=null and query.projectName!=''"> and TPI.project_name like concat('%',#{query.projectName},'%') </if>