只按价格降序得到返回数据中,价格相同的数据的update_time并没有按降序排序
{
"status": 10000,
"msg": "SUCCESS",
"data": {
"total": 18,
"list": [
{
"id": 22,
"name": "即食海参大连野生辽刺参 新鲜速食 特级生鲜海产 60~80G",
"image": "http://111.231.103.117:8081/images/haishen.jpg",
"detail": "商品毛重:1.5kg商品产地:中国大陆贮存条件:冷冻重量:50-99g国产/进口:国产适用场景:养生滋补包装:袋装原产地:辽宁年限:9年以上等级:特级食品工艺:冷冻水产热卖时间:9月类别:即食海参固形物含量:70%-90%特产品类:大连海参售卖方式:单品",
"categoryId": 13,
"price": 699,
"stock": 3,
"status": 1,
"createTime": "2019-12-28T15:16:29.000+0800",
"updateTime": "2020-02-11T00:04:29.000+0800"
},
{
"id": 21,
"name": "智利原味三文鱼排(大西洋鲑)240g/袋 4片装",
"image": "http://111.231.103.117:8081/images/sanwenyu2.jpg",
"detail": "商品毛重:260.00g商品产地:中国大陆保存状态:冷冻国产/进口:进口包装:简装类别:三文鱼海水/淡水:海水烹饪建议:煎炸,蒸菜,烧烤原产地:智利",
"categoryId": 8,
"price": 499,
"stock": 1,
"status": 1,
"createTime": "2019-12-28T15:13:07.000+0800",
"updateTime": "2020-02-10T23:38:46.000+0800"
},
{
"id": 42,
"name": "甜玉米 切好 香甜",
"image": "http://111.231.103.117:8081/images/tianyumi.jpg",
"detail": "品牌: 绿鲜知(greenseer)\n商品名称:绿鲜知甜玉米商品编号:4983604商品毛重:1.1kg商品产地:云南玉溪类别:玉米",
"categoryId": 18,
"price": 240,
"stock": 222,
"status": 1,
"createTime": "2019-12-28T16:06:34.000+0800",
"updateTime": "2020-02-11T00:52:19.000+0800"
},
{
"id": 24,
"name": "智利帝王蟹礼盒装4.4-4.0斤/只 生鲜活鲜熟冻大螃蟹",
"image": "http://111.231.103.117:8081/images/diwangxie.jpg",
"detail": "商品毛重:3.0kg商品产地:智利大闸蟹售卖方式:公蟹重量:2000-4999g套餐份量:5人份以上国产/进口:进口海水/淡水:海水烹饪建议:火锅,炒菜,烧烤,刺身,加热即食包装:简装原产地:智利保存状态:冷冻公单蟹重:5.5两及以上分类:帝王蟹特产品类:其它售卖方式:单品",
"categoryId": 7,
"price": 222,
"stock": 222,
"status": 1,
"createTime": "2019-12-28T16:06:34.000+0800",
"updateTime": "2020-02-11T00:05:05.000+0800"
},
{
"id": 25,
"name": "新疆库尔勒克伦生无籽红提 国产新鲜红提葡萄 提子 5斤装",
"image": "http://111.231.103.117:8081/images/hongti.jpg",
"detail": "商品毛重:2.5kg商品产地:中国大陆货号:XZL201909002重量:2000-3999g套餐份量:2人份国产/进口:国产是否有机:非有机单箱规格:3个装,4个装,5个装类别:红提包装:简装原产地:中国大陆售卖方式:单品",
"categoryId": 28,
"price": 222,
"stock": 222,
"status": 1,
"createTime": "2019-12-28T16:06:34.000+0800",
"updateTime": "2020-02-11T00:44:05.000+0800"
},
{
"id": 26,
"name": "越南进口红心火龙果 4个装 红肉中果 单果约330-420g",
"image": "http://111.231.103.117:8081/images/hongxinhuolongguo.jpg",
"detail": "商品毛重:1.79kg商品产地:越南重量:1000-1999g类别:红心火龙果包装:简装国产/进口:进口",
"categoryId": 28,
"price": 222,
"stock": 222,
"status": 1,
"createTime": "2019-12-28T16:06:34.000+0800",
"updateTime": "2020-02-11T00:44:11.000+0800"
},
{
"id": 27,
"name": "内蒙古羔羊肉串 500g/袋(约20串)鲜冻羊肉串 BBQ烧烤食材",
"image": "http://111.231.103.117:8081/images/yangrouchuan.jpg",
"detail": "商品毛重:0.585kg商品产地:内蒙古巴彦淖尔市保存状态:冷冻重量:500-999g套餐份量:3人份国产/进口:国产烹饪建议:烧烤原产地:内蒙古品种:其它热卖时间:4月,5月,6月,7月,8月,9月,10月,11月,12月饲养方式:圈养类别:羊肉串包装:简装套餐周期:12个月",
"categoryId": 16,
"price": 222,
"stock": 222,
"status": 1,
"createTime": "2019-12-28T16:06:34.000+0800",
"updateTime": "2020-02-11T00:11:30.000+0800"
},
{
"id": 28,
"name": "玛琪摩尔新西兰进口冰淇淋大桶装",
"image": "http://111.231.103.117:8081/images/bingqilin.jpg",
"detail": "商品毛重:1.04kg商品产地:新西兰国产/进口:进口包装:量贩装",
"categoryId": 17,
"price": 222,
"stock": 222,
"status": 1,
"createTime": "2019-12-28T16:06:34.000+0800",
"updateTime": "2020-02-11T00:10:40.000+0800"
},
{
"id": 29,
"name": "西兰花沙拉菜 350g 甜玉米粒 青豆豌豆 胡萝卜冷冻方便蔬菜",
"image": "http://111.231.103.117:8081/images/shalacai.jpg",
"detail": "商品毛重:370.00g商品产地:浙江宁波重量:500g以下套餐份量:家庭装类别:速冻玉米/豌豆包装:简装烹饪建议:炒菜,炖菜,煎炸,蒸菜售卖方式:单品",
"categoryId": 18,
"price": 222,
"stock": 222,
"status": 1,
"createTime": "2019-12-28T16:06:34.000+0800",
"updateTime": "2020-02-11T00:34:01.000+0800"
},
{
"id": 36,
"name": "四川果冻橙 吹弹可破",
"image": "http://111.231.103.117:8081/images/guodongcheng.jpg",
"detail": "商品毛重:370.00g商品产地:四川 重量:1000g",
"categoryId": 19,
"price": 222,
"stock": 222,
"status": 1,
"createTime": "2019-12-28T16:06:34.000+0800",
"updateTime": "2020-02-11T00:38:14.000+0800"
}
],
"pageNum": 1,
"pageSize": 10,
"size": 10,
"startRow": 1,
"endRow": 10,
"pages": 2,
"prePage": 0,
"nextPage": 2,
"isFirstPage": true,
"isLastPage": false,
"hasPreviousPage": false,
"hasNextPage": true,
"navigatePages": 8,
"navigatepageNums": [
1,
2
],
"navigateFirstPage": 1,
"navigateLastPage": 2
}
}
这种有两种排序规则的查询是按什么规则排序的呢?
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星