自动化立体仓库 - WMS系统
lty
2025-06-11 ddc462832f99c124fbcc9653a0878e18768224cd
src/main/resources/mapper/LocDetlMapper.xml
@@ -326,5 +326,20 @@
        where loc_no=#{locNo}
    </select>
    <update id="updateMatTurn">
        UPDATE a
        SET a.matnr=b.matnr,
            a.specs=b.specs,
            a.maktx=b.maktx,
            a.unit=b.unit
        FROM asr_loc_detl a
        INNER JOIN man_mat b ON a.matnr=#{matnrOld} AND b.matnr=#{matnr};
    </update>
    <select id="selectLocDetl" resultMap="BaseResultMap">
        select *
        from asr_loc_detl
        where loc_no=#{locNo}
    </select>
</mapper>