From 4b6e55140537e4932f4ea46f6c62c72af1ddb40e Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期一, 07 八月 2023 16:38:01 +0800 Subject: [PATCH] 加上日志 --- ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml index c708c95..a065947 100644 --- a/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml +++ b/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml @@ -4,7 +4,7 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.ruoyi.project.mapper.ServiceDonatebaseinfoMapper"> - <resultMap type="ServiceDonatebaseinfo" id="ServiceDonatebaseinfoResult"> + <resultMap type="com.ruoyi.project.domain.ServiceDonatebaseinfo" id="ServiceDonatebaseinfoResult"> <result property="id" column="ID" /> <result property="name" column="Name" /> <result property="sex" column="Sex" /> @@ -87,6 +87,9 @@ <result property="infophone" column="infoPhone" /> <result property="deptid" column="deptid" /> <result property="deptname" column="deptname" /> + <result property="leaderno" column="leaderno" /> + <result property="leadername" column="leadername" /> + <result property="businessarea" column="businessarea" /> </resultMap> @@ -99,7 +102,7 @@ where ID = #{id} </update> - <select id="selectServiceDonatebaseinfoList" parameterType="ServiceDonatebaseinfo" resultMap="ServiceDonatebaseinfoResult"> + <select id="selectServiceDonatebaseinfoList" parameterType="com.ruoyi.project.domain.ServiceDonatebaseinfo" resultMap="ServiceDonatebaseinfoResult"> <include refid="selectServiceDonatebaseinfoVo"/> <where> service_donatebaseinfo.del_flag = 0 @@ -180,6 +183,9 @@ <if test="city != null and city != ''"> and `base_organization`.`City` = #{city}</if> <if test="deptid != null "> and deptid = #{deptid}</if> <if test="deptname != null "> and deptname = #{deptname}</if> + <if test="leaderno != null "> and leaderno = #{leaderno}</if> + <if test="leadername != null "> and leadername = #{leadername}</if> + <if test="businessarea != null "> and businessarea = #{businessarea}</if> </where> order by ReportTime desc -- Gitblit v1.9.3