1.修改项目查询功能中组织条件查询失败问题

This commit is contained in:
panbaolin 2024-10-29 13:54:42 +08:00
parent c5ac4f8869
commit 58de38d518
3 changed files with 12 additions and 1 deletions

View File

@ -32,5 +32,7 @@ public class BiddingProjectEntitySearchInputVo extends SearchInputVo {
private Integer taskStatus;
@ApiModelProperty("信息发布")
private String infoPublish;
@ApiModelProperty("组织形式")
private String organizationalForm;
}

View File

@ -83,6 +83,9 @@
<if test=" inputVo.taskStatus != null ">
and p.check_flag = #{inputVo.taskStatus}
</if>
<if test=" inputVo.organizationalForm != null ">
and p.organizational_form = #{inputVo.organizationalForm}
</if>
</where>
order by od desc,p.check_flag desc,p.create_time desc
</select>
@ -149,6 +152,9 @@
<if test=" inputVo.taskStatus != null ">
and p.check_flag = #{inputVo.taskStatus}
</if>
<if test=" inputVo.organizationalForm != null ">
and p.organizational_form = #{inputVo.organizationalForm}
</if>
</where>
order by od desc,p.check_flag desc,p.create_time desc
</select>
@ -215,6 +221,9 @@
<if test=" inputVo.taskStatus != null ">
and p.check_flag = #{inputVo.taskStatus}
</if>
<if test=" inputVo.organizationalForm != null ">
and p.organizational_form = #{inputVo.organizationalForm}
</if>
</where>
order by od desc,p.check_flag desc,p.create_time desc
</select>