From 72a6cb4a44abe356a444788ec92015c25766d9df Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 25 Aug 2021 14:58:24 +0800
Subject: [PATCH] add inviteUserQsOrderDetails.json
---
gc-user/src/main/resources/mapper/user/JhyInfoMapper.xml | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/gc-user/src/main/resources/mapper/user/JhyInfoMapper.xml b/gc-user/src/main/resources/mapper/user/JhyInfoMapper.xml
index 9c3171b..c94ed1e 100644
--- a/gc-user/src/main/resources/mapper/user/JhyInfoMapper.xml
+++ b/gc-user/src/main/resources/mapper/user/JhyInfoMapper.xml
@@ -19,19 +19,24 @@
</select>
<select id="selectJhyInfoList" resultType="com.xzx.gc.user.vo.JhyInfoListVo">
- select * from xzx_jhy_info
+ select *,CREATED_TIME createTime from xzx_jhy_info
<where>
1=1
<if test="record.name != null and record.name != ''">
- and (username like CONCAT(CONCAT(#{record.name}, '%'), '%') or phone=#{record.phone})
+ and (username like concat('%',#{record.name},'%')
+ or mobile like concat('%',#{record.name},'%') )
</if>
- <if test="record.isJhy != null and record.name != ''">
+ <if test="record.isJhy != null and record.isJhy != ''">
and is_jhy=#{record.isJhy}
</if>
<if test="record.status != null">
and status = #{record.status}
</if>
</where>
- order by id desc;
+ order by id desc
</select>
+
+ <delete id="deleteByUserId">
+ delete from xzx_jhy_info where user_id=#{userId}
+ </delete>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1