修改医生入驻信息
parent
004266c6fa
commit
2e3b5c9718
|
@ -1,5 +1,14 @@
|
||||||
<component name="InspectionProjectProfileManager">
|
<component name="InspectionProjectProfileManager">
|
||||||
<profile version="1.0">
|
<profile version="1.0">
|
||||||
<option name="myName" value="Project Default" />
|
<option name="myName" value="Project Default" />
|
||||||
|
<inspection_tool class="AliAccessStaticViaInstance" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="AliArrayNamingShouldHaveBracket" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="AliControlFlowStatementWithoutBraces" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="AliDeprecation" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="AliEqualsAvoidNull" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="AliLongLiteralsEndingWithLowercaseL" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="AliMissingOverrideAnnotation" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="AliWrapperTypeEquality" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="MapOrSetKeyShouldOverrideHashCodeEquals" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
</profile>
|
</profile>
|
||||||
</component>
|
</component>
|
|
@ -1,6 +1,6 @@
|
||||||
package com.four.system.api;
|
package com.four.system.api;
|
||||||
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
import com.four.common.duck.request.RequestRegistrationInformation;
|
||||||
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
@ -14,6 +14,7 @@ import com.four.system.api.domain.SysUser;
|
||||||
import com.four.system.api.factory.RemoteUserFallbackFactory;
|
import com.four.system.api.factory.RemoteUserFallbackFactory;
|
||||||
import com.four.system.api.model.LoginUser;
|
import com.four.system.api.model.LoginUser;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户服务
|
* 用户服务
|
||||||
*
|
*
|
||||||
|
@ -60,12 +61,12 @@ public interface RemoteUserService
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 注册用户信息
|
* 注册医生的用户信息用户信息
|
||||||
*
|
*
|
||||||
* @param sysUser 用户信息
|
|
||||||
* @param source 请求来源
|
* @param source 请求来源
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,7 @@ import com.four.common.core.annotation.Excel.Type;
|
||||||
import com.four.common.core.annotation.Excels;
|
import com.four.common.core.annotation.Excels;
|
||||||
import com.four.common.core.web.domain.BaseEntity;
|
import com.four.common.core.web.domain.BaseEntity;
|
||||||
import com.four.common.core.xss.Xss;
|
import com.four.common.core.xss.Xss;
|
||||||
|
import org.apache.poi.hpsf.Decimal;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户对象 sys_user
|
* 用户对象 sys_user
|
||||||
|
@ -123,6 +124,20 @@ public class SysUser extends BaseEntity
|
||||||
/** 状态1:患者 2:医生 **/
|
/** 状态1:患者 2:医生 **/
|
||||||
private Integer differentialState;
|
private Integer differentialState;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private Long medicalDepartmentId;
|
||||||
|
private Long professionalTitleDoctorId;
|
||||||
|
private Integer numberPatientsServed;
|
||||||
|
private Decimal consultingPrice;
|
||||||
|
private Integer praise;
|
||||||
|
private Integer registrationInformationExamineStatus;
|
||||||
|
private Integer registrationInformationMedicStatus;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public SysUser(Long userId, Long deptId, String userName, String nickName, String email, String phonenumber, String personalResume, String affiliatedHospital, String areaExpertise, String sex, String avatar, String password, String status, String delFlag, String loginIp, Date loginDate, SysDept dept, List<SysRole> roles, Long[] roleIds, Long[] postIds, Long roleId, String userSign, Integer bindWechatStatus, Integer realNameAuthenticationStatus, Integer bindBankCardStatus, BigDecimal userMoney, String invitationCode, Integer differentialState) {
|
public SysUser(Long userId, Long deptId, String userName, String nickName, String email, String phonenumber, String personalResume, String affiliatedHospital, String areaExpertise, String sex, String avatar, String password, String status, String delFlag, String loginIp, Date loginDate, SysDept dept, List<SysRole> roles, Long[] roleIds, Long[] postIds, Long roleId, String userSign, Integer bindWechatStatus, Integer realNameAuthenticationStatus, Integer bindBankCardStatus, BigDecimal userMoney, String invitationCode, Integer differentialState) {
|
||||||
this.userId = userId;
|
this.userId = userId;
|
||||||
this.deptId = deptId;
|
this.deptId = deptId;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package com.four.system.api.factory;
|
package com.four.system.api.factory;
|
||||||
|
|
||||||
|
import com.four.common.duck.request.RequestRegistrationInformation;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.cloud.openfeign.FallbackFactory;
|
import org.springframework.cloud.openfeign.FallbackFactory;
|
||||||
|
@ -44,9 +45,8 @@ public class RemoteUserFallbackFactory implements FallbackFactory<RemoteUserServ
|
||||||
|
|
||||||
@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());
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,5 +1,5 @@
|
||||||
#Generated by Maven
|
#Generated by Maven
|
||||||
#Thu Oct 26 21:31:47 CST 2023
|
#Fri Oct 27 19:38:37 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,6 +3,7 @@ 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,4 +13,5 @@ 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