zhou zhou
2025-12-23 f6ccffb2c8f4a5be8b4a887c6f0926f67053e504
src/main/resources/mapper/LocMastMapper.xml
@@ -53,7 +53,7 @@
        from asr_loc_mast
        where row1=#{row}
        and loc_sts='O'
        and row1 != #{row}
        and bay1 != #{bay}
        <if test="locType1 != null">
            and loc_type1 = #{locType1}
        </if>
@@ -67,7 +67,7 @@
    </select>
    <select id="queryDemoLoc" resultMap="BaseResultMap">
        select top 1 * from asr_loc_mast where crn_no = #{crnNo} and loc_sts = 'O'
        select top 1 * from asr_loc_mast where crn_no = #{crnNo} and loc_sts = 'O' and loc_type1 = #{locType1}
        ORDER BY NEWID()
    </select>