Commit f06c88cf by guojuxing

下载中心,二维码类型归于完整数据类型

parent 7a43064f
......@@ -8,6 +8,7 @@ import com.gic.enterprise.qo.DownloadLogQO;
import com.gic.enterprise.service.DownloadLogApiService;
import com.gic.enterprise.utils.ResultControllerUtils;
import com.gic.enterprise.utils.UserDetailUtils;
import com.gic.enterprise.web.vo.DownloadLogVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestMapping;
......@@ -29,7 +30,7 @@ public class DownloadLogController {
public RestResponse listDownloadLog(@Validated({DownloadLogQO.SelectValidView.class}) DownloadLogQO downloadLogQO) {
downloadLogQO.setEnterpriseId(UserDetailUtils.getUserDetail().getEnterpriseId());
ServiceResponse<Page<DownloadLogDTO>> serviceResponse = downloadLogApiService.listDownload(downloadLogQO);
return ResultControllerUtils.commonResult(serviceResponse);
return ResultControllerUtils.commonPageResult(serviceResponse, DownloadLogVO.class);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment