|
@@ -2,7 +2,6 @@ package services
|
|
|
|
|
|
import (
|
|
|
"errors"
|
|
|
- "fmt"
|
|
|
"hongze/hongze_cygx/models"
|
|
|
"hongze/hongze_cygx/utils"
|
|
|
"strconv"
|
|
@@ -15,7 +14,7 @@ func GetScheduleAndSpecilList(user *models.WxUserItem, condition string, startSi
|
|
|
var pars, parsSpecil []interface{}
|
|
|
condition += ` AND my.user_id = ?`
|
|
|
pars = append(pars, user.UserId)
|
|
|
- conditionSpecil += ` AND my.user_id = ?`
|
|
|
+ conditionSpecil += ` AND my.user_id = ? AND my.is_cancel = 0 `
|
|
|
parsSpecil = append(parsSpecil, user.UserId)
|
|
|
list, e := models.GetScheduleAndSpecilList(condition, pars, conditionSpecil, parsSpecil, startSize, pageSize)
|
|
|
if e != nil {
|
|
@@ -107,7 +106,6 @@ func GetScheduleAndSpecilList(user *models.WxUserItem, condition string, startSi
|
|
|
list[k].ActiveState = strconv.Itoa(2)
|
|
|
}
|
|
|
}
|
|
|
- fmt.Println(list[k].ActiveState)
|
|
|
}
|
|
|
}
|
|
|
items = list
|