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

@ -28,7 +28,7 @@ import java.util.*;
public class CheckProjectController { public class CheckProjectController {
private final ICheckProjectService service; private final ICheckProjectService service;
@PostMapping("/checkNameUnique") @PostMapping("/checkNameUnique")
@ApiOperation("检查标书名称是否存在") @ApiOperation("检查标书名称是否存在")
@AutoLog(value = "检查标书名称是否存在", operationType = OperationTypeEnum.SELECT, module = "招标项目管理") @AutoLog(value = "检查标书名称是否存在", operationType = OperationTypeEnum.SELECT, module = "招标项目管理")

View File

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

View File

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