优惠券相关功能
This commit is contained in:
@@ -39,7 +39,9 @@ public class SmsCouponController {
|
||||
@RequestParam(value = "pageSize", defaultValue = "10") Integer pageSize
|
||||
) {
|
||||
try {
|
||||
return new CommonResult().success(ISmsCouponService.page(new Page<SmsCoupon>(pageNum, pageSize), new QueryWrapper<>(entity)));
|
||||
return new CommonResult().success(
|
||||
ISmsCouponService.page(new Page<SmsCoupon>(pageNum, pageSize), new QueryWrapper<>(entity).orderByDesc("id"))
|
||||
);
|
||||
} catch (Exception e) {
|
||||
log.error("根据条件查询所有优惠卷表列表:%s", e.getMessage(), e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user