@ -842,8 +842,15 @@
</select>
<select id="findClientAprrovingStatus" resultType="com.alibaba.fastjson.JSONObject">
SELECT * FROM sys_client_upay_profile scup
WHERE scup.client_id=#{client_id} and ((scup.upay_approve_result=4 and scup.upay_open_status is null) or scup.upay_open_status=1 or scup.upay_open_status=2 or scup.upay_open_status=4)
SELECT
*
FROM
sys_client_upay_profile scup
WHERE
scup.client_id = #{client_id}
AND (
scup.upay_approve_result = 1
OR scup.upay_open_status = 5)
<select id="listUseAlipayMerchant" resultType="int">
select client_id