投诉建议

This commit is contained in:
sxu 2025-05-19 14:37:22 +08:00
parent ca34461e7f
commit 950c43f055
2 changed files with 10 additions and 1 deletions

View File

@ -72,6 +72,12 @@ public class AllocCanteenSuggestion extends BaseEntity {
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private Long replyState;
@ApiModelProperty("开始时间")
private String startTime;
@ApiModelProperty("结束时间")
private String endTime;
public String getComplaintPicture() {
return FileUrlUtil.getFileUrl(this.complaintPicture);
}

View File

@ -34,7 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<if test="complaintId != null "> and acs.complaint_id = #{complaintId}</if>
<if test="userId != null "> and acs.user_id = #{userId}</if>
<if test="content != null and content != ''"> and acs.content = #{content}</if>
<if test="content != null and content != ''"> and acs.content like concat('%', #{content}, '%')</if>
<if test="canteenId != null "> and acs.canteen_id = #{canteenId}</if>
<if test="complaintPicture != null and complaintPicture != ''"> and acs.complaint_picture = #{complaintPicture}</if>
<if test="sourceType != null "> and acs.source_type = #{sourceType}</if>
@ -42,6 +42,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="replyContent != null and replyContent != ''"> and acs.reply_content = #{replyContent}</if>
<if test="revision != null "> and acs.revision = #{revision}</if>
<if test="replyState != null "> and acs.reply_state = #{replyState}</if>
<if test="startTime!=null and startTime!='' and endTime!=null and endTime!=''">
and acs.create_time BETWEEN CONCAT(#{startTime}, ' 00:00:00') AND CONCAT(#{endTime},' 23:59:59')
</if>
</where>
</select>