<?xml version="1.0" encoding="UTF-8" ?>
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
<mapper namespace="com.iailab.module.model.mcs.sche.dao.StAdjustResultDao">
|
<select id="getPage" resultType="com.iailab.module.model.mcs.sche.vo.StAdjustResultRespVO">
|
SELECT t1.*,t2.result_name outputName
|
FROM t_st_adjust_result t1,t_mm_item_output t2
|
<where>
|
and t1.output_id = t2.id
|
<if test="params.configId != null and params.configId != ''">
|
and t1.config_id = #{params.configId}
|
</if>
|
<if test="params.startTime != null">
|
and t1.adjust_time >= #{params.startTime}
|
</if>
|
<if test="params.endTime != null">
|
and t1.adjust_time <= #{params.endTime}
|
</if>
|
</where>
|
ORDER BY t1.adjust_time desc
|
</select>
|
</mapper>
|