|
@@ -105,12 +105,6 @@ public class SetlListUpldService {
|
|
|
throw new BizException(ExceptionEnum.INTERNAL_SERVER_ERROR, "患者联系人姓名不能为空。");
|
|
|
}
|
|
|
}
|
|
|
- if (StringUtil.notBlank(upldCollection.getData().getSetlinfo().getHiType())
|
|
|
- && upldCollection.getData().getSetlinfo().getHiType().trim().equals("310")) {
|
|
|
- if (StringUtil.isBlank(upldCollection.getData().getSetlinfo().getEmpAddr()) || StringUtil.isBlank(upldCollection.getData().getSetlinfo().getEmpName())) {
|
|
|
- throw new BizException(ExceptionEnum.INTERNAL_SERVER_ERROR, "结算清单中职工参保人的单位及地址不能为空。");
|
|
|
- }
|
|
|
- }
|
|
|
if (ListUtil.notBlank(upldCollection.getData().getOprninfo())) {
|
|
|
for (OprninfoUpld item : upldCollection.getData().getOprninfo()) {
|
|
|
if (StringUtil.isBlank(item.getOperDrCode())) {
|
|
@@ -278,9 +272,6 @@ public class SetlListUpldService {
|
|
|
List<IcuinfoUpld> zhongZhenJianHu = getIcuinfoUplds(patNo, times);
|
|
|
List<PayinfoUpld> payinfo = dao.payinfoUpld(patNo, times, ledgerSn);
|
|
|
|
|
|
- // 310100
|
|
|
-
|
|
|
-
|
|
|
List<DiseinfoUpld> diseinfos = dao.diseinfo(patNo, times, flag == 1 ? "zy_dis_diag_yb_modify" : "zy_dis_diag_yb");
|
|
|
setlinfoUpld.setDiagCodeCnt(String.valueOf(diseinfos.size()));
|
|
|
|
|
@@ -295,6 +286,7 @@ public class SetlListUpldService {
|
|
|
if (isFertilitySign) {
|
|
|
setlinfoUpld.setHiPaymtd("1");
|
|
|
}
|
|
|
+ // 如果是 职工基本医疗保险的话 没有单位名称和地址 那么就 写死成 普通职工 和 现住址
|
|
|
if ("310".equals(setlinfoUpld.getHiType())) {
|
|
|
if (StringUtil.isBlank(setlinfoUpld.getEmpAddr())) {
|
|
|
setlinfoUpld.setEmpAddr(setlinfoUpld.getCurrAddr());
|
|
@@ -394,6 +386,10 @@ public class SetlListUpldService {
|
|
|
// 患者基本信息
|
|
|
temp.setSetlinfo(EntityCopy.Copy(uploadInfo.getData().getSetlinfo(), SetlinfoUpldTemp.class));
|
|
|
temp.getSetlinfo().setSetlListId(dao.billingListSerialNumber(patNo, times, ledgerSn));
|
|
|
+ //城乡居民 和 城镇职工 生育基金 不显示 上传需要,打印不需要
|
|
|
+ // 390100 和 310100 和 510100 不显示
|
|
|
+ List<String> printWithoutDisplay = Arrays.asList("390100", "310100", "510100");
|
|
|
+ uploadInfo.getData().getPayinfo().removeIf(item -> printWithoutDisplay.contains(item.getFundPayType()));
|
|
|
temp.setPayinfo(EntityCopy.CopyList(uploadInfo.getData().getPayinfo(), PayinfoUpldTemp.class));
|
|
|
// 门诊慢特病
|
|
|
temp.setOpspdiseinfo(EntityCopy.CopyList(uploadInfo.getData().getOpspdiseinfo(), OpspdiseinfoUpldTemp.class));
|