1
This commit is contained in:
@@ -6120,10 +6120,19 @@ func SetStoreAutoCallRider(vendorOrgCode string, openIDs, closeIDs []int64) (str
|
||||
}
|
||||
}
|
||||
if errList.GetErrListAsOne() != nil {
|
||||
return fmt.Sprintf("部分门店设置自动运力失败:%s", utils.Format4Output(errList.GetErrListAsOne(), false)), nil
|
||||
return fmt.Sprintf("部分门店配置自动运力失败:%s", utils.Format4Output(errList.GetErrListAsOne(), false)), nil
|
||||
}
|
||||
return "", nil
|
||||
}
|
||||
|
||||
//辅助函数
|
||||
func String2Array(data string) (retVal []int64) {
|
||||
temp := strings.Split(data, ",")
|
||||
for _, v := range temp {
|
||||
retVal = append(retVal, utils.Str2Int64(v))
|
||||
}
|
||||
return retVal
|
||||
}
|
||||
func GetVendorStoreBind(vendorStoreId string, vendorId int) (int, error) {
|
||||
return dao.GetCodeAndIDByMeiTuan(vendorStoreId, vendorId)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user