自动化立体仓库 - WMS系统
野心家
2025-03-20 e9648272bcaee5f64273aca8e41f830a3644628d
src/main/resources/mapper/LocMastMapper.xml
@@ -34,6 +34,8 @@
        <result column="mk" property="mk" />
        <result column="barcode" property="barcode" />
        <result column="ctn_no" property="ctnNo" />
        <result column="group1" property="group1" />
        <result column="loc_attribute" property="locAttribute" />
    </resultMap>
@@ -75,4 +77,15 @@
        )
        and (loc_sts = 'F' or loc_sts = 'D') and crn_no = #{crnNo}
    </select>
    <select id="querySame" resultMap="BaseResultMap">
    select l.* from asr_loc_mast l,asr_loc_detl d where 1=1
    and l.loc_no = d.loc_no
    and d.matnr = #{matnr}
    and l.lev1 = #{lev1}
    and l.loc_attribute = 1
    and l.loc_type1 = 1
    and l.loc_sts = 'F'
    </select>
</mapper>