Commit fe280ba0 authored by zhangwanglin's avatar zhangwanglin

统筹区修改

parent 08a083cb
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
--身份证号 --身份证号
disable.CERTI_CODE certiCode, disable.CERTI_CODE certiCode,
--所在省市 --所在省市
apply.MEDICAL_AREA medicalArea, (select district_name from ch_fnd_district dis where apply.MEDICAL_AREA = dis.district_code) medicalArea,
program.SRV_MODE_ID modeId, program.SRV_MODE_ID modeId,
--服务方式 --服务方式
DECODE(program.SRV_MODE_ID, '1','医疗','2', '养老','3','上门', '4', '异地') srvModeName, DECODE(program.SRV_MODE_ID, '1','医疗','2', '养老','3','上门', '4', '异地') srvModeName,
...@@ -149,7 +149,7 @@ select ...@@ -149,7 +149,7 @@ select
--身份证号 --身份证号
disable.CERTI_CODE certiCode, disable.CERTI_CODE certiCode,
--所在省市 --所在省市
apply.MEDICAL_AREA medicalArea, (select district_name from ch_fnd_district dis where apply.MEDICAL_AREA = dis.district_code) medicalArea,
mode1.MODE_ID modeId, mode1.MODE_ID modeId,
--服务方式 --服务方式
mode1.mode_name srvModeName, mode1.mode_name srvModeName,
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
d.ACCOUNTS_ALL_COST accountsAllCost, d.ACCOUNTS_ALL_COST accountsAllCost,
d.ACCOUNTS_OVERALL_COST accountsOverallCost, d.ACCOUNTS_OVERALL_COST accountsOverallCost,
d.ACCOUNTS_PERSONAL_COST accountsPersonalCost, d.ACCOUNTS_PERSONAL_COST accountsPersonalCost,
apply.MEDICAL_AREA medicalArea, (select district_name from ch_fnd_district dis where apply.MEDICAL_AREA = dis.district_code) medicalArea,
o.SRV_ORGAN_NAME srvOrganName, o.SRV_ORGAN_NAME srvOrganName,
info.REAL_NAME realName info.REAL_NAME realName
from CH_DISAB_ACCOUNTS_DETAIL d from CH_DISAB_ACCOUNTS_DETAIL d
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
d.ASSESS_COST assessAllCost, d.ASSESS_COST assessAllCost,
organ.organ_name assessOrganName, organ.organ_name assessOrganName,
to_char(d.ACCOUNTS_TIME,'yyyy-MM') accountsTime, to_char(d.ACCOUNTS_TIME,'yyyy-MM') accountsTime,
apply.MEDICAL_AREA medicalArea, (select district_name from ch_fnd_district dis where apply.MEDICAL_AREA = dis.district_code) medicalArea,
to_char(d.assess_time,'yyyy-MM-dd') assessTime, to_char(d.assess_time,'yyyy-MM-dd') assessTime,
emp.REAL_NAME empName emp.REAL_NAME empName
from CH_ASSESS_ACCOUNTS_DETAIL d from CH_ASSESS_ACCOUNTS_DETAIL d
...@@ -28,7 +28,7 @@ SELECT ...@@ -28,7 +28,7 @@ SELECT
t1.ASSESS_COST assessCost, t1.ASSESS_COST assessCost,
to_char(t1.assess_time,'yyyy-MM-dd') assessTime, to_char(t1.assess_time,'yyyy-MM-dd') assessTime,
t4.REAL_NAME empName, t4.REAL_NAME empName,
t2.MEDICAL_AREA medicalArea (select district_name from ch_fnd_district dis where t2.MEDICAL_AREA = dis.district_code) medicalArea,
FROM FROM
CH_ASSESS_ACCOUNTS_DETAIL t1 CH_ASSESS_ACCOUNTS_DETAIL t1
left join CH_DISABLE_APPLY t2 on t1.APPLY_ID = t2.APPLY_ID left join CH_DISABLE_APPLY t2 on t1.APPLY_ID = t2.APPLY_ID
......
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