From d6e936e3dcb645658fa7e0c3e02c1daa30bfeb68 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期二, 13 十月 2026 15:55:56 +0800
Subject: [PATCH] 上传命名规则调整
---
ruoyi-project/src/main/resources/mapper/project/ServiceExternalpersonMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceExternalpersonMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceExternalpersonMapper.xml
index 89a9c29..93c1a1e 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceExternalpersonMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceExternalpersonMapper.xml
@@ -43,7 +43,7 @@
service_externalperson.del_flag = 0
<if test="userno != null and userno != ''">and UserNo = #{userno}</if>
<if test="username != null and username != ''">and UserName like concat('%', #{username}, '%')</if>
- <if test="usertype != null and usertype != ''">and UserType = #{usertype}</if>
+ <if test="usertype != null and usertype != ''">and FIND_IN_SET(#{usertype}, UserType)</if>
<if test="sex != null and sex != ''">and Sex = #{sex}</if>
<if test="telephone != null and telephone != ''">and Telephone = #{telephone}</if>
<if test="address != null and address != ''">and Address = #{address}</if>
@@ -59,7 +59,7 @@
<select id="getAllpeople" resultType="com.ruoyi.project.domain.ServiceExternalperson">
<include refid="selectServiceExternalpersonVo"/>
- where service_externalperson.del_flag = 0 and UserType = #{usertype}
+ where service_externalperson.del_flag = 0 and FIND_IN_SET(#{usertype}, UserType)
</select>
<select id="getInfoByUserNo" resultType="com.ruoyi.project.domain.ServiceExternalperson">
<include refid="selectServiceExternalpersonVo"/>
--
Gitblit v1.9.3