顺德人医索引,去掉m和z

3.2.4.44
wyb 2 years ago
parent 8230da9dd3
commit 27a3d73849

@ -185,11 +185,12 @@ public class TBasicServiceImpl implements ITBasicService {
tBasic.setAdmissDays(admissDays);
tBasic.setIsDead(isDead);
TBasicExtend tBasicExtend=new TBasicExtend();
String sdryIndex = tBasicDto.getSdryIndex();
TBasicExtend tBasicExtend = new TBasicExtend();
tBasicExtend.setPatientId(patientId);
tBasicExtend.setWardCode(tBasicDto.getWardCode());
tBasicExtend.setWardName(tBasicDto.getWardName());
tBasicExtend.setSdryIndex(tBasicDto.getSdryIndex());
tBasicExtend.setSdryIndex(sdryIndex == null ? null : sdryIndex.replace("z", "").replace("m",""));
//持久化
tBasicMapper.update(tBasic);
@ -265,11 +266,12 @@ public class TBasicServiceImpl implements ITBasicService {
tBasic.setAdmissDays(admissDays);
tBasic.setIsDead(isDead);
String sdryIndex = tBasicDto.getSdryIndex();
TBasicExtend tBasicExtend=new TBasicExtend();
tBasicExtend.setPatientId(patientId);
tBasicExtend.setWardCode(tBasicDto.getWardCode());
tBasicExtend.setWardName(tBasicDto.getWardName());
tBasicExtend.setSdryIndex(tBasicDto.getSdryIndex());
tBasicExtend.setSdryIndex(sdryIndex==null?null:sdryIndex.replace("z","").replace("m",""));
//持久化
tBasicMapper.update(tBasic);

Loading…
Cancel
Save