PoffyZhang pirms 1 gada
vecāks
revīzija
9aa0623798
2 mainītis faili ar 9 papildinājumiem un 9 dzēšanām
  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 Parādīt failu

@@ -26,8 +26,8 @@
<if test="param.projectType != null">
and p.project_type = #{param.projectType}
</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 test="param.stage != null">
and p.stage = #{param.stage}
@@ -35,11 +35,11 @@
<if test="param.status != null">
and p.status = #{param.status}
</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 test="param.createOnMax != null">
and p.create_on &lt;= #{param.createOnMax}
<if test="param.endTime != null">
and p.create_on &lt;= #{param.endTime}
</if>
</select>
</mapper>

+ 3
- 3
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/req/ProjectRenewalListReq.java Parādīt failu

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

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

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

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

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

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


Notiek ielāde…
Atcelt
Saglabāt