com.macro.mall.dto.SmsFlashPromotionProduct Java Examples

The following examples show how to use com.macro.mall.dto.SmsFlashPromotionProduct. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SmsFlashPromotionProductRelationController.java    From mall-swarm with Apache License 2.0 5 votes vote down vote up
@ApiOperation("分页查询不同场次关联及商品信息")
@RequestMapping(value = "/list", method = RequestMethod.GET)
@ResponseBody
public CommonResult<CommonPage<SmsFlashPromotionProduct>> list(@RequestParam(value = "flashPromotionId") Long flashPromotionId,
                                                               @RequestParam(value = "flashPromotionSessionId") Long flashPromotionSessionId,
                                                               @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize,
                                                               @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) {
    List<SmsFlashPromotionProduct> flashPromotionProductList = relationService.list(flashPromotionId, flashPromotionSessionId, pageSize, pageNum);
    return CommonResult.success(CommonPage.restPage(flashPromotionProductList));
}
 
Example #2
Source File: SmsFlashPromotionProductRelationController.java    From macrozheng with Apache License 2.0 5 votes vote down vote up
@ApiOperation("分页查询不同场次关联及商品信息")
@RequestMapping(value = "/list", method = RequestMethod.GET)
@ResponseBody
public CommonResult<CommonPage<SmsFlashPromotionProduct>> list(@RequestParam(value = "flashPromotionId") Long flashPromotionId,
                                                               @RequestParam(value = "flashPromotionSessionId") Long flashPromotionSessionId,
                                                               @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize,
                                                               @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) {
    List<SmsFlashPromotionProduct> flashPromotionProductList = relationService.list(flashPromotionId, flashPromotionSessionId, pageSize, pageNum);
    return CommonResult.success(CommonPage.restPage(flashPromotionProductList));
}
 
Example #3
Source File: SmsFlashPromotionProductRelationController.java    From mall with Apache License 2.0 5 votes vote down vote up
@ApiOperation("分页查询不同场次关联及商品信息")
@RequestMapping(value = "/list", method = RequestMethod.GET)
@ResponseBody
public CommonResult<CommonPage<SmsFlashPromotionProduct>> list(@RequestParam(value = "flashPromotionId") Long flashPromotionId,
                                                               @RequestParam(value = "flashPromotionSessionId") Long flashPromotionSessionId,
                                                               @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize,
                                                               @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) {
    List<SmsFlashPromotionProduct> flashPromotionProductList = relationService.list(flashPromotionId, flashPromotionSessionId, pageSize, pageNum);
    return CommonResult.success(CommonPage.restPage(flashPromotionProductList));
}
 
Example #4
Source File: SmsFlashPromotionProductRelationController.java    From macrozheng-mall with MIT License 5 votes vote down vote up
@ApiOperation("分页查询不同场次关联及商品信息")
@RequestMapping(value = "/list", method = RequestMethod.GET)
@ResponseBody
public Object list(@RequestParam(value = "flashPromotionId")Long flashPromotionId,
                   @RequestParam(value = "flashPromotionSessionId")Long flashPromotionSessionId,
                   @RequestParam(value = "pageSize",defaultValue = "5")Integer pageSize,
                   @RequestParam(value = "pageNum",defaultValue = "1")Integer pageNum) {
    List<SmsFlashPromotionProduct> flashPromotionProductList = relationService.list(flashPromotionId,flashPromotionSessionId,pageSize,pageNum);
    return new CommonResult().pageSuccess(flashPromotionProductList);
}
 
Example #5
Source File: SmsFlashPromotionProductRelationServiceImpl.java    From mall-swarm with Apache License 2.0 4 votes vote down vote up
@Override
public List<SmsFlashPromotionProduct> list(Long flashPromotionId, Long flashPromotionSessionId, Integer pageSize, Integer pageNum) {
    PageHelper.startPage(pageNum,pageSize);
    return relationDao.getList(flashPromotionId,flashPromotionSessionId);
}
 
Example #6
Source File: SmsFlashPromotionProductRelationServiceImpl.java    From macrozheng with Apache License 2.0 4 votes vote down vote up
@Override
public List<SmsFlashPromotionProduct> list(Long flashPromotionId, Long flashPromotionSessionId, Integer pageSize, Integer pageNum) {
    PageHelper.startPage(pageNum,pageSize);
    return relationDao.getList(flashPromotionId,flashPromotionSessionId);
}
 
Example #7
Source File: SmsFlashPromotionProductRelationServiceImpl.java    From mall with Apache License 2.0 4 votes vote down vote up
@Override
public List<SmsFlashPromotionProduct> list(Long flashPromotionId, Long flashPromotionSessionId, Integer pageSize, Integer pageNum) {
    PageHelper.startPage(pageNum,pageSize);
    return relationDao.getList(flashPromotionId,flashPromotionSessionId);
}
 
Example #8
Source File: SmsFlashPromotionProductRelationServiceImpl.java    From macrozheng-mall with MIT License 4 votes vote down vote up
@Override
public List<SmsFlashPromotionProduct> list(Long flashPromotionId, Long flashPromotionSessionId, Integer pageSize, Integer pageNum) {
    PageHelper.startPage(pageNum,pageSize);
    return relationDao.getList(flashPromotionId,flashPromotionSessionId);
}
 
Example #9
Source File: SmsFlashPromotionProductRelationDao.java    From mall-swarm with Apache License 2.0 2 votes vote down vote up
/**
 * 获取限时购及相关商品信息
 */
List<SmsFlashPromotionProduct> getList(@Param("flashPromotionId") Long flashPromotionId, @Param("flashPromotionSessionId") Long flashPromotionSessionId);
 
Example #10
Source File: SmsFlashPromotionProductRelationService.java    From mall-swarm with Apache License 2.0 2 votes vote down vote up
/**
 * 分页查询相关商品及促销信息
 *
 * @param flashPromotionId        限时购id
 * @param flashPromotionSessionId 限时购场次id
 */
List<SmsFlashPromotionProduct> list(Long flashPromotionId, Long flashPromotionSessionId, Integer pageSize, Integer pageNum);
 
Example #11
Source File: SmsFlashPromotionProductRelationDao.java    From macrozheng with Apache License 2.0 2 votes vote down vote up
/**
 * 获取限时购及相关商品信息
 */
List<SmsFlashPromotionProduct> getList(@Param("flashPromotionId") Long flashPromotionId, @Param("flashPromotionSessionId") Long flashPromotionSessionId);
 
Example #12
Source File: SmsFlashPromotionProductRelationService.java    From macrozheng with Apache License 2.0 2 votes vote down vote up
/**
 * 分页查询相关商品及促销信息
 *
 * @param flashPromotionId        限时购id
 * @param flashPromotionSessionId 限时购场次id
 */
List<SmsFlashPromotionProduct> list(Long flashPromotionId, Long flashPromotionSessionId, Integer pageSize, Integer pageNum);
 
Example #13
Source File: SmsFlashPromotionProductRelationDao.java    From mall with Apache License 2.0 2 votes vote down vote up
/**
 * 获取限时购及相关商品信息
 */
List<SmsFlashPromotionProduct> getList(@Param("flashPromotionId") Long flashPromotionId, @Param("flashPromotionSessionId") Long flashPromotionSessionId);
 
Example #14
Source File: SmsFlashPromotionProductRelationService.java    From mall with Apache License 2.0 2 votes vote down vote up
/**
 * 分页查询相关商品及促销信息
 *
 * @param flashPromotionId        限时购id
 * @param flashPromotionSessionId 限时购场次id
 */
List<SmsFlashPromotionProduct> list(Long flashPromotionId, Long flashPromotionSessionId, Integer pageSize, Integer pageNum);
 
Example #15
Source File: SmsFlashPromotionProductRelationDao.java    From macrozheng-mall with MIT License 2 votes vote down vote up
/**
 * 获取限时购及相关商品信息
 */
List<SmsFlashPromotionProduct> getList(@Param("flashPromotionId") Long flashPromotionId, @Param("flashPromotionSessionId") Long flashPromotionSessionId);
 
Example #16
Source File: SmsFlashPromotionProductRelationService.java    From macrozheng-mall with MIT License 2 votes vote down vote up
/**
 * 分页查询相关商品及促销信息
 *
 * @param flashPromotionId        限时购id
 * @param flashPromotionSessionId 限时购场次id
 */
List<SmsFlashPromotionProduct> list(Long flashPromotionId, Long flashPromotionSessionId, Integer pageSize, Integer pageNum);