| | |
| | | <result column="create_by" property="createBy" /> |
| | | <result column="create_time" property="createTime" /> |
| | | <result column="update_by" property="updateBy" /> |
| | | <result column="update_time" property="modiTime" /> |
| | | <result column="modi_time" property="modiTime" /> |
| | | <result column="memo" property="memo" /> |
| | | |
| | | </resultMap> |
| | |
| | | WHERE 1=1 |
| | | <include refid="locDetlCondition2"></include> |
| | | </select> |
| | | <select id="getViewLocBays" resultType="com.zy.asrs.entity.ViewLocMapDto"> |
| | | select |
| | | uuid as locNo, |
| | | SUBSTRING(uuid, 4, 2) as bay1, |
| | | CASE |
| | | WHEN barcode = '' THEN 'O' |
| | | ELSE 'F' |
| | | END AS locSts |
| | | from |
| | | man_node |
| | | where |
| | | level = 3 |
| | | and parent_name = #{row} + '排' |
| | | and SUBSTRING(uuid, 7, 1) = #{lev} |
| | | </select> |
| | | <select id="selectLocDetlByLocNo" resultType="com.zy.asrs.entity.LocDetl"> |
| | | select |
| | | loc_no as locNo, |
| | | matnr, |
| | | maktx, |
| | | doc_num as orderNo, |
| | | specs, |
| | | zpallet, |
| | | batch, |
| | | anfme, |
| | | unit |
| | | from |
| | | man_loc_detl |
| | | where |
| | | loc_no = #{locNo} |
| | | </select> |
| | | |
| | | |
| | | <update id="updateLocNo0"> |