pang.jiabao
2025-05-13 0069b25d77cf2dd36b030fa4c86d4f3738f552e8
src/main/resources/mapper/LocMastMapper.xml
@@ -34,6 +34,7 @@
        <result column="mk" property="mk" />
        <result column="barcode" property="barcode" />
        <result column="ctn_no" property="ctnNo" />
        <result column="status" property="status" />
    </resultMap>
@@ -59,4 +60,12 @@
        ORDER BY NEWID()
    </select>
    <select id="selectByLocNo" resultMap="BaseResultMap">
        select * from asr_loc_mast
        where loc_no = #{locNo}
    </select>
    <select id="selectLocByLev" resultMap="BaseResultMap">
        SELECT * FROM asr_loc_mast WHERE lev1 = #{lev}
    </select>
</mapper>