|
@@ -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 {
|