From 7fe6d026bcc8f993ce76437d01607e591cc671fe Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期六, 25 十一月 2023 17:20:02 +0800 Subject: [PATCH] 重写课包支付和排课逻辑 --- cloud-server-account/src/main/resources/mapper/TStudentMapper.xml | 44 ++++++++++++++++++++++---------------------- 1 files changed, 22 insertions(+), 22 deletions(-) diff --git a/cloud-server-account/src/main/resources/mapper/TStudentMapper.xml b/cloud-server-account/src/main/resources/mapper/TStudentMapper.xml index f8b53aa..8b2cf72 100644 --- a/cloud-server-account/src/main/resources/mapper/TStudentMapper.xml +++ b/cloud-server-account/src/main/resources/mapper/TStudentMapper.xml @@ -4,21 +4,21 @@ <!-- 通用查询映射结果 --> <resultMap id="BaseResultMap" type="com.dsh.account.dto.TStudentDto"> - <id column="id" property="id" /> - <result column="appUserId" property="appUserId" /> - <result column="name" property="name" /> - <result column="phone" property="phone" /> - <result column="birthday" property="birthday" /> - <result column="sex" property="sex" /> - <result column="height" property="height" /> - <result column="weight" property="weight" /> - <result column="bmi" property="bmi" /> - <result column="idCard" property="idCard" /> - <result column="lateralSurface" property="lateralSurface" /> - <result column="state" property="state" /> - <result column="insertTime" property="insertTime" /> - <result column="headImg" property="headImg" /> - <result column="isDefault" property="isDefault" /> + <id column="id" property="id"/> + <result column="appUserId" property="appUserId"/> + <result column="name" property="name"/> + <result column="phone" property="phone"/> + <result column="birthday" property="birthday"/> + <result column="sex" property="sex"/> + <result column="height" property="height"/> + <result column="weight" property="weight"/> + <result column="bmi" property="bmi"/> + <result column="idCard" property="idCard"/> + <result column="lateralSurface" property="lateralSurface"/> + <result column="state" property="state"/> + <result column="insertTime" property="insertTime"/> + <result column="headImg" property="headImg"/> + <result column="isDefault" property="isDefault"/> </resultMap> <insert id="createHistory"> @@ -43,18 +43,19 @@ and o.city = #{item.city} </if> <if test="item.name != null and item.name != ''"> - and o.name LIKE CONCAT('%',#{item.name},'%') + and o.name LIKE CONCAT('%',#{item.name},'%') </if> <if test="item.userName != null and item.userName != ''"> - and o.userName LIKE CONCAT('%',#{item.userName},'%') + and o.userName LIKE CONCAT('%',#{item.userName},'%') </if> <if test="item.phone != null and item.phone != ''"> - and o.phone LIKE CONCAT('%',#{item.phone},'%') + and o.phone LIKE CONCAT('%',#{item.phone},'%') </if> <if test="item.ids != null and item.ids.size >0 "> - and o.appUserId in <foreach collection="item.ids" separator="," open="(" item="id" close=")"> - #{id} - </foreach> + and o.appUserId in + <foreach collection="item.ids" separator="," open="(" item="id" close=")"> + #{id} + </foreach> </if> </where> @@ -74,7 +75,6 @@ SELECT </select> - <select id="getGiftSelect" resultType="java.lang.Integer"> -- Gitblit v1.7.1