Commit 7b5fc53e authored by huyuchen's avatar huyuchen

派单查询接口修改

parent e6103de1
......@@ -604,12 +604,12 @@
a.SOCIAL_HOUSEHOLD_NAME,
a.PROVIDENT_HOUSEHOLD_NAME,
a.SOCIAL_HANDLE_STATUS,
if(a.TYPE='0',s.PENSION_HANDLE,a.SOCIAL_HANDLE_STATUS) as PENSION_HANDLE,
if(a.TYPE='0',s.MEDICAL_HANDLE,a.SOCIAL_HANDLE_STATUS) as MEDICAL_HANDLE,
if(a.TYPE='0',s.UNEMPLOY_HANDLE,a.SOCIAL_HANDLE_STATUS) as UNEMPLOY_HANDLE,
if(a.TYPE='0',s.WORK_INJURY_HANDLE,a.SOCIAL_HANDLE_STATUS) as WORK_INJURY_HANDLE,
if(a.TYPE='0',s.BIRTH_HANDLE,a.SOCIAL_HANDLE_STATUS) as BIRTH_HANDLE,
if(a.TYPE='0',s.BIGAILMENT_HANDLE,a.SOCIAL_HANDLE_STATUS) as BIGAILMENT_HANDLE,
IF(a.TYPE='0',s.PENSION_HANDLE,IF(a.TYPE='1' and a.SOCIAL_HANDLE_STATUS = '1','3',a.SOCIAL_HANDLE_STATUS)) as PENSION_HANDLE,
IF(a.TYPE='0',s.MEDICAL_HANDLE,IF(a.TYPE='1' and a.SOCIAL_HANDLE_STATUS = '1','3',a.SOCIAL_HANDLE_STATUS)) as MEDICAL_HANDLE,
IF(a.TYPE='0',s.UNEMPLOY_HANDLE,IF(a.TYPE='1' and a.SOCIAL_HANDLE_STATUS = '1','3',a.SOCIAL_HANDLE_STATUS)) as UNEMPLOY_HANDLE,
IF(a.TYPE='0',s.WORK_INJURY_HANDLE,IF(a.TYPE='1' and a.SOCIAL_HANDLE_STATUS = '1','3',a.SOCIAL_HANDLE_STATUS)) as WORK_INJURY_HANDLE,
IF(a.TYPE='0',s.BIRTH_HANDLE,IF(a.TYPE='1' and a.SOCIAL_HANDLE_STATUS = '1','3',a.SOCIAL_HANDLE_STATUS)) as BIRTH_HANDLE,
IF(a.TYPE='0',s.BIGAILMENT_HANDLE,IF(a.TYPE='1' and a.SOCIAL_HANDLE_STATUS = '1','3',a.SOCIAL_HANDLE_STATUS)) as BIGAILMENT_HANDLE,
a.FUND_HANDLE_STATUS,
a.CREATE_NAME,
a.ORGAN_NAME,
......
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