LiFei 5 лет назад
Родитель
Сommit
822226596a

+ 7 - 3
happy-cloud-wisdom/happy-cloud-wisdom-biz/src/main/java/org/jeecg/modules/hlwpayment/mapper/xml/HlwPaymentDetailMapper.xml

@@ -8,6 +8,7 @@
 		a.user_name AS "userName",
 		a.phone AS "phone",
 		a.idcard_number AS "idcardNumber",
+		a.order_id AS "orderId",
 		a.card_number AS "cardNumber",
 		a.bnkflg AS "bnkflg",
 		a.eacbnk AS "eacbnk",
@@ -89,7 +90,8 @@
 			status,
 			failure_reason,
 			is_supplement_payment,
-			duty_paid_id
+			duty_paid_id,
+			order_id
 		) VALUES (
 			#{paymentId},
 			#{userName},
@@ -116,7 +118,8 @@
 			#{status},
 			#{failureReason},
 			#{isSupplementPayment},
-			#{dutyPaidId}
+			#{dutyPaidId},
+			#{orderId}
 		)
 	</insert>
 
@@ -146,7 +149,8 @@
 			status = #{status},
 			failure_reason = #{failureReason},
 			is_supplement_payment = #{isSupplementPayment},
-			duty_paid_id = #{dutyPaidId}
+			duty_paid_id = #{dutyPaidId},
+			order_id = #{orderId}
 		WHERE id = #{id}
 	</update>
 

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

@@ -6,7 +6,6 @@
 		a.id AS "id",
 		a.application_id AS "applicationId",
 		a.company_id AS "companyId",
-		a.order_id AS "orderId",
 		a.subcontractor_id AS "subcontractorId",
 		a.payment_code AS "paymentCode",
 		a.payment AS "payment",
@@ -16,9 +15,6 @@
 		a.total_tax_fee AS "totalTaxFee",
 		a.payment_time AS "paymentTime",
 		a.is_through_platform AS "isThroughPlatform",
-		a.requirement_name AS "requirementName",
-		a.requirement_description AS "requirementDescription",
-		a.requirment_time AS "requirmentTime",
 		a.invoice_id AS "invoiceId",
 		a.sys_org_code AS "sysOrgCode",
 		a.status AS "status",
@@ -76,7 +72,6 @@
 		INSERT INTO hlw_payment(
 			application_id,
 			company_id,
-			order_id,
 			subcontractor_id,
 			payment_code,
 			payment,
@@ -86,9 +81,6 @@
 			total_tax_fee,
 			payment_time,
 			is_through_platform,
-			requirement_name,
-			requirement_description,
-			requirment_time,
 			invoice_id,
 			sys_org_code,
 			status,
@@ -99,7 +91,6 @@
 		) VALUES (
 			#{applicationId},
 			#{companyId},
-			#{orderId},
 			#{subcontractorId},
 			#{paymentCode},
 			#{payment},
@@ -109,9 +100,6 @@
 			#{totalTaxFee},
 			#{paymentTime},
 			#{isThroughPlatform},
-			#{requirementName},
-			#{requirementDescription},
-			#{requirmentTime},
 			#{invoiceId},
 			#{sysOrgCode},
 			#{status},
@@ -126,7 +114,6 @@
 		UPDATE hlw_payment SET
 			application_id = #{applicationId},
 			company_id = #{companyId},
-			order_id = #{orderId},
 			subcontractor_id = #{subcontractorId},
 			payment_code = #{paymentCode},
 			payment = #{payment},
@@ -136,9 +123,6 @@
 			total_tax_fee = #{totalTaxFee},
 			payment_time = #{paymentTime},
 			is_through_platform = #{isThroughPlatform},
-			requirement_name = #{requirementName},
-			requirement_description = #{requirementDescription},
-			requirment_time = #{requirmentTime},
 			invoice_id = #{invoiceId},
 			sys_org_code = #{sysOrgCode},
 			status = #{status},