|
|
|
@ -12,6 +12,7 @@ import com.docus.demo.utils.SnowflakeIdWorker;
|
|
|
|
|
import com.docus.demo.vo.BasicVo;
|
|
|
|
|
|
|
|
|
|
import com.github.xiaoymin.knife4j.core.util.StrUtil;
|
|
|
|
|
import com.google.gson.Gson;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
|
@ -214,7 +215,7 @@ public class SyncBasicFileImpl implements ISyncBasicFileService {
|
|
|
|
|
tbasics.add(tbasic);
|
|
|
|
|
//查询是否存在更新,不存在新增
|
|
|
|
|
Tbasic tBasic = basicMapper.getTbasicPatientId(admissId);
|
|
|
|
|
log.info("tBasic"+tBasic.toString());
|
|
|
|
|
log.info("tBasic"+new Gson().toJson(tBasic));
|
|
|
|
|
String tBasicPatientId = tBasic.getPatientId();
|
|
|
|
|
if (StringUtils.isNotBlank(tbasic.getPh())){
|
|
|
|
|
return CommonResult.success("存在盘号,保存成功");
|
|
|
|
|