|
|
@@ -239,7 +239,11 @@ public class DistributeController {
|
|
|
*/
|
|
|
@GetMapping("/get/plat")
|
|
|
public Result<List<GoodsDon>> getGoodsDistributeRate() {
|
|
|
- return GatewayResponse.SUCCESS.newBuilder().toResult(goodsDonMapper.selectList(Wrappers.lambdaQuery(GoodsDon.class).in(GoodsDon::getType, Constant.dsGoodsIds).eq(GoodsDon::getDeleted, true).eq(GoodsDon::getStatus, true).orderByAsc(GoodsDon::getType).orderByAsc(GoodsDon::getId).select(GoodsDon::getId, GoodsDon::getType, GoodsDon::getTitle, GoodsDon::getRate, GoodsDon::getSecondRate)));
|
|
|
+ return GatewayResponse.SUCCESS.newBuilder().toResult(goodsDonMapper.selectList(Wrappers.lambdaQuery(GoodsDon.class).in(GoodsDon::getType, Constant.dsGoodsIds).eq(GoodsDon::getDeleted, true)
|
|
|
+ .eq(GoodsDon::getStatus, true).orderByAsc(GoodsDon::getType)
|
|
|
+ .eq(GoodsDon::getIsDistribute, true)
|
|
|
+ .orderByAsc(GoodsDon::getId)
|
|
|
+ .select(GoodsDon::getId, GoodsDon::getType, GoodsDon::getTitle, GoodsDon::getRate, GoodsDon::getSecondRate)));
|
|
|
}
|
|
|
|
|
|
/**
|