版本更新

This commit is contained in:
Zhang.WH
2025-10-16 17:17:24 +08:00
parent d23a594a4b
commit f515bb8fbb
600 changed files with 7881 additions and 35954 deletions

View File

@@ -123,7 +123,9 @@
t2.contract_no,
t5.insutype,
t5.med_type,
t7.medfee_sumamt
t6.kind_enum,
t7.medfee_sumamt,
t8.medfee_sumamt as return_medfee_sumamt
FROM
fin_payment_rec_detail t1
LEFT JOIN adm_account t2 on t1.account_id = t2.id
@@ -132,11 +134,13 @@
LEFT JOIN yb_clinc_reg t5 on t4.bus_no = t5.ipt_otp_no AND t4.delete_flag = '0'
LEFT JOIN fin_payment_reconciliation t6 on t6.id = t1.reconciliation_id AND t6.delete_flag = '0'
LEFT JOIN yb_clinc_settle t7 on t1.pay_trans_text = t7.setl_id
LEFT JOIN yb_clinc_un_settle t8 on t6.yb_settle_ids = t8.settle_id
WHERE
1=1
AND t6.bill_date > #{startTime}
AND t6.bill_date < #{endTime}
AND t6.status_enum != #{draft}
AND t5.med_type IS NOT NULL
AND t1.account_id IS NOT NULL
<if test="idList != null and idList.size() > 0">
AND t1.reconciliation_id IN
@@ -144,6 +148,5 @@
#{item}
</foreach>
</if>
</select>
</mapper>