GetStoreListByMobileOrStoreIDs查tel1,tel2
This commit is contained in:
@@ -142,8 +142,8 @@ func GetStoreListByMobileOrStoreIDs(db *DaoDB, mobile string, shortRoleNameList
|
|||||||
utils.DefaultTimeValue,
|
utils.DefaultTimeValue,
|
||||||
}
|
}
|
||||||
if mobile != "" {
|
if mobile != "" {
|
||||||
sql += " OR t1.market_man_phone = ? OR t1.operator_phone = ? OR t1.operator_phone2 = ?"
|
sql += " OR t1.tel1 = ? OR t1.tel2 = ? OR t1.market_man_phone = ? OR t1.operator_phone = ? OR t1.operator_phone2 = ?"
|
||||||
sqlParams = append(sqlParams, mobile, mobile, mobile)
|
sqlParams = append(sqlParams, mobile, mobile, mobile, mobile, mobile)
|
||||||
}
|
}
|
||||||
if len(shortRoleNameList) > 0 {
|
if len(shortRoleNameList) > 0 {
|
||||||
questionMarks := GenQuestionMarks(len(shortRoleNameList))
|
questionMarks := GenQuestionMarks(len(shortRoleNameList))
|
||||||
|
|||||||
Reference in New Issue
Block a user