Browse Source

Merge branch 'master' of http://git.ningdatech.com/liushuai/project-management into dev

tags/24080901
PoffyZhang 1 year ago
parent
commit
9aa0623798
2 changed files with 9 additions and 9 deletions
  1. +6
    -6
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/mapper/ProjectRenewalFundDeclarationMapper.xml
  2. +3
    -3
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/req/ProjectRenewalListReq.java

+ 6
- 6
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/mapper/ProjectRenewalFundDeclarationMapper.xml View File

@@ -26,8 +26,8 @@
<if test="param.projectType != null"> <if test="param.projectType != null">
and p.project_type = #{param.projectType} and p.project_type = #{param.projectType}
</if> </if>
<if test="param.projectYear != null">
and p.project_year = #{param.projectYear}
<if test="param.year != null">
and p.project_year = #{param.year}
</if> </if>
<if test="param.stage != null"> <if test="param.stage != null">
and p.stage = #{param.stage} and p.stage = #{param.stage}
@@ -35,11 +35,11 @@
<if test="param.status != null"> <if test="param.status != null">
and p.status = #{param.status} and p.status = #{param.status}
</if> </if>
<if test="param.createOnMin != null">
and p.create_on &gt;= #{param.createOnMin}
<if test="param.startTime != null">
and p.create_on &gt;= #{param.startTime}
</if> </if>
<if test="param.createOnMax != null">
and p.create_on &lt;= #{param.createOnMax}
<if test="param.endTime != null">
and p.create_on &lt;= #{param.endTime}
</if> </if>
</select> </select>
</mapper> </mapper>

+ 3
- 3
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/req/ProjectRenewalListReq.java View File

@@ -32,7 +32,7 @@ public class ProjectRenewalListReq extends PagePo {
private Integer projectType; private Integer projectType;


@ApiModelProperty("预算年度") @ApiModelProperty("预算年度")
private Integer projectYear;
private Integer year;


@ApiModelProperty("项目阶段") @ApiModelProperty("项目阶段")
private Integer stage; private Integer stage;
@@ -42,11 +42,11 @@ public class ProjectRenewalListReq extends PagePo {


@ApiModelProperty("创建时间") @ApiModelProperty("创建时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
private LocalDateTime createOnMin;
private LocalDateTime startTime;


@ApiModelProperty("创建时间") @ApiModelProperty("创建时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
private LocalDateTime createOnMax;
private LocalDateTime endTime;


@ApiModelProperty("用户ID") @ApiModelProperty("用户ID")
private Long userId; private Long userId;


Loading…
Cancel
Save