|
@@ -1525,6 +1525,9 @@ Inner Join Sys_Department as d With(Nolock) On u.DepId=d.Id Where m.Id={0} ", _m
|
|
|
[ProducesResponseType(typeof(JsonView), StatusCodes.Status200OK)]
|
|
|
public async Task<IActionResult> QueryInvitationOfficialActivityData(QueryInvitationOfficialActivityDataDto dto)
|
|
|
{
|
|
|
+
|
|
|
+ var ExcludedKeyStr = new string[] { "快递费" };
|
|
|
+
|
|
|
try
|
|
|
{
|
|
|
#region 参数验证
|
|
@@ -1549,6 +1552,11 @@ Inner Join Sys_Department as d With(Nolock) On u.DepId=d.Id Where m.Id={0} ", _m
|
|
|
}
|
|
|
sqlWhere += string.Format(@"And i.Isdel={0}", 0);
|
|
|
|
|
|
+ foreach (var item in ExcludedKeyStr)
|
|
|
+ {
|
|
|
+ sqlWhere += $" And i.UnitName not like '%{item}%' ";
|
|
|
+ }
|
|
|
+
|
|
|
if (!string.IsNullOrEmpty(sqlWhere.Trim()))
|
|
|
{
|
|
|
Regex r = new Regex("And");
|