|
|
@@ -597,7 +597,9 @@ namespace Business.ResourceExamineManagement
|
|
|
/// <returns></returns>
|
|
|
public async Task<string> receiveresultControllerApi(string companyid)
|
|
|
{
|
|
|
- var seorders = _mysql_crm_seorder.GetListAsync(s => s.company_id.ToString() == companyid).Result;
|
|
|
+ //获取订单行数据
|
|
|
+ var sentrys = await _mysql_crm_seorderentry.GetListAsync(p => (p.progress == "1" || p.progress == "2") && p.company_id.ToString() == companyid && !p.IsDeleted);
|
|
|
+ var seorders = _mysql_crm_seorder.GetListAsync(s => sentrys.Select(x => x.seorder_id.GetValueOrDefault()).Contains(s.Id) && s.company_id.ToString() == companyid).Result;
|
|
|
string ids = string.Join(',', seorders.Select(x => x.Id));
|
|
|
var rtn = await ReceiveResult(ids, 0, companyid);
|
|
|
if (rtn == "ok")
|