Commit b250fffe authored by huyuchen's avatar huyuchen

花名册修改

parent 84b4ae03
...@@ -710,14 +710,11 @@ ...@@ -710,14 +710,11 @@
when a.TYPE = 1 then "派减" when a.TYPE = 1 then "派减"
else null end as "TYPE" , else null end as "TYPE" ,
a.SOCIAL_HOUSEHOLD_NAME, a.SOCIAL_HOUSEHOLD_NAME,
case when s.HANDLE_STATUS = 0 then "派增待办理" case when a.SOCIAL_HANDLE_STATUS = 0 then "未办理"
when s.HANDLE_STATUS = 1 then "派增办理成功" when a.SOCIAL_HANDLE_STATUS = 1 then "全部办理成功"
when s.HANDLE_STATUS = 2 then "派增办理失败" when a.SOCIAL_HANDLE_STATUS = 2 then "全部办理失败"
when s.HANDLE_STATUS = 3 then "已派减" when a.SOCIAL_HANDLE_STATUS = 3 then "部分办成功"
when s.HANDLE_STATUS = 4 then "派增办理中" when a.SOCIAL_HANDLE_STATUS = 4 then "办理中"
when s.HANDLE_STATUS = 5 then "派增部分办理失败"
when s.HANDLE_STATUS = 6 then "派减办理中"
when s.HANDLE_STATUS = 7 then "派减部分办理失败"
else null end as "SOCIAL_HANDLE_STATUS", else null end as "SOCIAL_HANDLE_STATUS",
IF(a.TYPE='0', IF(a.TYPE='0',
case when s.PENSION_HANDLE = 0 then "派增待办理" case when s.PENSION_HANDLE = 0 then "派增待办理"
......
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