|
@@ -187,6 +187,11 @@ public class ProductOrderFacade extends ProductOrderServiceImpl {
|
|
|
*/
|
|
|
public RespDTO<IPage<ProductOrderWrapper>> selectAllProductOrder(ProductOrderVO productOrderVO){
|
|
|
Page page =new Page();
|
|
|
+ if(productOrderVO.getCurrent() ==null ){
|
|
|
+ productOrderVO.setCurrent(1L);
|
|
|
+ }else if(productOrderVO.getSize() ==null){
|
|
|
+ productOrderVO.setSize(10L);
|
|
|
+ }
|
|
|
if(productOrderVO.getCurrent() !=0 && productOrderVO.getSize() != 0){
|
|
|
page.setCurrent(productOrderVO.getCurrent());
|
|
|
page.setSize(productOrderVO.getSize());
|