فهرست منبع

合作商户页面查询

LiFei 5 سال پیش
والد
کامیت
1d8b6e1516

+ 4 - 4
happy-cloud-wisdom/happy-cloud-wisdom-biz/src/main/java/org/jeecg/modules/hlwpayment/mapper/xml/HlwPaymentMapper.xml

@@ -164,7 +164,7 @@
 			and (a.status = 2 or a.status = 3)
 			and (a.status = 2 or a.status = 3)
 			and is_through_platform=0
 			and is_through_platform=0
 			<if test="hlwPayment.subcontractorId != null and hlwPayment.subcontractorId !=''">
 			<if test="hlwPayment.subcontractorId != null and hlwPayment.subcontractorId !=''">
-				and hp.subcontractor_id = #{hlwPayment.subcontractorId}
+				and a.subcontractor_id = #{hlwPayment.subcontractorId}
 			</if>
 			</if>
 			<if test="hlwPayment.paymentResultTime_begin != null and hlwPayment.paymentResultTime_begin !=''">
 			<if test="hlwPayment.paymentResultTime_begin != null and hlwPayment.paymentResultTime_begin !=''">
 				and hp.payment_result_time between #{hlwPayment.paymentResultTime_begin} and #{hlwPayment.paymentResultTime_end}
 				and hp.payment_result_time between #{hlwPayment.paymentResultTime_begin} and #{hlwPayment.paymentResultTime_end}
@@ -195,7 +195,7 @@
 			and (a.status = 2 or a.status = 3)
 			and (a.status = 2 or a.status = 3)
 			and a.is_through_platform=1
 			and a.is_through_platform=1
 			<if test="hlwPayment.subcontractorId != null and hlwPayment.subcontractorId !=''">
 			<if test="hlwPayment.subcontractorId != null and hlwPayment.subcontractorId !=''">
-				and hp.subcontractor_id = #{hlwPayment.subcontractorId}
+				and a.subcontractor_id = #{hlwPayment.subcontractorId}
 			</if>
 			</if>
 			<if test="hlwPayment.paymentResultTime_begin != null and hlwPayment.paymentResultTime_begin !=''">
 			<if test="hlwPayment.paymentResultTime_begin != null and hlwPayment.paymentResultTime_begin !=''">
 				and hp.payment_result_time between #{hlwPayment.paymentResultTime_begin} and #{hlwPayment.paymentResultTime_end}
 				and hp.payment_result_time between #{hlwPayment.paymentResultTime_begin} and #{hlwPayment.paymentResultTime_end}
@@ -245,7 +245,7 @@
 			and (a.status = 2 or a.status = 3)
 			and (a.status = 2 or a.status = 3)
 			and is_through_platform=0
 			and is_through_platform=0
 			<if test="hlwPayment.subcontractorId != null and hlwPayment.subcontractorId !=''">
 			<if test="hlwPayment.subcontractorId != null and hlwPayment.subcontractorId !=''">
-				and hp.subcontractor_id = #{hlwPayment.subcontractorId}
+				and a.subcontractor_id = #{hlwPayment.subcontractorId}
 			</if>
 			</if>
 			<if test="hlwPayment.paymentResultTime_begin != null and hlwPayment.paymentResultTime_begin !=''">
 			<if test="hlwPayment.paymentResultTime_begin != null and hlwPayment.paymentResultTime_begin !=''">
 				and hp.payment_result_time between #{hlwPayment.paymentResultTime_begin} and #{hlwPayment.paymentResultTime_end}
 				and hp.payment_result_time between #{hlwPayment.paymentResultTime_begin} and #{hlwPayment.paymentResultTime_end}
@@ -276,7 +276,7 @@
 			and (a.status = 2 or a.status = 3)
 			and (a.status = 2 or a.status = 3)
 			and a.is_through_platform=1
 			and a.is_through_platform=1
 			<if test="hlwPayment.subcontractorId != null and hlwPayment.subcontractorId !=''">
 			<if test="hlwPayment.subcontractorId != null and hlwPayment.subcontractorId !=''">
-				and hp.subcontractor_id = #{hlwPayment.subcontractorId}
+				and a.subcontractor_id = #{hlwPayment.subcontractorId}
 			</if>
 			</if>
 			<if test="hlwPayment.paymentResultTime_begin != null and hlwPayment.paymentResultTime_begin !=''">
 			<if test="hlwPayment.paymentResultTime_begin != null and hlwPayment.paymentResultTime_begin !=''">
 				and hp.payment_result_time between #{hlwPayment.paymentResultTime_begin} and #{hlwPayment.paymentResultTime_end}
 				and hp.payment_result_time between #{hlwPayment.paymentResultTime_begin} and #{hlwPayment.paymentResultTime_end}