구매 복사시 요청자 선택안되는 현상 수정

This commit is contained in:
chikyun.kim
2019-09-06 17:32:11 +09:00
parent 509046bbc0
commit 45611d308a
12 changed files with 170 additions and 66 deletions

View File

@@ -125,8 +125,8 @@ namespace FCM0000
}
else
{
string filter = "isnull(namem,'') like '' or isnull(sid,'') like '' or isnull(model,'') like '' or isnull(supply,'') like ''";
filter = filter.Replace("''", "'%" + search.Replace("'","''") + "%'");
string filter = "isnull(name,'') like '%{0}%' or isnull(sid,'') like '%{0}%' or isnull(model,'') like '%{0}%' or isnull(supply,'') like '%{0}%'";
filter = string.Format(filter, search);
try
{
bs.Filter = filter;