- GetStoreDetail返回CityName
This commit is contained in:
@@ -1286,13 +1286,14 @@ func SendAlarmVendorSnapshot(ctx *jxcontext.Context, parentTask tasksch.ITask, p
|
||||
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
|
||||
mobile := batchItemList[0].(string)
|
||||
var dataList []map[string]interface{}
|
||||
captionList := []string{"京西门店ID", "门店名"}
|
||||
captionList := []string{"京西门店ID", "门店名", "城市"}
|
||||
isFirstRow := true
|
||||
for storeID := range userMap[mobile] {
|
||||
prevSnapshotMap := alarmMap[storeID]
|
||||
data := map[string]interface{}{
|
||||
"京西门店ID": storeID,
|
||||
"门店名": storeDetailMap[storeID].Store.Name,
|
||||
"城市": storeDetailMap[storeID].CityName,
|
||||
}
|
||||
for _, vendorID := range []int{model.VendorIDJD, model.VendorIDEBAI, model.VendorIDMTWM} {
|
||||
if isFirstRow {
|
||||
|
||||
Reference in New Issue
Block a user