Commit f7780f60 authored by 向怀芳's avatar 向怀芳 🎱

1. bugfix:性别修复

2. 新增版本配置文件
parent 53f8d6df
...@@ -42,7 +42,7 @@ public class HphyPatientBaseServiceImpl extends ServiceImpl<HphyPatientBaseMappe ...@@ -42,7 +42,7 @@ public class HphyPatientBaseServiceImpl extends ServiceImpl<HphyPatientBaseMappe
base.setName(userInfo.getUsername()); base.setName(userInfo.getUsername());
base.setCertId(userInfo.getPersoncard()); base.setCertId(userInfo.getPersoncard());
base.setAge(String.valueOf(IdcardUtil.getAgeByIdCard(userInfo.getPersoncard()))); base.setAge(String.valueOf(IdcardUtil.getAgeByIdCard(userInfo.getPersoncard())));
base.setGender(Constant.STRING_YES.equals(userInfo.getGender()) ? "男" : "女"); base.setGender(Constant.BYTE_YES.equals(userInfo.getGender()) ? "男" : "女");
base.setVerifyStatus(userInfo.getVerifyStatus()); base.setVerifyStatus(userInfo.getVerifyStatus());
if(CollUtil.isNotEmpty(cardList)){ if(CollUtil.isNotEmpty(cardList)){
WDUserCardInfo card = cardList.get(0); WDUserCardInfo card = cardList.get(0);
......
server:
port: 12253
spring:
application:
name: @artifactId@
main:
allow-bean-definition-overriding: true
# nacos
cloud:
nacos:
server-addr: 127.0.0.1:8848
discovery:
namespace: eb001e6c-9c22-421f-8f36-ed92821014d8
config:
namespace: eb001e6c-9c22-421f-8f36-ed92821014d8
file-extension: yml
shared-dataids: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment