| | |
| | | <include refid="batchSeq"></include> |
| | | </update> |
| | | |
| | | <select id="selectByOrderNo" resultMap="BaseResultMap"> |
| | | SELECT d.* |
| | | FROM asr_wrk_detl d |
| | | WHERE order_no = #{orderNo} |
| | | </select> |
| | | |
| | | <select id="selectAndLogByOrderNo" resultMap="BaseResultMap"> |
| | | SELECT |
| | | d.* |
| | |
| | | where 1=1 |
| | | and wrk_no = #{workNo} |
| | | </update> |
| | | <resultMap id="PickInMap" type="com.zy.asrs.entity.param.PickInParam"> |
| | | <result column="matnr" property="matnr" /> |
| | | <result column="maktx" property="maktx" /> |
| | | <result column="anfme" property="anfme" /> |
| | | <result column="wrk_no" property="workNo"/> |
| | | </resultMap> |
| | | <select id="selectDetByBarcode" resultMap="PickInMap"> |
| | | select matnr,maktx,anfme,wrk_no |
| | | from asr_wrk_detl |
| | | where zpallet = #{barcode} |
| | | </select> |
| | | |
| | | </mapper> |