animeic 1 éve
szülő
commit
3a0f4d4eec
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      boxcost/api/supplier.go

+ 1 - 1
boxcost/api/supplier.go

@@ -173,7 +173,7 @@ func SupplierBillList(c *gin.Context, apictx *ApiSession) (interface{}, error) {
 		Page:        page,
 		Size:        size,
 		Query:       query,
-		Sort:        repo.Map{"sendTime": -1},
+		Sort:        bson.M{"sendTime": -1},
 	})
 }