日期:2014-05-17 浏览次数:20649 次
SELECT A.username, A.fullname, A.password, A.userid, A.email, A.telephone, A.mobilephone, A.mphone, A.fax, A.worked_time, A.fee_center, A.reg_num, A.titleofpost, A.isenable, A.isadmin, A.memo, A.mailsize, A.conf_password, A.guid, A.img, CASE ison WHEN 1 THEN '在岗' ELSE '离岗' END AS isonmc, A.ison, A.orderid, dbo.EF_GETMNG(A.username) AS 主管, B.org FROM dbo.sys_user AS A LEFT OUTER JOIN dbo.sys_orgmenber AS B ON A.username = B.member UNION SELECT bm, cjr, cjrbm, cjrgw, cz, dw, fjh, qq, qyyx, sjdh, txdz, wb, wbyx, xm, yb, yddh, zjh, zy, sslb, gstxl, wldwtxl, guid, ' ' AS Expr1, ' ' AS Expr2, ' ' AS Expr3 FROM dbo.txl