xiaoyong931011
2023-03-24 971f739f9ee5fb868d72f9a85d65e9f0791d5032
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>