提交 25f09126 authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 56485989
...@@ -79,7 +79,7 @@ public interface ResourceRelationMapper extends BaseMapper<ResourceRelation> { ...@@ -79,7 +79,7 @@ public interface ResourceRelationMapper extends BaseMapper<ResourceRelation> {
*/ */
@Select("<script>" @Select("<script>"
+ "select b.id ,b.resourceId,b.resourceType,b.sort,b.isTop," + "select b.id ,b.resourceId,b.resourceType,b.sort,b.isTop,"
+ "a.name,a.author,a.keywords,a.uploadTime,a.status,a.editor " + "a.name,a.author,a.keywords,a.uploadTime,a.status,a.editor,a.publisher "
+ "from res_resource_relation b left join res_article_library a on b.resourceId = a.id " + "from res_resource_relation b left join res_article_library a on b.resourceId = a.id "
+ "where b.objectId = #{id} " + "where b.objectId = #{id} "
+ "<if test='resourceType != null'> " + "<if test='resourceType != null'> "
......
...@@ -32,5 +32,7 @@ public class ResourceRelationVo { ...@@ -32,5 +32,7 @@ public class ResourceRelationVo {
private Date uploadTime; private Date uploadTime;
@ApiModelProperty("状态:0待审核,1审核通过,审核未通过") @ApiModelProperty("状态:0待审核,1审核通过,审核未通过")
private Integer status; private Integer status;
@ApiModelProperty("版权单位")
private String publisher;
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论