Commit dda327c7 authored by solho's avatar solho

feat:關帳設定加入更新人員

parent 3502fbad
...@@ -132,10 +132,11 @@ namespace WebAPI.Controllers ...@@ -132,10 +132,11 @@ namespace WebAPI.Controllers
{ {
SqlCommand cmd = new SqlCommand("", Conn); SqlCommand cmd = new SqlCommand("", Conn);
String strsql = "" ; String strsql = "" ;
strsql += String.Format(@"select a.id, Settle_Date ,isClosed ,Emp_DS ,a.update_time,b.id as DStargetid,b.Emp_DSNum from [esn_todos_Settle] a strsql += String.Format(@"select a.id, Settle_Date ,isClosed ,b.Emp_DS ,a.update_time,b.id as DStargetid,b.Emp_DSNum,e.cn_name as update_user from [esn_todos_Settle] a
inner join [evw_qResult_EmpDS] b on a.DSNum=b.Emp_DSNum inner join [evw_qResult_EmpDS] b on a.DSNum=b.Emp_DSNum
left join [evw_qResult_Dept] c on a.DeptNum=c.targetID left join [evw_qResult_Dept] c on a.DeptNum=c.targetID
left join [evw_qResult_EmpItem] d on a.ItemNum=d.Emp_ItemNum left join [evw_qResult_EmpItem] d on a.ItemNum=d.Emp_ItemNum
left join evw_Employee e on a.update_user_id=e.user_id
where 1=1 "); where 1=1 ");
if (obj_input["Permission_furtherSql"] != null) if (obj_input["Permission_furtherSql"] != null)
{ {
......
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