瀏覽代碼

Merge branch 'release' into dev4.6.3.1

luwenna 3 年之前
父節點
當前提交
7d74f8dbb6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/jfw/modules/publicapply/src/bidcollection/entity/entity.go

+ 1 - 1
src/jfw/modules/publicapply/src/bidcollection/entity/entity.go

@@ -460,7 +460,7 @@ func Power(userid string) (bool, map[string]interface{}) {
 			if entInfo := *db.Mysql.SelectBySql(`SELECT status,isNew FROM entniche_info WHERE id  IN (SELECT ent_id FROM entniche_user where phone = ? and power =1)`, phone); len(entInfo) > 0 {
 			if entInfo := *db.Mysql.SelectBySql(`SELECT status,isNew FROM entniche_info WHERE id  IN (SELECT ent_id FROM entniche_user where phone = ? and power =1)`, phone); len(entInfo) > 0 {
 				for _, v := range entInfo {
 				for _, v := range entInfo {
 					//&& qu.IntAll(v["isNew"]) == 1
 					//&& qu.IntAll(v["isNew"]) == 1
-					if qu.IntAll(v["status"]) == 1 && qu.IntAll(v["isNew"]) == 1{
+					if qu.IntAll(v["status"]) == 1 {
 						isEnt = true
 						isEnt = true
 						break
 						break
 					}
 					}