自动化立体仓库 - WMS系统
#
LSH
2024-03-12 eba05baa6102453d44fd3686a7146d4398180e96
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?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 &lt;= #{row}
        and e_row >= #{row}
        order by (e_row - s_row)
    </select>
 
</mapper>