| | |
| | | order by s.create_time desc |
| | | </select> |
| | | |
| | | <select id="selectIdsByState" resultType="java.lang.Long"> |
| | | SELECT |
| | | a.id |
| | | FROM igt_on_hook_plan_order a |
| | | where a.state = #{state} |
| | | </select> |
| | | |
| | | <update id="updateByIds" parameterType="list"> |
| | | update igt_on_hook_plan_order |
| | | set |
| | | state = 2 |
| | | where 1=1 |
| | | <foreach collection="list" item="id"> |
| | | or id = #{id} |
| | | </foreach> |
| | | </update> |
| | | |
| | | <select id="findFlowListInPage" resultType="cc.mrbird.febs.dapp.entity.DappAccountMoneyChangeEntity"> |
| | | SELECT |
| | | a.*, |
| | | b.username username |
| | | FROM |
| | | dapp_account_money_change a |
| | | left join dapp_member b on a.member_id = b.id |
| | | where a.order_id = #{orderId} |
| | | order by a.create_time asc |
| | | </select> |
| | | |
| | | <update id="updatePlanOrder"> |
| | | update igt_on_hook_plan_order |
| | | set |
| | | state = 3 |
| | | where |
| | | state = 1 |
| | | </update> |
| | | |
| | | </mapper> |