|
@@ -1,16 +1,12 @@
|
|
|
package com.ruoyi.web.controller.system;
|
|
|
|
|
|
-import java.util.Arrays;
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
-import java.util.stream.Collectors;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
import com.ruoyi.common.utils.DateUtils;
|
|
|
-import com.ruoyi.system.domain.vo.CollectionsVo;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
-import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -46,7 +42,7 @@ public class PostCollectionsSystemController extends BaseController
|
|
|
public TableDataInfo list(PostCollectionsSystem postCollectionsSystem)
|
|
|
{
|
|
|
startPage();
|
|
|
- List<CollectionsVo> list = postCollectionsSystemService.selectPostCollectionsSystemListPage(postCollectionsSystem);
|
|
|
+ List<PostCollectionsSystem> list = postCollectionsSystemService.selectPostCollectionsSystemList(postCollectionsSystem);
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
@@ -57,7 +53,7 @@ public class PostCollectionsSystemController extends BaseController
|
|
|
@PreAuthorize("@ss.hasPermi('system:system:export')")
|
|
|
@Log(title = "藏品套系", businessType = BusinessType.EXPORT)
|
|
|
@PostMapping("/export")
|
|
|
- public void export(HttpServletResponse response, PostCollectionsSystem postCollectionsSystem,int type)
|
|
|
+ public void export(HttpServletResponse response, PostCollectionsSystem postCollectionsSystem)
|
|
|
{
|
|
|
List<PostCollectionsSystem> list = postCollectionsSystemService.selectPostCollectionsSystemList(postCollectionsSystem);
|
|
|
ExcelUtil<PostCollectionsSystem> util = new ExcelUtil<PostCollectionsSystem>(PostCollectionsSystem.class);
|