This commit is contained in:
mrzhou 2024-08-21 22:42:13 +08:00
parent 25aa298311
commit 45662b4b00
2 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;
import java.util.List;
/**
@ -67,4 +68,9 @@ public class HitRegInfo extends BaseEntity
@TableField(exist = false)
private List<HitRegistrationTeachInfo> teacherInfoList;
/** 大赛时间 */
@Excel(name = "大赛时间")
private Date createTime;
}

View File

@ -38,6 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="sampleNumber != null and sampleNumber != ''"> and sample_number = #{sampleNumber}</if>
<if test="sampleAddress != null and sampleAddress != ''"> and sample_address = #{sampleAddress}</if>
<if test="uploadFile != null and uploadFile != ''"> and upload_file = #{uploadFile}</if>
<if test="createTime != null " > and create_time LIKE concat('%', date_format(#{createTime}, '%Y'), '%')</if>
</where>
order by audit_status asc,create_time desc
</select>