xiaoyong931011
2023-04-01 073b22aa7ce09dbf3d479ec34ad63e2fa3a8421e
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>