update 汇付

This commit is contained in:
jsowell
2026-05-29 13:33:16 +08:00
parent 6f659783b5
commit 9e1c7ac606
16 changed files with 207 additions and 21 deletions

View File

@@ -441,6 +441,9 @@
<result column="update_time" property="updateTime" />
<result column="update_by" property="updateBy" />
<result column="del_flag" property="delFlag" />
<result column="audit_state" property="auditState" />
<result column="audit_desc" property="auditDesc" />
<result column="last_order_no" property="lastOrderNo" />
</resultMap>
<select id="selectAdapayMemberAccountList" parameterType="com.jsowell.pile.domain.AdapayMemberAccount" resultMap="AdapayMemberAccountResult">

View File

@@ -789,4 +789,12 @@
where del_flag = '0'
and withdraw_code = #{withdrawCode,jdbcType=VARCHAR}
</select>
</mapper>
<select id="countBlockingByMerchantId" resultType="int">
select count(1)
from clearing_bill_info
where del_flag = '0'
and merchant_id = #{merchantId,jdbcType=VARCHAR}
and bill_status in ('0', '1', '3', '5')
</select>
</mapper>

View File

@@ -574,4 +574,12 @@
and withdraw_status = '1'
and merchant_id = #{merchantId,jdbcType=VARCHAR}
</select>
</mapper>
<select id="countProcessingByMerchantId" resultType="int">
select count(1)
from clearing_withdraw_info
where del_flag = '0'
and withdraw_status = '0'
and merchant_id = #{merchantId,jdbcType=VARCHAR}
</select>
</mapper>

View File

@@ -393,4 +393,12 @@
and order_time between #{startTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR}
order by order_time
</select>
<select id="countUnsplitByMerchantId" resultType="int">
select count(1)
from order_unsplit_record t1
join order_basic_info t2 on t2.order_code = t1.order_code and t2.del_flag = '0'
where t1.status = 'unsplit'
and t2.merchant_id = #{merchantId,jdbcType=VARCHAR}
</select>
</mapper>