Commit b2edaac7 authored by fangxinjiang's avatar fangxinjiang

社保办理失败推送微信-fxj

parent 88b2b9f5
......@@ -143,7 +143,14 @@
ELSE NULL END
) as type,
a.EMP_NAME,
GROUP_CONCAT(a.REASON) as REASON
GROUP_CONCAT(
CASE
WHEN a.TYPE = 0 THEN
CONCAT('社保:',a.REASON)
WHEN a.TYPE = 1 THEN
CONCAT('公积金:',a.REASON)
ELSE NULL END
) as REASON
FROM t_social_alert_info a
<where>
......
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