wangchuanjin 9 ヶ月 前
コミット
df29ff937b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      api/internal/service/initNetwork.go

+ 1 - 1
api/internal/service/initNetwork.go

@@ -138,7 +138,7 @@ func (i *InitNetwork) Init() {
 	index := 0
 	typeLimit := map[int]int{}
 	if CrmMysql.ExecTx("初始化人脉", func(tx *sql.Tx) bool {
-		if CrmMysql.UpdateOrDeleteBySqlByTx(tx, `delete a,b from crm.connection a inner join crm.connection_introduce on (a.position_id=? and a.source=1 and a.id=b.connection_id)`, i.PositionId) < 0 {
+		if CrmMysql.UpdateOrDeleteBySqlByTx(tx, `delete a,b from crm.connection a inner join crm.connection_introduce b on (a.position_id=? and a.source=1 and a.id=b.connection_id)`, i.PositionId) < 0 {
 			return false
 		}
 		for _, v := range array {