zhangchao
2024-09-04 17e41c4b535eb30a4768c7d17b8707bad74bbb22
src/main/resources/mapper/LocMastMapper.xml
@@ -42,6 +42,9 @@
        from asr_loc_mast
        where row1=#{row}
        and loc_sts='O'
        <if test="bay != null and bay == 5">
            and bay1 = #{bay}
        </if>
        <if test="locType1 != null">
            and loc_type1 = #{locType1}
        </if>
@@ -51,6 +54,10 @@
        order by NEWID(),lev1 asc,bay1 asc
    </select>
    <select id="queryDemoSourceLoc" resultMap="BaseResultMap">
        select top 1 * from asr_loc_mast where crn_no = #{crnNo}
        and loc_sts='D'