修改邮件解析配置

optimize
jianghaiqing 11 months ago
parent 82d13a9c9e
commit d083ee3cc2

@ -371,7 +371,7 @@ namespace Myshipping.Application
try
{
var parList = _emailExcuteCodeInjectConfigInfoRepository.AsQueryable()
var parList = _emailExcuteCodeInjectConfigInfoRepository.AsQueryable().Filter(null, true)
.WhereIF(!string.IsNullOrWhiteSpace(queryItem), inj =>
inj.INJECT_CODE.Contains(queryItem) || inj.INJECT_NAME.Contains(queryItem) || inj.INJECT_FULLNAME.Contains(queryItem))
.OrderBy(inj => inj.INJECT_NAME)

@ -393,7 +393,7 @@ namespace Myshipping.Application
try
{
var parList = _emailParserConfigInfoRepository.AsQueryable()
var parList = _emailParserConfigInfoRepository.AsQueryable().Filter(null, true)
.InnerJoin<EmailExcuteCodeInjectConfigInfo>((par, inj) => par.INJECT_ID == inj.GID)
.WhereIF(!string.IsNullOrWhiteSpace(queryItem), (par, inj) =>
par.PARSER_CODE.Contains(queryItem) || par.PARSER_NAME.Contains(queryItem) || inj.INJECT_CODE.Contains(queryItem)

Loading…
Cancel
Save