二次分配查询修改

parent c29e66aa
......@@ -23,7 +23,7 @@ public int DeleteComputeHistory(int secondId)
/// <returns></returns>
public List<view_second_compute_collect> GetComputeByAllot(int allotId)
{
var datas = DapperQuery<view_second_compute_collect>("SELECT * FROM ag_compute WHERE AllotId = @allotId", new { allotId });
var datas = DapperQuery<view_second_compute_collect>("SELECT * FROM view_second_compute_collect WHERE AllotId = @allotId", new { allotId });
if (datas != null)
return datas.ToList();
......@@ -36,7 +36,7 @@ public List<view_second_compute_collect> GetComputeByAllot(int allotId)
/// <returns></returns>
public List<view_second_compute_collect> GetComputeBySecond(int secondId)
{
var datas = DapperQuery<view_second_compute_collect>("SELECT * FROM ag_compute WHERE SecondId = @secondId", new { secondId });
var datas = DapperQuery<view_second_compute_collect>("SELECT * FROM view_second_compute_collect WHERE SecondId = @secondId", new { secondId });
if (datas != null)
return datas.ToList();
......
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