|
@@ -428,10 +428,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="majorId != null and majorId != ''">
|
|
|
AND m.id = #{majorId}
|
|
|
</if>
|
|
|
- <if test="interfaceAccountId != null and interfaceAccountId != ''">
|
|
|
+ <if test="hasInterface != null and noInterfaceAccountId == 0">
|
|
|
+ AND cg.interface_account_id is null AND cg.no_interface_account_id is null
|
|
|
+ </if>
|
|
|
+ <if test="hasInterface != null and noInterfaceAccountId == 1">
|
|
|
AND cg.interface_account_id is not null
|
|
|
</if>
|
|
|
- <if test="noInterfaceAccountId != null and noInterfaceAccountId != ''">
|
|
|
+ <if test="hasInterface != null and noInterfaceAccountId == 2">
|
|
|
AND cg.no_interface_account_id is not null
|
|
|
</if>
|
|
|
order by user_info_status desc ,user_status desc ,cgu.id desc
|