fix:多材料校验提交

dev
wangxy 12 months ago
parent 12ccac7031
commit 00be845212

@ -34,8 +34,8 @@ public class ApplyInfoListDTO extends BaseEntity {
/**
* 0 123退
*/
@NotNull(message = "申请状态不能为空")
private Integer applyStatus;
@NotBlank(message = "申请状态不能为空")
private String applyStatus;
/**
* id

@ -44,8 +44,9 @@
<if test="createBy != null and createBy != ''">
and t.create_by like concat('%',#{createBy},'%')
</if>
<if test="applyStatus != null">
and t.apply_status = #{applyStatus,jdbcType=INTEGER}
<if test="applyStatus != null and applyStatus != ''">
and apply_status in
<foreach item="item" index="index" collection="applyStatus.split(',')" open="(" separator="," close=")">'${item}'</foreach>
</if>
</trim>
order by t.update_time desc

Loading…
Cancel
Save