Commit 131e5ab3 by lal Committed by chenzg

提交

parent effa3d72
...@@ -37,8 +37,8 @@ public class MySummaryQueryDto extends Page{ ...@@ -37,8 +37,8 @@ public class MySummaryQueryDto extends Page{
private String endTime; private String endTime;
@NotNull(message = ValidationMsg.NOTNULL) @NotNull(message = ValidationMsg.NOTNULL)
@DecimalMax(value = "2",message = ValidationMsg.DECIMALMAX+" 只能为 0我发起的 1抄送我的 2我审批的") @DecimalMax(value = "3",message = ValidationMsg.DECIMALMAX+" 只能为 0我发起的 1抄送我的 2我审批的 3全部")
@DecimalMin(value = "0",message = ValidationMsg.DECIMALMIN+" 只能为 0我发起的 1抄送我的 2我审批的") @DecimalMin(value = "0",message = ValidationMsg.DECIMALMIN+" 只能为 0我发起的 1抄送我的 2我审批的 3全部")
@ApiModelProperty(value = "0我发起的 1抄送我的 2我审批的", example = "0") @ApiModelProperty(value = "0我发起的 1抄送我的 2我审批的", example = "0")
private Integer type; private Integer type;
......
...@@ -151,7 +151,12 @@ ...@@ -151,7 +151,12 @@
WHERE WHERE
emp_num = #{param.empNum}) emp_num = #{param.empNum})
<if test="param.type == 3">
and type in (0,1,2)
</if>
<if test="param.type != 3">
and type = #{param.type} and type = #{param.type}
</if>
) )
</if> </if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment