|
@@ -21,13 +21,7 @@
|
|
</sql>
|
|
</sql>
|
|
<!--获取所有账户-->
|
|
<!--获取所有账户-->
|
|
<select id="getAllAccountId" resultType="String">
|
|
<select id="getAllAccountId" resultType="String">
|
|
- SELECT
|
|
|
|
- a.account_id
|
|
|
|
- FROM
|
|
|
|
- ctop_agent_account a
|
|
|
|
- LEFT JOIN ctop_user_allocation u ON a.account_id = u.account_id
|
|
|
|
- WHERE
|
|
|
|
- a.state = 0
|
|
|
|
|
|
+ select account_id from ctop_user_allocation where media_id in(1,3) and account_status = 0
|
|
</select>
|
|
</select>
|
|
<!-- 根据账户id修改账户状态-->
|
|
<!-- 根据账户id修改账户状态-->
|
|
<update id="updateAccountState">
|
|
<update id="updateAccountState">
|