|
@@ -21,7 +21,7 @@ public class GoodServiceImpl implements GoodsService {
|
|
GoodsExample example = GoodsExample.newAndCreateCriteria()
|
|
GoodsExample example = GoodsExample.newAndCreateCriteria()
|
|
.andShowTypeEqualTo("0")
|
|
.andShowTypeEqualTo("0")
|
|
.example();
|
|
.example();
|
|
- example.orderBy(Goods.Column.weigh.desc());
|
|
|
|
|
|
+ example.orderBy(Goods.Column.weigh.asc());
|
|
return goodsMapper.selectByExample(example);
|
|
return goodsMapper.selectByExample(example);
|
|
}
|
|
}
|
|
}
|
|
}
|