|
|
@@ -39,6 +39,7 @@ type UpInfoSearch struct {
|
|
|
|
|
|
type NeedFileTypeStruct struct {
|
|
|
NeedFileType []string
|
|
|
+ CertSubName string
|
|
|
}
|
|
|
|
|
|
// @Title 获取所有
|
|
|
@@ -162,17 +163,22 @@ func (this *SelectController) GetTList() {
|
|
|
where = where + " and ab.BusinessScope like '%" + model.BusinessScope + "%'"
|
|
|
}
|
|
|
|
|
|
- //包含资质
|
|
|
- if model2.NeedFileType != nil && len(model2.NeedFileType) > 0 {
|
|
|
- pararm := ""
|
|
|
- for i := 0; i < len(model2.NeedFileType); i++ {
|
|
|
-
|
|
|
- pararm = pararm + "'" + model2.NeedFileType[i] + "',"
|
|
|
-
|
|
|
- }
|
|
|
- fmt.Println(pararm[0 : len(pararm)-1])
|
|
|
- where = where + " and d.NeedFileType in (" + pararm[0:len(pararm)-1] + ")"
|
|
|
- }
|
|
|
+ ////包含资质(有问题)
|
|
|
+ //if model2.NeedFileType != nil && len(model2.NeedFileType) > 0 {
|
|
|
+ // pararm := ""
|
|
|
+ // for i := 0; i < len(model2.NeedFileType); i++ {
|
|
|
+ //
|
|
|
+ // pararm = pararm + "'" + model2.NeedFileType[i] + "',"
|
|
|
+ //
|
|
|
+ // }
|
|
|
+ // fmt.Println(pararm[0 : len(pararm)-1])
|
|
|
+ // where = where + " and d.NeedFileType in (" + pararm[0:len(pararm)-1] + ")"
|
|
|
+ //}
|
|
|
+ //
|
|
|
+ ////包含准入范围(有问题)
|
|
|
+ //if model2.CertSubName!="" {
|
|
|
+ //
|
|
|
+ //}
|
|
|
svc := selectbusiness.GetSelectService(utils.DBE)
|
|
|
var list []supplier.OilSupplierView
|
|
|
|