dubin
2 天以前 ccc39836716ba323c946cddc78a62049731ebb46
src/main/resources/mapper/LocMastMapper.xml
@@ -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>