xiaoyong931011
2023-03-29 5cb35f00b996b09c749c909d54df45bf526645bc
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>