|
|
|
@ -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);
|
|
|
|
|