bug
This commit is contained in:
@@ -9,8 +9,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Slf4j
|
||||
@RestController("commonTaihuWelfare")
|
||||
@RequestMapping("common/taihuWelfare")
|
||||
|
||||
@@ -35,7 +35,7 @@ public class TaihuWelfareServiceImpl extends ServiceImpl<TaihuWelfareDao, TaihuW
|
||||
wrapper.leftJoin(ShopProduct.class,ShopProduct::getProductId,ShopStoreToProductEntity::getProductId);
|
||||
wrapper.eq(ShopStoreToProductEntity::getStoreId,1);
|
||||
wrapper.orderByAsc(ShopStoreToProductEntity::getSort);
|
||||
Page<ShopStoreToProductEntity> shopStoreToProductEntityPage = shopStoreToProductDao.selectPage(new Page<>(param.getPage(), param.getLimit()), wrapper);
|
||||
return R.ok().put("page",shopStoreToProductEntityPage);
|
||||
Page<ShopProduct> shopProductPage = shopStoreToProductDao.selectJoinPage(new Page<>(param.getPage(), param.getLimit()), ShopProduct.class, wrapper);
|
||||
return R.ok().put("page",shopProductPage);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user