|
|
@@ -186,7 +186,7 @@ public class SetlListUpldService {
|
|
|
EntityCopy.Copy(dao.setlinfo2(patNo, times), setlinfoUpld);
|
|
|
EntityCopy.Copy(dao.setlinfo3(String.format("inpatient_no ='%s'", patNo)), setlinfoUpld);
|
|
|
EntityCopy.Copy(dao.setlinfo4(patNo, times), setlinfoUpld);
|
|
|
- EntityCopy.Copy(dao.setlinfo5(patNo, times,ledgerSn), setlinfoUpld);
|
|
|
+ EntityCopy.Copy(dao.setlinfo5(patNo, times, ledgerSn), setlinfoUpld);
|
|
|
|
|
|
if (patNo.startsWith("JT")) {
|
|
|
EntityCopy.Copy(dao.singleDiseasePatientInformation(patNo, times), setlinfoUpld);
|
|
|
@@ -241,11 +241,11 @@ public class SetlListUpldService {
|
|
|
setlinfoUpld.setBillCode("143001913350");
|
|
|
setlinfoUpld.setBizSn(SnowFlakeId.instance().nextId());
|
|
|
// 甲类费用
|
|
|
- Map<String, IteminfoUpld> jiaLeiFeiYong = dao.aAndBFees(setlId, "01", "claaSumfee").stream().collect(Collectors.toMap(IteminfoUpld::getMedChrgitm, a -> a, (k1, k2) -> k1));
|
|
|
+ Map<String, IteminfoUpld> jiaLeiFeiYong = dao.aAndBAndCFees(setlId, "01", "claaSumfee").stream().collect(Collectors.toMap(IteminfoUpld::getMedChrgitm, a -> a, (k1, k2) -> k1));
|
|
|
// 乙类费用
|
|
|
- Map<String, IteminfoUpld> yiLeiFeiYong = dao.aAndBFees(setlId, "02", "clabAmt").stream().collect(Collectors.toMap(IteminfoUpld::getMedChrgitm, a -> a, (k1, k2) -> k1));
|
|
|
+ Map<String, IteminfoUpld> yiLeiFeiYong = dao.aAndBAndCFees(setlId, "02", "clabAmt").stream().collect(Collectors.toMap(IteminfoUpld::getMedChrgitm, a -> a, (k1, k2) -> k1));
|
|
|
// 自费
|
|
|
- Map<String, IteminfoUpld> fulamtOwnpayAmt = dao.fulamtOwnpayAmt(setlId).stream().collect(Collectors.toMap(IteminfoUpld::getMedChrgitm, a -> a, (k1, k2) -> k1));
|
|
|
+ Map<String, IteminfoUpld> fulamtOwnpayAmt = dao.aAndBAndCFees(setlId, "03", "fulamtOwnpayAmt").stream().collect(Collectors.toMap(IteminfoUpld::getMedChrgitm, a -> a, (k1, k2) -> k1));
|
|
|
if (ListUtil.notBlank(amtAndOthAmt)) {
|
|
|
for (IteminfoUpld item : amtAndOthAmt) {
|
|
|
String key = item.getMedChrgitm();
|