|
@@ -663,6 +663,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<when test=" sort == '2'.toString() ">
|
|
|
ORDER BY t1.col_no + 0,t1.location_no
|
|
|
</when >
|
|
|
+ <when test=" sort == '3'.toString() ">
|
|
|
+ ORDER BY t1.col_no + 0,t1.col_index,t1.row_no + 0,t1.row_index,t1.shift_no + 0,t1.shift_index
|
|
|
+ </when >
|
|
|
<otherwise>
|
|
|
ORDER BY ${sort}
|
|
|
</otherwise>
|
|
@@ -700,4 +703,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</where>
|
|
|
|
|
|
</select>
|
|
|
+ <select id="selectLocationByAddress" resultType="BaseLocationInfo" resultMap="BaseLocationInfoResult">
|
|
|
+ <include refid="selectBaseLocationInfoVo"/>
|
|
|
+ where
|
|
|
+ zone_id = #{zoneId}
|
|
|
+ and shift_no = #{shiftNo}
|
|
|
+ and row_no = #{rowNo}
|
|
|
+ and col_no = #{colNo}
|
|
|
+ </select>
|
|
|
</mapper>
|