|
|
@@ -191,8 +191,7 @@ public class CmsGoodsDonController {
|
|
|
public Result<List<GoodsDon>> getAllGoodsList() {
|
|
|
List<GoodsDon> goodsDons = beanSearcher.searchAll(GoodsDon.class, MapUtils.flatBuilder(request.getParameterMap())
|
|
|
.field(GoodsDon::getDeleted, true)
|
|
|
- .put("condition", String.format("(special_type is null or special_type != giftCard)"))
|
|
|
- .field(GoodsDon::getSpecialType, GoodsDon.SpecialType.giftCard.name()).op(Operator.NotEqual)
|
|
|
+ .put("condition", "(special_type is null or special_type != 'giftCard')")
|
|
|
.onlySelect(GoodsDon::getId, GoodsDon::getCategory, GoodsDon::getType, GoodsDon::getTitle).build());
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(goodsDons);
|
|
|
}
|