dubin
2025-11-05 896f33f0f2db0798333f3298a7fa15e99691059c
src/main/resources/mapper/LocMastMapper.xml
@@ -55,7 +55,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_type2 =#{locType2}
        ORDER BY NEWID()
    </select>