|
@@ -92,8 +92,6 @@
|
|
|
select
|
|
|
sum(ccg.amount)
|
|
|
from cost_costing_group ccg
|
|
|
- left join sys_department sd
|
|
|
- on ccg.hosp_id = sd.hosp_id and ccg.department_code = sd.department_code
|
|
|
left join cost_responsibility cr
|
|
|
on ccg.responsibility_code = cr.responsibility_code and ccg.hosp_id = cr.hosp_id
|
|
|
left join cost_accounting ca on ccg.account_code = ca.accounting_code and ccg.hosp_id = ca.hosp_id
|
|
@@ -109,7 +107,6 @@
|
|
|
<if test="accountCode != null and accountCode != ''">
|
|
|
and ccg.account_code #{accountCode}
|
|
|
</if>
|
|
|
- and sd.delete_time = 0
|
|
|
and cr.delete_time = 0
|
|
|
and ca.delete_time = 0
|
|
|
</select>
|