xiaoyong931011
2023-03-21 b3b3987e17a80b4fe6bc29f3835429058eb2e0fc
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>