<?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.zy.asrs.mapper.RowLastnoMapper">
|
|
<!-- 通用查询映射结果 -->
|
<resultMap id="BaseResultMap" type="com.zy.asrs.entity.RowLastno">
|
<id column="whs_type" property="whsType" />
|
<result column="wrk_mk" property="wrkMk" />
|
<result column="current_row" property="currentRow" />
|
<result column="s_row" property="sRow" />
|
<result column="e_row" property="eRow" />
|
<result column="crn_qty" property="crnQty" />
|
<result column="memo" property="memo" />
|
<result column="modi_user" property="modiUser" />
|
<result column="modi_time" property="modiTime" />
|
<result column="appe_user" property="appeUser" />
|
<result column="appe_time" property="appeTime" />
|
<result column="limint_loc" property="limintLoc" />
|
<result column="s_crn_no" property="sCrnNo" />
|
<result column="e_crn_no" property="eCrnNo" />
|
<result column="sign_type" property="signType" />
|
<result column="sign_type_other" property="signTypeOther" />
|
<result column="sign_type_other_boolean" property="signTypeOtherBoolean" />
|
<result column="sta_no_list" property="staNoList" />
|
|
</resultMap>
|
|
<select id="findBySection" resultMap="BaseResultMap">
|
select * from asr_row_lastno
|
where 1=1
|
and s_row <= #{row}
|
and e_row >= #{row}
|
order by (e_row - s_row)
|
</select>
|
|
</mapper>
|