Browse Source

回显字段处理

WH01243 7 months ago
parent
commit
6f441c5857
1 changed files with 1 additions and 5 deletions
  1. 1 5
      jyBXCore/rpc/service/operator.go

+ 1 - 5
jyBXCore/rpc/service/operator.go

@@ -919,11 +919,7 @@ func SearchList(operator Operator) (int64, *[]map[string]interface{}, int64) {
 			_, winnerMap := getConfiguration("运营商中标标签", "winner_tag", operator.EntId, operator.PositionId)
 			_, industryMap := getConfiguration("行业", "industry", operator.EntId, operator.PositionId)
 			fileArr := &[]map[string]interface{}{}
-			if operator.Tag == 0 {
-				fileArr = IC.BiMysql.SelectBySql("select   * from   field_order       ")
-			} else {
-				fileArr = IC.BiMysql.SelectBySql("select   * from   field_order   where   FIND_IN_SET(?,config_class)", operator.Tag)
-			}
+			fileArr = IC.BiMysql.SelectBySql("select   * from   field_order   where   FIND_IN_SET(?,config_class)", operator.Tag)
 			//中标单位处理
 			for i, v := range *data {
 				newData := map[string]interface{}{}