|
@@ -7,6 +7,7 @@ import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
import com.ruoyi.common.utils.DateUtils;
|
|
|
import com.ruoyi.system.domain.vo.CollectionsVo;
|
|
|
+import com.ruoyi.system.service.IPostCollectionsService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
@@ -34,6 +35,8 @@ public class PostCollectionsSystemController extends BaseController
|
|
|
{
|
|
|
@Autowired
|
|
|
private IPostCollectionsSystemService postCollectionsSystemService;
|
|
|
+ @Autowired
|
|
|
+ private IPostCollectionsService postCollectionsService;
|
|
|
|
|
|
/**
|
|
|
* 查询藏品套系列表
|
|
@@ -159,6 +162,8 @@ public class PostCollectionsSystemController extends BaseController
|
|
|
postCollectionsSystemList = postCollectionsSystemList.stream().map(
|
|
|
(item) ->{
|
|
|
item.setStatus(status);
|
|
|
+ //更改藏品的状态
|
|
|
+ postCollectionsService.selectPostCollectionsList(item.getId());
|
|
|
return item;
|
|
|
}
|
|
|
).collect(Collectors.toList());
|