|
@@ -281,13 +281,16 @@ namespace OASystem.Infrastructure.Repositories.Resource
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
- public async Task<Result> PostReqReqSampleTips(string country, string Area)
|
|
|
+ public async Task<Result> PostReqReqSampleTips(string country, string Area,string client)
|
|
|
{
|
|
|
if (string.IsNullOrEmpty(country)) return new Result() { Code = -1, Msg = "国家为空!" };
|
|
|
|
|
|
string sqlWhere = string.Empty;
|
|
|
if (!string.IsNullOrEmpty(Area)) sqlWhere = string.Format(@$" And oa.Area Like '%{Area}%'");
|
|
|
|
|
|
+ if (!string.IsNullOrEmpty(client)) sqlWhere = string.Format(@$" And oa.Client Like '%{client}%'");
|
|
|
+
|
|
|
+
|
|
|
string sql = string.Format(@$"Select di.TeamName,oa.Id,oa.Country,oa.Area,oa.Client,oa.ReqSample
|
|
|
From Res_OfficialActivities oa With(NoLock)
|
|
|
Left Join Grp_DelegationInfo di On oa.DiId = di.Id
|