|
|
@@ -6,6 +6,7 @@ import com.fs.common.core.domain.R;
|
|
|
import com.fs.his.domain.FsCourseCouponUser;
|
|
|
import com.fs.his.param.FsCourseCouponUserUParam;
|
|
|
import com.fs.his.service.IFsCourseCouponUserService;
|
|
|
+import com.fs.his.vo.CourseCouponUserListUVO;
|
|
|
import com.github.pagehelper.PageHelper;
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
import io.swagger.annotations.Api;
|
|
|
@@ -31,8 +32,8 @@ public class FsCourseCouponUserController extends AppBaseController {
|
|
|
FsCourseCouponUser couponUser = new FsCourseCouponUser();
|
|
|
couponUser.setStatus(param.getStatus());
|
|
|
couponUser.setUserId(userId);
|
|
|
- List<FsCourseCouponUser> fsCourseCouponUsers = fsCourseCouponUserService.selectFsCourseCouponUserList(couponUser);
|
|
|
- PageInfo<FsCourseCouponUser> pageInfo = new PageInfo<>(fsCourseCouponUsers);
|
|
|
+ List<CourseCouponUserListUVO> courseCouponUserListUVOS = fsCourseCouponUserService.selectCourseCouponUserUVOList(couponUser);
|
|
|
+ PageInfo<CourseCouponUserListUVO> pageInfo = new PageInfo<>(courseCouponUserListUVOS);
|
|
|
return R.ok().put("data",pageInfo);
|
|
|
}
|
|
|
|