diff --git a/stdiet-system/src/main/resources/mapper/system/SysUserMapper.xml b/stdiet-system/src/main/resources/mapper/system/SysUserMapper.xml index 688050c38..27d26aa21 100644 --- a/stdiet-system/src/main/resources/mapper/system/SysUserMapper.xml +++ b/stdiet-system/src/main/resources/mapper/system/SysUserMapper.xml @@ -104,7 +104,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ) AS up GROUP BY user_id ) AS ups USING(user_id) WHERE del_flag = '0' - AND user_name like concat('%', #{userName}, '%') + AND (user_name like concat('%', #{userName}, '%') OR nick_name like concat('%', #{userName}, '%')) AND status = #{status} diff --git a/stdiet-ui/src/components/PhysicalSignsDialog/index.vue b/stdiet-ui/src/components/PhysicalSignsDialog/index.vue index c1dee6968..20d16d686 100644 --- a/stdiet-ui/src/components/PhysicalSignsDialog/index.vue +++ b/stdiet-ui/src/components/PhysicalSignsDialog/index.vue @@ -3,7 +3,8 @@
- 修改信息 + 修改备注 + 修改信息 删除信息
@@ -14,6 +15,15 @@

{{titleArray[index]}}

+ + + + + + + +
@@ -59,7 +69,8 @@
- + + + +