From f5e3323be3ce83280c48cd1856bea88c6aed8ffa Mon Sep 17 00:00:00 2001 From: “djh” <“3298565835@qq.com”> Date: 星期四, 06 三月 2025 13:40:47 +0800 Subject: [PATCH] 统计修改 --- exam-system/src/main/resources/mapper/pay/NonCoalPayStudentMapper.xml | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/exam-system/src/main/resources/mapper/pay/NonCoalPayStudentMapper.xml b/exam-system/src/main/resources/mapper/pay/NonCoalPayStudentMapper.xml index b15f948..0d3131c 100644 --- a/exam-system/src/main/resources/mapper/pay/NonCoalPayStudentMapper.xml +++ b/exam-system/src/main/resources/mapper/pay/NonCoalPayStudentMapper.xml @@ -24,6 +24,7 @@ <result property="fileData" column="file_data"/> <result property="payTime" column="pay_time"/> <result property="govPayStatus" column="gov_pay_status"/> + <result property="train" column="train"/> </resultMap> <sql id="selectNonCoalPayStudentVo"> @@ -45,7 +46,8 @@ order_id, file_data, pay_time, - gov_pay_status + gov_pay_status, + train from non_coal_pay_student </sql> @@ -83,6 +85,7 @@ <if test="payCode != null">pay_code,</if> <if test="payType != null">pay_type,</if> <if test="orderNo != null and orderNo != '' ">order_no,</if> + <if test="train != null and train != '' ">train,</if> <if test="payStatus != null">pay_status,</if> <if test="updateBy != null">update_by,</if> <if test="updateTime != null">update_time,</if> @@ -101,6 +104,7 @@ <if test="payCode != null">#{payCode},</if> <if test="payType != null">#{payType},</if> <if test="orderNo != null and orderNo != '' ">#{orderNo},</if> + <if test="train != null and train != '' ">#{train},</if> <if test="payStatus != null">#{payStatus},</if> <if test="updateBy != null">#{updateBy},</if> <if test="updateTime != null">#{updateTime},</if> @@ -113,6 +117,7 @@ <update id="updateNonCoalPayStudentType"> update non_coal_pay_student set pay_type = 2, + gov_pay_status = #{status}, update_by = #{updateBy} where non_coal_pay_id = #{id} and pay_status = 0 @@ -126,7 +131,8 @@ <if test="phone != null and phone != ''">phone = #{phone},</if> <if test="sex != null">sex = #{sex},</if> <if test="orderNo != null and orderNo != ''">order_no = #{orderNo},</if> - <if test="orderId != null and orderId != ''">order_id = #{orderId},</if> + <if test="orderNo != null and orderNo != ''">order_no = #{orderNo},</if> + <if test="train != null and train != ''">train = #{train},</if> <if test="govPayStatus!=null">gov_pay_status=#{govPayStatus},</if> <if test="fileData != null and fileData != ''">file_data = #{fileData},</if> <if test="payTime != null">pay_time = #{payTime},</if> -- Gitblit v1.9.2