exam-system/src/main/resources/mapper/pay/CoalPayStudentMapper.xml
@@ -76,6 +76,13 @@ </trim> where id = #{id} </update> <update id="updateByCoalPayId"> update coal_pay_student <trim prefix="SET" suffixOverrides=","> <if test="payType != null">pay_type = #{payType},</if> </trim> where coal_pay_id = #{coalPayId} and pay_status = 0 </update> <select id="selectByCoalPayId" resultType="com.gkhy.exam.pay.entity.CoalPayStudent"> <include refid="selectCoalPayStudentVo"></include>