提交 be2b463d authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 5615135d
......@@ -18,14 +18,14 @@ public interface PdfLibraryMapper extends BaseMapper<PdfLibrary> {
@Select("<script>"
+ "<if test='form.diyTypeCode == null'>"
+ "select distinct a.id,a.name,a.source,g.price,g.priceType,g.sellingPrice,"
+ "DATE_FORMAT(a.uploadTime,'%Y-%m-%d %H:%i:%s') uploadTime,a.status,"
+ "DATE_FORMAT(a.uploadTime,'%Y-%m-%d %H:%i:%s') uploadTime,a.status,a.pdf,"
+ "a.isDelete,g.dataSources from res_pdf_library a "
+ "LEFT JOIN res_pdf_goods g on a.id=g.objectId "
+ "where 1=1 and a.isDelete = 0 "
+ "</if>"
+ "<if test='form.diyTypeCode != null and form.diyTypeCode != \"\"'>"
+ "select distinct a.id,a.name,a.source,g.price,g.priceType,g.sellingPrice,"
+ "DATE_FORMAT(a.uploadTime,'%Y-%m-%d %H:%i:%s') uploadTime,a.status,"
+ "DATE_FORMAT(a.uploadTime,'%Y-%m-%d %H:%i:%s') uploadTime,a.status,a.pdf,"
+ "a.isDelete,g.dataSources from res_pdf_library a "
+ "LEFT join res_classify_relation ad on a.id = ad.objectId "
+ "LEFT JOIN res_pdf_goods g on a.id=g.objectId "
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论