animeic 1 år sedan
förälder
incheckning
3a0f4d4eec
1 ändrade filer med 1 tillägg och 1 borttagningar
  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},
 	})
 }