Merge branch 'ww' into test
This commit is contained in:
commit
e9de90557e
|
|
@ -37,7 +37,7 @@ public class TbProductController {
|
||||||
|
|
||||||
@PostMapping("/list/v2")
|
@PostMapping("/list/v2")
|
||||||
@ApiOperation("查询商品列表 新")
|
@ApiOperation("查询商品列表 新")
|
||||||
public ResponseEntity<Object> queryTbProductV2(TbProductQueryV2Criteria criteria, Pageable pageable){
|
public ResponseEntity<Object> queryTbProductV2(@RequestBody TbProductQueryV2Criteria criteria, Pageable pageable){
|
||||||
return new ResponseEntity<>(tbProductService.queryAllV2(criteria,pageable),HttpStatus.OK);
|
return new ResponseEntity<>(tbProductService.queryAllV2(criteria,pageable),HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,21 @@ public class TbProductStockCountQueryCriteria extends BaseQueryDto {
|
||||||
|
|
||||||
private Integer size = 10;
|
private Integer size = 10;
|
||||||
|
|
||||||
public String getProductName() {
|
public void setProductId(String productId) {
|
||||||
if(StringUtils.isNotBlank(productName)){
|
if (StringUtils.isNotBlank(productId)) {
|
||||||
return productName;
|
this.productId = productId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProductName(String productName) {
|
||||||
|
if (StringUtils.isNotBlank(productName)) {
|
||||||
|
this.productName = productName;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCategoryId(String categoryId) {
|
||||||
|
if (StringUtils.isNotBlank(categoryId)) {
|
||||||
|
this.categoryId = categoryId;
|
||||||
}
|
}
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue