|
|
@@ -33,12 +33,19 @@ func (this *OilCatalogController) GetEntityList() {
|
|
|
asc = true
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+ CompanyName := this.GetString("CompanyName")
|
|
|
+ Business := this.GetString("Business")
|
|
|
catalogType := this.GetString("CatalogType")
|
|
|
CreateOn := this.GetString("CreateOn")
|
|
|
if catalogType != "" {
|
|
|
where = where + " and CatalogType=" + catalogType
|
|
|
}
|
|
|
+ if CompanyName != "" {
|
|
|
+ where = where + " and CompanyName like '%" + CompanyName +"%' "
|
|
|
+ }
|
|
|
+ if Business != "" {
|
|
|
+ where = where + " and Business like '%" + Business + "%' "
|
|
|
+ }
|
|
|
|
|
|
if CreateOn != "" {
|
|
|
dates := strings.Split(CreateOn, ",")
|