看板传参
This commit is contained in:
parent
7116e4eff4
commit
010d6f2246
@ -1020,6 +1020,11 @@ namespace APT.SC.WebApi.Controllers.Api.BI
|
||||
{
|
||||
throw new Exception("只能查询本年度数据,请修改结束时间!");
|
||||
}
|
||||
var company = "邦泰";
|
||||
if (!string.IsNullOrEmpty(filter.Keyword))
|
||||
{
|
||||
company = filter.Keyword;
|
||||
}
|
||||
JsonActionResult<JobManage> result = new JsonActionResult<JobManage>();
|
||||
result.Data = new JobManage();
|
||||
var list = new List<JobList>();
|
||||
@ -1033,7 +1038,7 @@ namespace APT.SC.WebApi.Controllers.Api.BI
|
||||
|
||||
connection.Open();
|
||||
//当日危险作业清单
|
||||
string sql = "select * from vhome_jobTodayList where create_time >='"+ startDate +"' and create_time<='" + endDate+"'";
|
||||
string sql = "select * from vhome_jobTodayList where create_time >='"+ startDate +"' and create_time<='" + endDate+"' and companyName ='" + company + "'";
|
||||
SqlCommand com = new SqlCommand(sql, connection);
|
||||
SqlDataAdapter data = new SqlDataAdapter(com);
|
||||
data.Fill(tableList);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user