添加医生详情信息
parent
3c218af00d
commit
02df3cb67b
|
@ -2,6 +2,7 @@
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="CompilerConfiguration">
|
<component name="CompilerConfiguration">
|
||||||
<annotationProcessing>
|
<annotationProcessing>
|
||||||
|
<profile default="true" name="Default" enabled="true" />
|
||||||
<profile name="Maven default annotation processors profile" enabled="true">
|
<profile name="Maven default annotation processors profile" enabled="true">
|
||||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||||
|
|
|
@ -48,13 +48,11 @@ public interface RemoteUserService
|
||||||
public R<LoginUser> getUserInfo(@PathVariable("userName") String userName, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
public R<LoginUser> getUserInfo(@PathVariable("userName") String userName, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||||
|
|
||||||
|
|
||||||
|
/***
|
||||||
/**
|
|
||||||
* 注册用户信息
|
* 注册用户信息
|
||||||
*
|
* @param sysUser
|
||||||
* @param sysUser 用户信息
|
* @param source
|
||||||
* @param source 请求来源
|
* @return
|
||||||
* @return 结果
|
|
||||||
*/
|
*/
|
||||||
@PostMapping("/user/register")
|
@PostMapping("/user/register")
|
||||||
public R<Boolean> registerUserInfo(@RequestBody SysUser sysUser, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
public R<Boolean> registerUserInfo(@RequestBody SysUser sysUser, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||||
|
@ -69,4 +67,12 @@ public interface RemoteUserService
|
||||||
@PostMapping("/user/healthRegister")
|
@PostMapping("/user/healthRegister")
|
||||||
|
|
||||||
public R<Boolean> healthRegister(@RequestBody SysUser sysUser, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
public R<Boolean> healthRegister(@RequestBody SysUser sysUser, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||||
|
|
||||||
|
|
||||||
|
/***
|
||||||
|
* 注册患者到用户信息
|
||||||
|
*/
|
||||||
|
@PostMapping("/user/PatientRegisterBody")
|
||||||
|
public R<Boolean> PatientRegisterBody(@RequestBody SysUser sysUser,@RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package com.four.system.api.domain;
|
package com.four.system.api.domain;
|
||||||
|
|
||||||
import com.four.system.api.model.LoginUser;
|
import com.four.system.api.model.LoginUser;
|
||||||
|
import org.apache.poi.hpsf.Decimal;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
@ -8,40 +9,176 @@ import java.util.Date;
|
||||||
* 医生信息表
|
* 医生信息表
|
||||||
* */
|
* */
|
||||||
public class registrationInformation {
|
public class registrationInformation {
|
||||||
private Long registrationInformationId;
|
/**
|
||||||
private Long userId;
|
* 医生注册信息id
|
||||||
private String realName;
|
*/
|
||||||
private String affiliatedHospital;
|
private Long registrationInformationId;
|
||||||
private Long medicalDepartmentId;
|
/**
|
||||||
private Long professionalTitleDoctorId;
|
* 用户id
|
||||||
private String personalResume;
|
*/
|
||||||
private String areaExpertise;
|
private Long userId;
|
||||||
private Date registrationTime;
|
/**
|
||||||
private Long numberPatientsServed;
|
* 所属医院
|
||||||
private Double consultingPrice;
|
*/
|
||||||
private Integer praise;
|
private String affiliatedHospital;
|
||||||
private Integer registrationInformationExamineStatus;
|
/**
|
||||||
private Integer registrationInformationMedicStatus;
|
* 医生科室id
|
||||||
|
*/
|
||||||
|
private Long medicalDepartmentId;
|
||||||
|
/**
|
||||||
|
* 医生职称id
|
||||||
|
*/
|
||||||
|
private Long professionalTitleDoctorId;
|
||||||
|
/**
|
||||||
|
* 个人简历
|
||||||
|
*/
|
||||||
|
private String personalResume;
|
||||||
|
/**
|
||||||
|
* 擅长领域
|
||||||
|
*/
|
||||||
|
private String areaExpertise;
|
||||||
|
/**
|
||||||
|
* 服务患者次数
|
||||||
|
*/
|
||||||
|
private Integer numberPatientsServed;
|
||||||
|
/**
|
||||||
|
* 咨询价格
|
||||||
|
*/
|
||||||
|
private Decimal consultingPrice;
|
||||||
|
/**
|
||||||
|
* 好评人数
|
||||||
|
*/
|
||||||
|
private Integer praise;
|
||||||
|
/**
|
||||||
|
* 审核状态:1:待审核2:审核通过3:已驳回
|
||||||
|
*/
|
||||||
|
private Integer registrationInformationExamineStatus;
|
||||||
|
|
||||||
|
|
||||||
public registrationInformation(Long registrationInformationId, Long userId, String realName, String affiliatedHospital, Long medicalDepartmentId, Long professionalTitleDoctorId, String personalResume, String areaExpertise, Date registrationTime, Long numberPatientsServed, Double consultingPrice, Integer praise, Integer registrationInformationExamineStatus, Integer registrationInformationMedicStatus) {
|
/**
|
||||||
|
* 部门ID
|
||||||
|
*/
|
||||||
|
private Long deptId;
|
||||||
|
/**
|
||||||
|
* 用户账号
|
||||||
|
*/
|
||||||
|
private String userName;
|
||||||
|
/**
|
||||||
|
* 用户昵称
|
||||||
|
*/
|
||||||
|
private String nickName;
|
||||||
|
/**
|
||||||
|
* 用户类型(00系统用户)
|
||||||
|
*/
|
||||||
|
private String userType;
|
||||||
|
/**
|
||||||
|
* 用户邮箱
|
||||||
|
*/
|
||||||
|
private String email;
|
||||||
|
/**
|
||||||
|
* 手机号码
|
||||||
|
*/
|
||||||
|
private String phonenumber;
|
||||||
|
/**
|
||||||
|
* 用户性别(0男 1女 2未知)
|
||||||
|
*/
|
||||||
|
private String sex;
|
||||||
|
/**
|
||||||
|
* 头像地址
|
||||||
|
*/
|
||||||
|
private String avatar;
|
||||||
|
/**
|
||||||
|
* 密码
|
||||||
|
*/
|
||||||
|
private String password;
|
||||||
|
/**
|
||||||
|
* 帐号状态(0正常 1停用)
|
||||||
|
*/
|
||||||
|
private String status;
|
||||||
|
/**
|
||||||
|
* 删除标志(0代表存在 2代表删除)
|
||||||
|
*/
|
||||||
|
private String delFlag;
|
||||||
|
/**
|
||||||
|
* 最后登录IP
|
||||||
|
*/
|
||||||
|
private String loginIp;
|
||||||
|
/**
|
||||||
|
* 创建者
|
||||||
|
*/
|
||||||
|
private String createBy;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
/**
|
||||||
|
* 更新者
|
||||||
|
*/
|
||||||
|
private String updateBy;
|
||||||
|
/**
|
||||||
|
* 体征
|
||||||
|
*/
|
||||||
|
private String userSign;
|
||||||
|
/**
|
||||||
|
* 绑定微信状态 1:未绑定 2:已绑定
|
||||||
|
*/
|
||||||
|
private Integer bindWechatStatus;
|
||||||
|
/**
|
||||||
|
* 实名认证状态 1:未绑定 2:已绑定
|
||||||
|
*/
|
||||||
|
private Integer realNameAuthenticationStatus;
|
||||||
|
/**
|
||||||
|
* 绑定银行卡状态 1:未绑定 2:已绑定
|
||||||
|
*/
|
||||||
|
private Integer bindBankCardStatus;
|
||||||
|
/**
|
||||||
|
* 余额
|
||||||
|
*/
|
||||||
|
private Decimal userMoney;
|
||||||
|
/**
|
||||||
|
* 邀请码
|
||||||
|
*/
|
||||||
|
private String invitationCode;
|
||||||
|
/**
|
||||||
|
* 状态1:患者 2:医生
|
||||||
|
*/
|
||||||
|
private Integer differentialState;
|
||||||
|
|
||||||
|
|
||||||
|
public registrationInformation(Long registrationInformationId, Long userId, String affiliatedHospital, Long medicalDepartmentId, Long professionalTitleDoctorId, String personalResume, String areaExpertise, Integer numberPatientsServed, Decimal consultingPrice, Integer praise, Integer registrationInformationExamineStatus, Long deptId, String userName, String nickName, String userType, String email, String phonenumber, String sex, String avatar, String password, String status, String delFlag, String loginIp, String createBy, String remark, String updateBy, String userSign, Integer bindWechatStatus, Integer realNameAuthenticationStatus, Integer bindBankCardStatus, Decimal userMoney, String invitationCode, Integer differentialState) {
|
||||||
this.registrationInformationId = registrationInformationId;
|
this.registrationInformationId = registrationInformationId;
|
||||||
this.userId = userId;
|
this.userId = userId;
|
||||||
this.realName = realName;
|
|
||||||
this.affiliatedHospital = affiliatedHospital;
|
this.affiliatedHospital = affiliatedHospital;
|
||||||
this.medicalDepartmentId = medicalDepartmentId;
|
this.medicalDepartmentId = medicalDepartmentId;
|
||||||
this.professionalTitleDoctorId = professionalTitleDoctorId;
|
this.professionalTitleDoctorId = professionalTitleDoctorId;
|
||||||
this.personalResume = personalResume;
|
this.personalResume = personalResume;
|
||||||
this.areaExpertise = areaExpertise;
|
this.areaExpertise = areaExpertise;
|
||||||
this.registrationTime = registrationTime;
|
|
||||||
this.numberPatientsServed = numberPatientsServed;
|
this.numberPatientsServed = numberPatientsServed;
|
||||||
this.consultingPrice = consultingPrice;
|
this.consultingPrice = consultingPrice;
|
||||||
this.praise = praise;
|
this.praise = praise;
|
||||||
this.registrationInformationExamineStatus = registrationInformationExamineStatus;
|
this.registrationInformationExamineStatus = registrationInformationExamineStatus;
|
||||||
this.registrationInformationMedicStatus = registrationInformationMedicStatus;
|
this.deptId = deptId;
|
||||||
}
|
this.userName = userName;
|
||||||
|
this.nickName = nickName;
|
||||||
public registrationInformation() {
|
this.userType = userType;
|
||||||
|
this.email = email;
|
||||||
|
this.phonenumber = phonenumber;
|
||||||
|
this.sex = sex;
|
||||||
|
this.avatar = avatar;
|
||||||
|
this.password = password;
|
||||||
|
this.status = status;
|
||||||
|
this.delFlag = delFlag;
|
||||||
|
this.loginIp = loginIp;
|
||||||
|
this.createBy = createBy;
|
||||||
|
this.remark = remark;
|
||||||
|
this.updateBy = updateBy;
|
||||||
|
this.userSign = userSign;
|
||||||
|
this.bindWechatStatus = bindWechatStatus;
|
||||||
|
this.realNameAuthenticationStatus = realNameAuthenticationStatus;
|
||||||
|
this.bindBankCardStatus = bindBankCardStatus;
|
||||||
|
this.userMoney = userMoney;
|
||||||
|
this.invitationCode = invitationCode;
|
||||||
|
this.differentialState = differentialState;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Long getRegistrationInformationId() {
|
public Long getRegistrationInformationId() {
|
||||||
|
@ -60,14 +197,6 @@ public class registrationInformation {
|
||||||
this.userId = userId;
|
this.userId = userId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getRealName() {
|
|
||||||
return realName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setRealName(String realName) {
|
|
||||||
this.realName = realName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getAffiliatedHospital() {
|
public String getAffiliatedHospital() {
|
||||||
return affiliatedHospital;
|
return affiliatedHospital;
|
||||||
}
|
}
|
||||||
|
@ -108,27 +237,19 @@ public class registrationInformation {
|
||||||
this.areaExpertise = areaExpertise;
|
this.areaExpertise = areaExpertise;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getRegistrationTime() {
|
public Integer getNumberPatientsServed() {
|
||||||
return registrationTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setRegistrationTime(Date registrationTime) {
|
|
||||||
this.registrationTime = registrationTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getNumberPatientsServed() {
|
|
||||||
return numberPatientsServed;
|
return numberPatientsServed;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setNumberPatientsServed(Long numberPatientsServed) {
|
public void setNumberPatientsServed(Integer numberPatientsServed) {
|
||||||
this.numberPatientsServed = numberPatientsServed;
|
this.numberPatientsServed = numberPatientsServed;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Double getConsultingPrice() {
|
public Decimal getConsultingPrice() {
|
||||||
return consultingPrice;
|
return consultingPrice;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setConsultingPrice(Double consultingPrice) {
|
public void setConsultingPrice(Decimal consultingPrice) {
|
||||||
this.consultingPrice = consultingPrice;
|
this.consultingPrice = consultingPrice;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -148,12 +269,183 @@ public class registrationInformation {
|
||||||
this.registrationInformationExamineStatus = registrationInformationExamineStatus;
|
this.registrationInformationExamineStatus = registrationInformationExamineStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Integer getRegistrationInformationMedicStatus() {
|
public Long getDeptId() {
|
||||||
return registrationInformationMedicStatus;
|
return deptId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setRegistrationInformationMedicStatus(Integer registrationInformationMedicStatus) {
|
public void setDeptId(Long deptId) {
|
||||||
this.registrationInformationMedicStatus = registrationInformationMedicStatus;
|
this.deptId = deptId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserName() {
|
||||||
|
return userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserName(String userName) {
|
||||||
|
this.userName = userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getNickName() {
|
||||||
|
return nickName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNickName(String nickName) {
|
||||||
|
this.nickName = nickName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserType() {
|
||||||
|
return userType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserType(String userType) {
|
||||||
|
this.userType = userType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getEmail() {
|
||||||
|
return email;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEmail(String email) {
|
||||||
|
this.email = email;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPhonenumber() {
|
||||||
|
return phonenumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPhonenumber(String phonenumber) {
|
||||||
|
this.phonenumber = phonenumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSex() {
|
||||||
|
return sex;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSex(String sex) {
|
||||||
|
this.sex = sex;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAvatar() {
|
||||||
|
return avatar;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAvatar(String avatar) {
|
||||||
|
this.avatar = avatar;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPassword() {
|
||||||
|
return password;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPassword(String password) {
|
||||||
|
this.password = password;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getStatus() {
|
||||||
|
return status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStatus(String status) {
|
||||||
|
this.status = status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDelFlag() {
|
||||||
|
return delFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDelFlag(String delFlag) {
|
||||||
|
this.delFlag = delFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLoginIp() {
|
||||||
|
return loginIp;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLoginIp(String loginIp) {
|
||||||
|
this.loginIp = loginIp;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCreateBy() {
|
||||||
|
return createBy;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateBy(String createBy) {
|
||||||
|
this.createBy = createBy;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRemark() {
|
||||||
|
return remark;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRemark(String remark) {
|
||||||
|
this.remark = remark;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUpdateBy() {
|
||||||
|
return updateBy;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUpdateBy(String updateBy) {
|
||||||
|
this.updateBy = updateBy;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserSign() {
|
||||||
|
return userSign;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserSign(String userSign) {
|
||||||
|
this.userSign = userSign;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getBindWechatStatus() {
|
||||||
|
return bindWechatStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBindWechatStatus(Integer bindWechatStatus) {
|
||||||
|
this.bindWechatStatus = bindWechatStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getRealNameAuthenticationStatus() {
|
||||||
|
return realNameAuthenticationStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRealNameAuthenticationStatus(Integer realNameAuthenticationStatus) {
|
||||||
|
this.realNameAuthenticationStatus = realNameAuthenticationStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getBindBankCardStatus() {
|
||||||
|
return bindBankCardStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBindBankCardStatus(Integer bindBankCardStatus) {
|
||||||
|
this.bindBankCardStatus = bindBankCardStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Decimal getUserMoney() {
|
||||||
|
return userMoney;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserMoney(Decimal userMoney) {
|
||||||
|
this.userMoney = userMoney;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getInvitationCode() {
|
||||||
|
return invitationCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setInvitationCode(String invitationCode) {
|
||||||
|
this.invitationCode = invitationCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getDifferentialState() {
|
||||||
|
return differentialState;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDifferentialState(Integer differentialState) {
|
||||||
|
this.differentialState = differentialState;
|
||||||
|
}
|
||||||
|
|
||||||
|
public registrationInformation() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -161,18 +453,37 @@ public class registrationInformation {
|
||||||
return "registrationInformation{" +
|
return "registrationInformation{" +
|
||||||
"registrationInformationId=" + registrationInformationId +
|
"registrationInformationId=" + registrationInformationId +
|
||||||
", userId=" + userId +
|
", userId=" + userId +
|
||||||
", realName='" + realName + '\'' +
|
|
||||||
", affiliatedHospital='" + affiliatedHospital + '\'' +
|
", affiliatedHospital='" + affiliatedHospital + '\'' +
|
||||||
", medicalDepartmentId=" + medicalDepartmentId +
|
", medicalDepartmentId=" + medicalDepartmentId +
|
||||||
", professionalTitleDoctorId=" + professionalTitleDoctorId +
|
", professionalTitleDoctorId=" + professionalTitleDoctorId +
|
||||||
", personalResume='" + personalResume + '\'' +
|
", personalResume='" + personalResume + '\'' +
|
||||||
", areaExpertise='" + areaExpertise + '\'' +
|
", areaExpertise='" + areaExpertise + '\'' +
|
||||||
", registrationTime=" + registrationTime +
|
|
||||||
", numberPatientsServed=" + numberPatientsServed +
|
", numberPatientsServed=" + numberPatientsServed +
|
||||||
", consultingPrice=" + consultingPrice +
|
", consultingPrice=" + consultingPrice +
|
||||||
", praise=" + praise +
|
", praise=" + praise +
|
||||||
", registrationInformationExamineStatus=" + registrationInformationExamineStatus +
|
", registrationInformationExamineStatus=" + registrationInformationExamineStatus +
|
||||||
", registrationInformationMedicStatus=" + registrationInformationMedicStatus +
|
", deptId=" + deptId +
|
||||||
|
", userName='" + userName + '\'' +
|
||||||
|
", nickName='" + nickName + '\'' +
|
||||||
|
", userType='" + userType + '\'' +
|
||||||
|
", email='" + email + '\'' +
|
||||||
|
", phonenumber='" + phonenumber + '\'' +
|
||||||
|
", sex='" + sex + '\'' +
|
||||||
|
", avatar='" + avatar + '\'' +
|
||||||
|
", password='" + password + '\'' +
|
||||||
|
", status='" + status + '\'' +
|
||||||
|
", delFlag='" + delFlag + '\'' +
|
||||||
|
", loginIp='" + loginIp + '\'' +
|
||||||
|
", createBy='" + createBy + '\'' +
|
||||||
|
", remark='" + remark + '\'' +
|
||||||
|
", updateBy='" + updateBy + '\'' +
|
||||||
|
", userSign='" + userSign + '\'' +
|
||||||
|
", bindWechatStatus=" + bindWechatStatus +
|
||||||
|
", realNameAuthenticationStatus=" + realNameAuthenticationStatus +
|
||||||
|
", bindBankCardStatus=" + bindBankCardStatus +
|
||||||
|
", userMoney=" + userMoney +
|
||||||
|
", invitationCode='" + invitationCode + '\'' +
|
||||||
|
", differentialState=" + differentialState +
|
||||||
'}';
|
'}';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,26 +27,63 @@ public class RemoteUserFallbackFactory implements FallbackFactory<RemoteUserServ
|
||||||
return new RemoteUserService()
|
return new RemoteUserService()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
/***
|
||||||
|
*获取用户信息
|
||||||
|
* @param email 用户名
|
||||||
|
* @param source 请求来源
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public R<LoginUser> getUserInfoByEmail(String email, String source) {
|
public R<LoginUser> getUserInfoByEmail(String email, String source) {
|
||||||
return R.fail("获取用户信息失败:"+ throwable.getMessage());
|
return R.fail("获取用户信息失败:"+ throwable.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***
|
||||||
|
* 查询用户信息
|
||||||
|
* @param userName 用户名
|
||||||
|
* @param source 请求来源
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public R<LoginUser> getUserInfo(String userName,String source){
|
public R<LoginUser> getUserInfo(String userName,String source){
|
||||||
return R.fail("获取用户失败:"+throwable.getMessage());
|
return R.fail("获取用户失败:"+throwable.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***
|
||||||
|
* 欧通用户注册
|
||||||
|
* @param sysUser
|
||||||
|
* @param source
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public R<Boolean> registerUserInfo(SysUser sysUser, String source)
|
public R<Boolean> registerUserInfo(SysUser sysUser, String source)
|
||||||
{
|
{
|
||||||
return R.fail("注册用户失败:" + throwable.getMessage());
|
return R.fail("注册用户失败:" + throwable.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***
|
||||||
|
* 医生注册
|
||||||
|
* @param sysUser
|
||||||
|
* @param source 请求来源
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public R<Boolean> healthRegister(SysUser sysUser, String source) {
|
public R<Boolean> healthRegister(SysUser sysUser, String source) {
|
||||||
return R.fail("医生用户失败:" + throwable.getMessage());
|
return R.fail("医生用户失败:" + throwable.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***
|
||||||
|
* 用户注册
|
||||||
|
* @param sysUser
|
||||||
|
* @param source
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public R<Boolean> PatientRegisterBody(SysUser sysUser, String source) {
|
||||||
|
return R.fail("患者用户失败:" + throwable.getMessage());
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,5 +1,5 @@
|
||||||
#Generated by Maven
|
#Generated by Maven
|
||||||
#Fri Oct 27 19:38:37 CST 2023
|
#Tue Oct 31 20:35:17 CST 2023
|
||||||
groupId=com.four
|
groupId=com.four
|
||||||
artifactId=four-api-system
|
artifactId=four-api-system
|
||||||
version=3.6.3
|
version=3.6.3
|
||||||
|
|
|
@ -3,7 +3,6 @@ com\four\system\api\factory\RemoteLogFallbackFactory$1.class
|
||||||
com\four\system\api\domain\SysDictData.class
|
com\four\system\api\domain\SysDictData.class
|
||||||
com\four\system\api\domain\SysFile.class
|
com\four\system\api\domain\SysFile.class
|
||||||
com\four\system\api\factory\RemoteFileFallbackFactory$1.class
|
com\four\system\api\factory\RemoteFileFallbackFactory$1.class
|
||||||
com\four\system\api\domain\RequestRegistrationInformation.class
|
|
||||||
com\four\system\api\domain\registrationInformation.class
|
com\four\system\api\domain\registrationInformation.class
|
||||||
com\four\system\api\factory\RemoteFileFallbackFactory.class
|
com\four\system\api\factory\RemoteFileFallbackFactory.class
|
||||||
com\four\system\api\RemoteLogService.class
|
com\four\system\api\RemoteLogService.class
|
||||||
|
|
|
@ -13,5 +13,4 @@ D:\hospital\api-system\four-api-system\src\main\java\com\four\system\api\domain\
|
||||||
D:\hospital\api-system\four-api-system\src\main\java\com\four\system\api\domain\SysDept.java
|
D:\hospital\api-system\four-api-system\src\main\java\com\four\system\api\domain\SysDept.java
|
||||||
D:\hospital\api-system\four-api-system\src\main\java\com\four\system\api\domain\SysUser.java
|
D:\hospital\api-system\four-api-system\src\main\java\com\four\system\api\domain\SysUser.java
|
||||||
D:\hospital\api-system\four-api-system\src\main\java\com\four\system\api\RemoteLogService.java
|
D:\hospital\api-system\four-api-system\src\main\java\com\four\system\api\RemoteLogService.java
|
||||||
D:\hospital\api-system\four-api-system\src\main\java\com\four\system\api\domain\RequestRegistrationInformation.java
|
|
||||||
D:\hospital\api-system\four-api-system\src\main\java\com\four\system\api\domain\SysFile.java
|
D:\hospital\api-system\four-api-system\src\main\java\com\four\system\api\domain\SysFile.java
|
||||||
|
|
Loading…
Reference in New Issue