From d69ee0edbb5df260ac6b872357b88499d7914610 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期一, 30 十二月 2024 09:08:53 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/eyes --- manage/src/main/resources/mapping/TOptometristMapper.xml | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/manage/src/main/resources/mapping/TOptometristMapper.xml b/manage/src/main/resources/mapping/TOptometristMapper.xml index fdf7830..5ba7db0 100644 --- a/manage/src/main/resources/mapping/TOptometristMapper.xml +++ b/manage/src/main/resources/mapping/TOptometristMapper.xml @@ -41,7 +41,7 @@ and t2.id like concat('%',#{query.userId},'%') </if> <if test="query.realName != null and query.realName != ''"> - and t1.`name` like concat('%',#{query.realName},'%') + and t1.realName like concat('%',#{query.realName},'%') </if> <if test="query.phone != null and query.phone != ''"> and t1.phone like concat('%',#{query.phone},'%') @@ -52,12 +52,12 @@ <if test="query.optometristId != null and query.optometristId != ''"> and t1.optometristId = #{query.optometristId} </if> - <if test="req.startTime != null and req.startTime!=''"> - and (t1.createTime between #{req.startTime} and #{req.endTime}) + <if test="query.startTime != null and query.startTime!=''"> + and (t1.createTime between #{query.startTime} and #{query.endTime}) </if> - AND isDelete = ${@com.jilongda.common.enums.DisabledEnum@NO.getCode()} + AND t1.isDelete = ${@com.jilongda.common.enums.DisabledEnum@NO.getCode()} </where> - ORDER BY createTime DESC + ORDER BY t1.createTime DESC </select> <select id="pageList1" resultType="com.jilongda.manage.vo.TOptometristVO"> select <include refid="Base_Column_List"></include> -- Gitblit v1.7.1