| | |
| | | |
| | | left join ( |
| | | select "res_guid",WM_Concat("user_unit") "user_unit",WM_Concat("user_name") "user_name",WM_Concat("user_phone") "user_phone",WM_Concat("position") "position" |
| | | from "SJZT_MD"."tb_res_manage_person" where "type"=1 GROUP BY "res_guid" |
| | | from "SJZT_MD"."att_res_manage_person" where "type"=1 GROUP BY "res_guid" |
| | | ) trmp1 on arb."guid" = trmp1."res_guid" |
| | | |
| | | left join ( |
| | | select "res_guid",WM_Concat("user_unit") "user_unit",WM_Concat("user_name") "user_name",WM_Concat("user_phone") "user_phone",WM_Concat("position") "position" |
| | | from "SJZT_MD"."tb_res_manage_person" where "type"=2 GROUP BY "res_guid" |
| | | from "SJZT_MD"."att_res_manage_person" where "type"=2 GROUP BY "res_guid" |
| | | ) trmp2 on arb."guid" = trmp2."res_guid" |
| | | |
| | | left join ( |
| | | select "res_guid",WM_Concat("user_unit") "user_unit",WM_Concat("user_name") "user_name",WM_Concat("user_phone") "user_phone",WM_Concat("position") "position" |
| | | from "SJZT_MD"."tb_res_manage_person" where "type"=3 GROUP BY "res_guid" |
| | | from "SJZT_MD"."att_res_manage_person" where "type"=3 GROUP BY "res_guid" |
| | | ) trmp3 on arb."guid" = trmp3."res_guid" |
| | | |
| | | left join ( |
| | | select "res_guid",WM_Concat("user_unit") "user_unit",WM_Concat("user_name") "user_name",WM_Concat("user_phone") "user_phone",WM_Concat("position") "position" |
| | | from "SJZT_MD"."tb_res_manage_person" where "type"=4 GROUP BY "res_guid" |
| | | from "SJZT_MD"."att_res_manage_person" where "type"=4 GROUP BY "res_guid" |
| | | ) trmp4 on arb."guid" = trmp4."res_guid" |
| | | |
| | | left join ( |
| | | select "res_guid",WM_Concat("user_unit") "user_unit",WM_Concat("user_name") "user_name",WM_Concat("user_phone") "user_phone",WM_Concat("position") "position" |
| | | from "SJZT_MD"."tb_res_manage_person" where "type"=5 GROUP BY "res_guid" |
| | | from "SJZT_MD"."att_res_manage_person" where "type"=5 GROUP BY "res_guid" |
| | | ) trmp5 on arb."guid" = trmp5."res_guid" |
| | | where 1=1 |
| | | <if test="params.name !=null and params.name !=''"> |