#
tqs
2023-02-02 58de9685304b936c32807b167af2271d987cc23d
src/main/resources/mapper/LocMastMapper.xml
@@ -50,7 +50,8 @@
    </select>
    <select id="queryDemoSourceLoc" resultMap="BaseResultMap">
        select top 1 * from asr_loc_mast where crn_no = #{crnNo} and (loc_sts='F' or loc_sts='D')
        select top 1 * from asr_loc_mast where crn_no = #{crnNo}
        and loc_sts='D'
        ORDER BY NEWID()
    </select>