aa
This commit is contained in:
@@ -1253,9 +1253,9 @@ func SendQywxPeopleCount(ctx *jxcontext.Context) (err error) {
|
|||||||
for _, v := range mobiles {
|
for _, v := range mobiles {
|
||||||
store := &model.Store{}
|
store := &model.Store{}
|
||||||
sql := `
|
sql := `
|
||||||
SELECT * FROM store WHERE (tel1 = ? OR tel2 = ?)
|
SELECT * FROM store WHERE (tel1 = ? OR tel2 = ?) AND deleted_at = ?
|
||||||
`
|
`
|
||||||
sqlParams := []interface{}{v, v}
|
sqlParams := []interface{}{v, v, utils.DefaultTimeValue}
|
||||||
dao.GetRow(db, &store, sql, sqlParams)
|
dao.GetRow(db, &store, sql, sqlParams)
|
||||||
if store != nil {
|
if store != nil {
|
||||||
if mobileExistMap[store.Tel1] != "" || mobileExistMap[store.Tel2] != "" {
|
if mobileExistMap[store.Tel1] != "" || mobileExistMap[store.Tel2] != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user