Merge branch 'dev' of http://47.97.8.94:19527/yj/zn-cloud into dev-考勤

This commit is contained in:
aikai 2024-04-18 09:40:20 +08:00
commit 03e7fdad43
3 changed files with 6 additions and 6 deletions

View File

@ -19,8 +19,8 @@ public class NeedWriteHistoryDTO {
private Integer type;
@Schema(description = "开始时间 格式yyyy-MM-dd")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = TIME_ZONE_DEFAULT)
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
@JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY, timezone = TIME_ZONE_DEFAULT)
private Date beginTime;
@Schema(description = "结束时间 格式yyyy-MM-dd")

View File

@ -39,6 +39,6 @@ public class LogInstancePageReqVO extends PageParam {
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime[] createTime;
@Schema(description = "未读", example = "0")
private Integer unRead;
@Schema(description = "已读、读 | 0未读、1", example = "0")
private Integer readStatus;
}

View File

@ -115,8 +115,8 @@
and a.create_time <= #{reqVO.createTime[1]}
</if>
</if>
<if test="reqVO.unRead != null">
and e.read_status = 0
<if test="reqVO.readStatus != null">
and e.read_status = #{reqVO.readStatus}
</if>
<if test="pagingType == 0">
and a.start_user_id != #{userId}