|
@@ -71,7 +71,7 @@
|
|
GROUP BY ks_id,account_name, collaborator) tt
|
|
GROUP BY ks_id,account_name, collaborator) tt
|
|
GROUP BY ksId ,accountName
|
|
GROUP BY ksId ,accountName
|
|
) t2 ON t2.accountName = t1.account_name AND t2.ksId = t1.ks_id
|
|
) t2 ON t2.accountName = t1.account_name AND t2.ksId = t1.ks_id
|
|
- <where>
|
|
|
|
|
|
+ where account_type in ('cljn','cljnydd' ,'cp')
|
|
<if test="ksId != null ">and ks_id = #{ksId}</if>
|
|
<if test="ksId != null ">and ks_id = #{ksId}</if>
|
|
<if test="ksName != null and ksName != ''">and ks_name like concat('%', #{ksName}, '%')</if>
|
|
<if test="ksName != null and ksName != ''">and ks_name like concat('%', #{ksName}, '%')</if>
|
|
<if test="accountId != null ">and account_id = #{accountId}</if>
|
|
<if test="accountId != null ">and account_id = #{accountId}</if>
|
|
@@ -90,7 +90,7 @@
|
|
</if>
|
|
</if>
|
|
<if test="designerLeader != null and designerLeader != ''">and designer_leader = #{designerLeader}</if>
|
|
<if test="designerLeader != null and designerLeader != ''">and designer_leader = #{designerLeader}</if>
|
|
<if test="createrId != null and createrId != ''">and creater_id = #{createrId}</if>
|
|
<if test="createrId != null and createrId != ''">and creater_id = #{createrId}</if>
|
|
- </where>
|
|
|
|
|
|
+
|
|
ORDER BY create_time desc
|
|
ORDER BY create_time desc
|
|
</select>
|
|
</select>
|
|
|
|
|