| | |
| | | </select> |
| | | <select id="transitPageList" resultType="com.sinata.system.domain.vo.MwTransitRecordVO"> |
| | | SELECT |
| | | MCR2.ID AS UNIQUE_ID, |
| | | MTR.ID, |
| | | MCR.CAR_ID, |
| | | MAX(SD.DEPARTMENT_NAME) AS DEPARTMENT_NAME, |
| | |
| | | <if test="query.status != null and (query.status == 3 or query.status == 4)"> |
| | | AND MCR.STATUS IN (3,4) |
| | | </if> |
| | | <if test="query.status != null"> |
| | | AND MCR.STATUS =#{query.status} |
| | | </if> |
| | | <if test="query.startTimeStart != null and query.startTimeEnd != null"> |
| | | AND MCR.BOX_TIME BETWEEN #{query.startTimeStart} AND #{query.startTimeEnd} |
| | | </if> |
| | |
| | | </select> |
| | | <select id="transitDetail" resultType="com.sinata.system.domain.vo.MwTransitRecordVO"> |
| | | SELECT |
| | | MCR2.ID AS UNIQUE_ID, |
| | | MTR.ID, |
| | | MCR.CAR_ID, |
| | | MAX(SD.DEPARTMENT_NAME) AS DEPARTMENT_NAME, |