Commit bf9d83a0 authored by 18310373984@163.com's avatar 18310373984@163.com

费用审核-点击明细列表接口修改,增加ch_srv_program.program_id方便跳转到打卡列表页面

parent a798e529
......@@ -10,7 +10,7 @@
d.ACCOUNTS_ALL_COST accountsAllCost,
d.ACCOUNTS_OVERALL_COST accountsOverallCost,
d.ACCOUNTS_PERSONAL_COST accountsPersonalCost,
d.TASK_DETAIL_ID taskDetailId,
pm.program_id taskDetailId,
ar.beloing_area beloingArea,
(select district_name from ch_fnd_district dis where apply.MEDICAL_AREA = dis.district_code) medicalArea,
o.SRV_ORGAN_NAME srvOrganName,
......@@ -29,6 +29,11 @@
left join CH_DISABLE_APPLY apply on info.APPLY_ID=apply.APPLY_ID
left join CH_SRV_ORGAN o on d.SRV_ORGAN_ID = o.SRV_ORGAN_ID
left join ch_fnd_district_beloing_area ar on apply.MEDICAL_AREA=ar.district_code
left join (select max(p.program_id) program_id,p.disab_info_id,m.mode_name,p.srv_organ_id from ch_srv_program p,
ch_cfg_srv_mode m where p.srv_mode_id=m.mode_id
group by p.disab_info_id,m.mode_name,p.srv_organ_id) pm on d.srv_organ_id=pm.srv_organ_id
and d.mode_name=pm.mode_name
and d.disab_info_id=pm.disab_info_id
<where>
1=1
<if test="req.flag != null and req.flag != ''">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment