xiaoyong931011
2023-03-21 fc6131cec1b0c898c970b10596c0eb15eaba885e
src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -272,7 +272,7 @@
        SELECT a.id,d.code levelCode
        FROM mall_member a
                 LEFT JOIN data_dictionary_custom d on d.code = a.level
        where a.id = #{id} and d.type = 'AGENT_LEVEL'
        where a.id = #{id} and d.type = 'AGENT_LEVEL_REQUIRE'
        GROUP BY a.id
    </select>