修改医生入驻信息

master
ShiSiWei 2023-10-27 22:24:23 +08:00
parent 004266c6fa
commit 2e3b5c9718
10 changed files with 34 additions and 7 deletions

View File

@ -1,5 +1,14 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<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>
</component>

View File

@ -1,6 +1,6 @@
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.web.bind.annotation.GetMapping;
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.model.LoginUser;
/**
*
*
@ -60,12 +61,12 @@ public interface RemoteUserService
/**
*
*
*
* @param sysUser
* @param source
* @return
*/
@PostMapping("/user/healthRegister")
public R<Boolean> healthRegister(@RequestBody SysUser sysUser, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
}

View File

@ -13,6 +13,7 @@ import com.four.common.core.annotation.Excel.Type;
import com.four.common.core.annotation.Excels;
import com.four.common.core.web.domain.BaseEntity;
import com.four.common.core.xss.Xss;
import org.apache.poi.hpsf.Decimal;
/**
* sys_user
@ -123,6 +124,20 @@ public class SysUser extends BaseEntity
/** 状态1患者 2医生 **/
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) {
this.userId = userId;
this.deptId = deptId;

View File

@ -1,5 +1,6 @@
package com.four.system.api.factory;
import com.four.common.duck.request.RequestRegistrationInformation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.cloud.openfeign.FallbackFactory;
@ -44,9 +45,8 @@ public class RemoteUserFallbackFactory implements FallbackFactory<RemoteUserServ
@Override
public R<Boolean> healthRegister(SysUser sysUser, String source) {
return R.fail("注册维度健康用户失败:" + throwable.getMessage());
return R.fail("医生用户失败:" + throwable.getMessage());
}
};
}

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Thu Oct 26 21:31:47 CST 2023
#Fri Oct 27 19:38:37 CST 2023
groupId=com.four
artifactId=four-api-system
version=3.6.3

View File

@ -3,6 +3,7 @@ com\four\system\api\factory\RemoteLogFallbackFactory$1.class
com\four\system\api\domain\SysDictData.class
com\four\system\api\domain\SysFile.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\factory\RemoteFileFallbackFactory.class
com\four\system\api\RemoteLogService.class

View File

@ -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\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\domain\RequestRegistrationInformation.java
D:\hospital\api-system\four-api-system\src\main\java\com\four\system\api\domain\SysFile.java