fix: 企标临时授权记录授权到期日期筛选报错

This commit is contained in:
2023-12-14 10:26:13 +08:00
parent 596e686df7
commit 18f2c90ad1
2 changed files with 4 additions and 3 deletions
@@ -69,7 +69,8 @@
</if> </if>
<!--授权到期日期--> <!--授权到期日期-->
<if test="param.startAuthExpireDate != null and param.endAuthExpireDate != ''"> <if test="param.startAuthExpireDate != null and param.endAuthExpireDate != ''">
AND auth.auth_expire_date BETWEEN #{param.startAuthExpireDate} AND #{param.endAuthExpireDate} AND auth.auth_expire_date >= #{param.startAuthExpireDate}
AND auth.auth_expire_date &lt;= #{param.endAuthExpireDate}
</if> </if>
<!--授权部门--> <!--授权部门-->
<if test="param.authDeptList != null and param.authDeptList.size() > 0"> <if test="param.authDeptList != null and param.authDeptList.size() > 0">
@@ -42,13 +42,13 @@ public class TempAuthRecordQueryDto {
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd")
@ApiModelProperty(value = "授权到期日期开始时间") @ApiModelProperty(value = "授权到期日期开始时间")
private Date startAuthExpireDate; private String startAuthExpireDate;
/**授权到期日期*/ /**授权到期日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd")
@ApiModelProperty(value = "授权到期日期结束时间") @ApiModelProperty(value = "授权到期日期结束时间")
private Date endAuthExpireDate; private String endAuthExpireDate;
/**授权部门*/ /**授权部门*/
@Dict(dictTable = "sys_depart", dicCode = "id", dicText = "depart_name") @Dict(dictTable = "sys_depart", dicCode = "id", dicText = "depart_name")