|
|
|
@ -976,7 +976,7 @@ public class Ghre_StudyRecordServices : BaseServices<Ghre_StudyRecord, Ghre_Stud |
|
|
|
|
var value = jProperty.Value.ToString(); |
|
|
|
|
if (name == "page" || name == "pageSize") |
|
|
|
|
continue; |
|
|
|
|
if (name == "CourseNoOrName") |
|
|
|
|
if (name == "CourseNoOrName" || name == "KeyWords") |
|
|
|
|
{ |
|
|
|
|
var jsonParam = JsonConvert.DeserializeObject<JsonParam>(value); |
|
|
|
|
conditions += $" AND CourseName LIKE '%{jsonParam.columnValue}%'"; |
|
|
|
@ -998,7 +998,7 @@ public class Ghre_StudyRecordServices : BaseServices<Ghre_StudyRecord, Ghre_Stud |
|
|
|
|
conditions += $" AND {name} LIKE '%{jsonParam.columnValue}%'"; |
|
|
|
|
|
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (name == "CourseStatus") |
|
|
|
|
{ |
|
|
|
@ -1216,7 +1216,7 @@ WHERE A.Status !='Temporary' AND A.Status !='Close' AND A.IsEnable=1 AND ( E |
|
|
|
|
var value = jProperty.Value.ToString(); |
|
|
|
|
if (name == "page" || name == "pageSize") |
|
|
|
|
continue; |
|
|
|
|
if (name == "CourseNoOrName") |
|
|
|
|
if (name == "CourseNoOrName" || name == "KeyWords") |
|
|
|
|
{ |
|
|
|
|
var jsonParam = JsonConvert.DeserializeObject<JsonParam>(value); |
|
|
|
|
conditions += $" AND CourseName LIKE '%{jsonParam.columnValue}%'"; |
|
|
|
|