添加各个接口
parent
518a584f1f
commit
5ff98a94f9
|
@ -364,7 +364,7 @@ public class SysUserController extends BaseController
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据用户编号查询余额
|
* 5.根据userId查询用户信息
|
||||||
* @param userId
|
* @param userId
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
@ -380,6 +380,8 @@ public class SysUserController extends BaseController
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***
|
/***
|
||||||
* 查询价格倒序的医生信息
|
* 查询价格倒序的医生信息
|
||||||
* @param registrationInformationId
|
* @param registrationInformationId
|
||||||
|
|
|
@ -15,11 +15,9 @@ spring:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 101.34.252.165:8848
|
server-addr: 101.34.252.165:8848
|
||||||
namespace: xiaoxu
|
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 101.34.252.165:8848
|
server-addr: 101.34.252.165:8848
|
||||||
namespace: xiaoxu
|
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
@ -162,10 +162,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
${params.dataScope}
|
${params.dataScope}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectUserById" parameterType="Long" resultMap="SysUserResult">
|
|
||||||
<include refid="selectUserVo"/>
|
|
||||||
where u.user_id = #{userId}
|
|
||||||
</select>
|
|
||||||
|
|
||||||
<select id="checkUserNameUnique" parameterType="String" resultMap="SysUserResult">
|
<select id="checkUserNameUnique" parameterType="String" resultMap="SysUserResult">
|
||||||
select user_id, user_name from sys_user where user_name = #{userName} and del_flag = '0' limit 1
|
select user_id, user_name from sys_user where user_name = #{userName} and del_flag = '0' limit 1
|
||||||
|
@ -291,6 +288,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
r.number_patients_served,
|
r.number_patients_served,
|
||||||
r.praise DESC
|
r.praise DESC
|
||||||
</select>
|
</select>
|
||||||
|
<select id="selectUserById" resultType="com.four.system.api.domain.SysUser">
|
||||||
|
<include refid="selectUserVo"/>
|
||||||
|
where u.user_id = #{userId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
|
||||||
<insert id="insertUser" parameterType="SysUser" useGeneratedKeys="true" keyProperty="userId">
|
<insert id="insertUser" parameterType="SysUser" useGeneratedKeys="true" keyProperty="userId">
|
||||||
|
|
Loading…
Reference in New Issue