1
zhang
2025-06-30 8d5c70aef9cbacbcc412d73c4b730e21f94e6514
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>