From 6f8ece5da1b0cb8d247a18dcc444d3ed43aad2c4 Mon Sep 17 00:00:00 2001 From: “djh” <“3298565835@qq.com”> Date: 星期二, 25 二月 2025 16:32:45 +0800 Subject: [PATCH] 煤矿缴费修改 --- exam-system/src/main/resources/mapper/pay/CoalPayMapper.xml | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/exam-system/src/main/resources/mapper/pay/CoalPayMapper.xml b/exam-system/src/main/resources/mapper/pay/CoalPayMapper.xml index bf3fbd5..02c758a 100644 --- a/exam-system/src/main/resources/mapper/pay/CoalPayMapper.xml +++ b/exam-system/src/main/resources/mapper/pay/CoalPayMapper.xml @@ -105,9 +105,7 @@ </trim> where id = #{id} </update> - - - <select id="selectCoalPayList" parameterType="CoalPay" resultMap="CoalPayResult"> + <select id="selectCoalPayList" resultType="com.gkhy.exam.pay.dto.rep.CoalPayRepDto"> <include refid="selectCoalPayVo"/> <where> <if test="deptId != null "> @@ -123,4 +121,22 @@ order by create_time desc </where> </select> + + + <!-- <select id="selectCoalPayList" parameterType="CoalPay">--> +<!-- <include refid="selectCoalPayVo"/>--> +<!-- <where>--> +<!-- <if test="deptId != null ">--> +<!-- and dept_id = #{deptId}--> +<!-- </if>--> +<!-- <if test="minDate !=null">--> +<!-- and create_time >= #{minDate}--> +<!-- </if>--> +<!-- <if test="maxDate != null">--> +<!-- and create_time <= #{maxDate}--> +<!-- </if>--> +<!-- and del_flag = 0--> +<!-- order by create_time desc--> +<!-- </where>--> +<!--<!– </select>–>--> </mapper> \ No newline at end of file -- Gitblit v1.9.2