Commit 3dd53c3704569bcd5b92963af224c6899119cb06
1 parent
0ff32143
Exists in
dev
金额报表,添加数据隔离
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
zr-cloud/zr-modules/zr-schsf/src/main/resources/mapper/McBasicMoneyMapper.xml
... | ... | @@ -314,6 +314,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
314 | 314 | (IFNULL(t.cny_prev_full,0)+IFNULL(wnbnqk.cny_prev_full,0)) AS cny_prev_full, |
315 | 315 | (IFNULL(t.cny_prev_install,0) + IFNULL(wnbnfq.cny_prev_install,0)) AS cny_prev_install |
316 | 316 | FROM mc_basic_money t |
317 | + left join sys_user u on u.user_id = t.create_by | |
318 | + left join sys_dept d on d.dept_id = t.company_code | |
317 | 319 | LEFT JOIN ( |
318 | 320 | SELECT fiscal_year, company_code, urb_rur_cls, vlg_or_cmty,SUM(charge_amt) AS cny_yr_full |
319 | 321 | FROM mc_visit | ... | ... |