| | |
| | | <if test="batch != null and batch != ''"> |
| | | and a.batch like concat('%',#{batch},'%') |
| | | </if> |
| | | <if test="model != null and model != ''"> |
| | | and a.model like concat('%',#{model},'%') |
| | | </if> |
| | | <if test="matnr != null and matnr != ''"> |
| | | and a.matnr like concat('%',#{matnr},'%') |
| | | </if> |
| | |
| | | <include refid="batchSeq"></include> |
| | | </select> |
| | | |
| | | <select id="selectWrkDetlLogByOrderNoNotNull" resultMap="BaseResultMap"> |
| | | select top 1 * from asr_wrk_detl_log |
| | | where batch = #{batch} |
| | | and order_no is not null |
| | | and order_no != '' |
| | | order by io_time desc |
| | | </select> |
| | | |
| | | </mapper> |