|
|
|
@ -335,9 +335,9 @@ namespace Myshipping.Core.Service
|
|
|
|
|
return list;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public async Task<List<(string codeName, string shortName)>> QueryDjyCustomerByProp(string[] propStringCodes)
|
|
|
|
|
public async Task<List<(string codeName, string shortName)>> QueryDjyCustomerByProp(string propStringCode)
|
|
|
|
|
{
|
|
|
|
|
string propStringStr = string.Concat('[', string.Join("][", propStringCodes), ']');
|
|
|
|
|
string propStringStr = string.Concat('[', propStringCode, ']');
|
|
|
|
|
var entityList = await _rep.AsQueryable()
|
|
|
|
|
.Where(x => x.PropString.Contains(propStringStr))
|
|
|
|
|
.Select(x => new { code = x.CodeName, name = x.ShortName })
|
|
|
|
|