| | |
| | | </sql> |
| | | |
| | | <select id="selectApplyRecordList" parameterType="ApplyRecord" resultMap="ApplyRecordResult"> |
| | | <include refid="selectApplyRecordVo"/> |
| | | <where> |
| | | <if test="startTime != null "> and start_time = #{startTime}</if> |
| | | <if test="endTime != null "> and end_time = #{endTime}</if> |
| | | </where> |
| | | select id, start_time, end_time, create_by, create_time, update_by, update_time from apply_record |
| | | order by create_time desc |
| | | </select> |
| | | |
| | | <select id="selectApplyRecordById" parameterType="Long" resultMap="ApplyRecordResult"> |