|
@@ -55,6 +55,7 @@ public class TaGoodsController extends BaseController {
|
55
|
55
|
public ResponseBean taGoodsList(@RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
|
56
|
56
|
@RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize,
|
57
|
57
|
@RequestParam(value = "goodsName",required = false) String goodsName,
|
|
58
|
+ @RequestParam(value = "buildingId",required = false) String buildingId,
|
58
|
59
|
@RequestParam(value ="priceLesser",required = false) Integer priceLesser,
|
59
|
60
|
@RequestParam(value ="priceGreater",required = false) Integer priceGreater,
|
60
|
61
|
@RequestParam(value ="status",required = false) Integer status){
|
|
@@ -67,6 +68,7 @@ public class TaGoodsController extends BaseController {
|
67
|
68
|
queryWrapper.lt(null!=priceGreater,"point_price",priceGreater);
|
68
|
69
|
queryWrapper.gt(null != priceLesser,"point_price",priceLesser);
|
69
|
70
|
queryWrapper.eq(null != status,"status",status);
|
|
71
|
+ queryWrapper.eq(!StringUtils.isEmpty(buildingId),"building_id",buildingId);
|
70
|
72
|
queryWrapper.orderByDesc("create_date");
|
71
|
73
|
|
72
|
74
|
IPage<TaGoods> result = iTaGoodsService.page(pg, queryWrapper);
|