| | |
| | | else |
| | | { |
| | | Console.WriteLine(responseData.errcode); |
| | | //Console.WriteLine(); |
| | | } |
| | | |
| | | } |
| | |
| | | await Task.Delay(TimeSpan.FromMinutes(1)); |
| | | } |
| | | |
| | | } |
| | | //public static (string, string,string) Get_User() |
| | | //{ |
| | | // //查询数据库子表所有信息 |
| | | // string sql = "select a.HReceiveMan 接收人,c.HDingDingUserID 钉钉id,b.HDescription 内容 from OA_ErrMsgBackBillSub2 a left join OA_ErrMsgBackBillMain b on a.HInterID=b.HInterID left join Gy_Czygl c on a.HReceiveMan=c.Czymc where HSendFlag = '0'"; |
| | | // dt = oCN.RunProcReturn(sql, "OA_ErrMsgBackBillSub2"); |
| | | // if (dt.Tables[0].Rows.Count>0) |
| | | // { |
| | | // string HContext = dt.Tables[0].Rows[0]["内容"].ToString(); |
| | | // List<string> HNames = new List<string>(); |
| | | // List<string> StaresList = new List<string>(); |
| | | |
| | | // for (int i = 0; i < dt.Tables[0].Rows.Count; i++) |
| | | // { |
| | | // string HName = dt.Tables[0].Rows[i]["钉钉id"].ToString(); |
| | | // string Stares = dt.Tables[0].Rows[i]["接收人"].ToString(); |
| | | // HNames.Add(HName); |
| | | // StaresList.Add(Stares); |
| | | |
| | | // } |
| | | // string concatenatedNames = string.Join(",", HNames); |
| | | // string concatenatedStares = string.Join("','", StaresList); |
| | | // return (concatenatedNames, HContext, concatenatedStares); |
| | | // } |
| | | |
| | | // return ("1","1","1"); |
| | | //} |
| | | |
| | | } |
| | | public class ResponseData |
| | | { |
| | | public int errcode { get; set; } |