This commit is contained in:
richboo111
2023-01-05 18:31:08 +08:00
parent adad91cd52
commit 3bc119ab21
5 changed files with 75 additions and 23 deletions

View File

@@ -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)
}