提交 6b40e9c8 authored 作者: malei's avatar malei

feat(bg.resource): 技工教育列表添加出版时间字段

上级 af02a874
......@@ -19,15 +19,14 @@ import java.util.List;
public interface PhyResourceMapper extends BaseMapper<PhyResource> {
@Select(" <script> "
+ " SELECT a.id, a.type, NAME, author, isbn, price, a.createTime, a.updateTime, a.STATUS,a.introduction, a.menu "
+ " SELECT a.id, a.type, NAME, author, isbn, price, a.createTime, a.updateTime, a.STATUS,a.introduction, a.menu, a.publisher, a.publishTime "
+ " FROM res_physical_resource a "
// 自定义分类
+ " <if test = '" + NOTBLANK + "(query.diyTypeCode)'> "
+ " <if test = '" + NOTBLANK + "(query.diyTypeCode)'> "
+ " LEFT JOIN res_goods_diytype_relation b ON a.id = b.goodsid "
+ " LEFT JOIN res_diy_type c ON b.diytypeid = c.id "
+ " </if> "
//有绑定资源
+ " <if test = '(query.isRelation) == 0 '> "
+ " RIGHT join res_resource_binding d ON a.id = d.otherId "
......
......@@ -64,9 +64,6 @@ public class PhyResourcePageVo {
@ApiModelProperty("导出使用")
private String bookURL;
@ApiModelProperty("出版社")
private String publisher;
}
......@@ -52,6 +52,9 @@ public class PhyResourcePageVoExcelVo {
@ExcelResources(title = "分类")
private String diyTypes;
@ExcelResources(title = "出版社")
private String publisher;
@ExcelResources(title = "图书链接")
private String bookURL;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论