Bläddra i källkod

Merge branch 'V2.0.1' into test

zhaoxian 3 år sedan
förälder
incheckning
b7357b1313

+ 232 - 0
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/material/controller/ProjectPictureLibraryController.java

@@ -0,0 +1,232 @@
+package cn.com.ctop.kuaishou.modules.material.controller;
+
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+import java.io.IOException;
+import java.io.UnsupportedEncodingException;
+import java.net.URLDecoder;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import cn.com.ctop.kuaishou.modules.material.entity.ProjectPictureLibrary;
+import cn.com.ctop.kuaishou.modules.material.service.IProjectPictureLibraryService;
+import org.jeecg.common.api.vo.Result;
+import org.jeecg.common.system.query.QueryGenerator;
+import org.jeecg.common.util.oConvertUtils;
+import java.util.Date;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import lombok.extern.slf4j.Slf4j;
+
+import org.jeecgframework.poi.excel.ExcelImportUtil;
+import org.jeecgframework.poi.excel.def.NormalExcelConstants;
+import org.jeecgframework.poi.excel.entity.ExportParams;
+import org.jeecgframework.poi.excel.entity.ImportParams;
+import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
+import org.springframework.web.multipart.MultipartHttpServletRequest;
+import org.springframework.web.servlet.ModelAndView;
+import com.alibaba.fastjson.JSON;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+
+ /**
+ * 项目图片库
+ * @author jeecg-boot
+ * @date   2022-05-05
+ * @version V1.0
+ */
+@Slf4j
+@Api(tags="项目图片库")
+@RestController
+@RequestMapping("/project/pictureLibrary")
+public class ProjectPictureLibraryController {
+	@Autowired
+	private IProjectPictureLibraryService projectPictureLibraryService;
+
+	/**
+	  * 分页列表查询
+	 * @param projectPictureLibrary
+	 * @param pageNo
+	 * @param pageSize
+	 * @param req
+	 * @return
+	 */
+	@ApiOperation(value="项目奖图片库-分页列表查询", notes="项目奖图片库-分页列表查询")
+	@GetMapping(value = "/list")
+	public Result<IPage<ProjectPictureLibrary>> queryPageList(ProjectPictureLibrary projectPictureLibrary,
+															  @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
+															  @RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
+															  HttpServletRequest req) {
+		Result<IPage<ProjectPictureLibrary>> result = new Result<>();
+		QueryWrapper<ProjectPictureLibrary> queryWrapper = QueryGenerator.initQueryWrapper(projectPictureLibrary, req.getParameterMap());
+		Page<ProjectPictureLibrary> page = new Page<ProjectPictureLibrary>(pageNo, pageSize);
+		IPage<ProjectPictureLibrary> pageList = projectPictureLibraryService.page(page, queryWrapper);
+		result.setSuccess(true);
+		result.setResult(pageList);
+		return result;
+	}
+
+	/**
+	  *   添加
+	 */
+	@ApiOperation(value="项目图片库-添加", notes="项目奖图片库-添加")
+	@PostMapping(value = "/add")
+	public Result<Object> add(@RequestBody ProjectPictureLibrary projectPictureLibrary) {
+		try {
+			return projectPictureLibraryService.add(projectPictureLibrary);
+		} catch (Exception e) {
+			log.error(e.getMessage(),e);
+			return Result.error("操作失败");
+		}
+	}
+
+	/**
+	  *  编辑
+	 * @param projectPictureLibrary
+	 * @return
+	 */
+	@ApiOperation(value="项目奖图片库-编辑", notes="项目奖图片库-编辑")
+	@PutMapping(value = "/edit")
+	public Result<ProjectPictureLibrary> edit(@RequestBody ProjectPictureLibrary projectPictureLibrary) {
+		Result<ProjectPictureLibrary> result = new Result<ProjectPictureLibrary>();
+		ProjectPictureLibrary projectPictureLibraryEntity = projectPictureLibraryService.getById(projectPictureLibrary.getId());
+		if(projectPictureLibraryEntity==null) {
+			result.error500("未找到对应实体");
+		}else {
+			boolean ok = projectPictureLibraryService.updateById(projectPictureLibrary);
+			if(ok) {
+				result.success("修改成功!");
+			}
+		}
+
+		return result;
+	}
+
+	/**
+	  *   通过id删除
+	 * @param id
+	 * @return
+	 */
+	@ApiOperation(value="项目奖图片库-通过id删除", notes="项目奖图片库-通过id删除")
+	@DeleteMapping(value = "/delete")
+	public Result<?> delete(@RequestParam(name="id") String id) {
+		try {
+			projectPictureLibraryService.removeById(id);
+		} catch (Exception e) {
+			log.error("删除失败",e.getMessage());
+			return Result.error("删除失败!");
+		}
+		return Result.ok("删除成功!");
+	}
+
+	/**
+	 *  批量删除
+	 * @param ids
+	 * @return
+	 */
+	@ApiOperation(value="项目奖图片库-批量删除", notes="项目奖图片库-批量删除")
+	@DeleteMapping(value = "/deleteBatch")
+	public Result<ProjectPictureLibrary> deleteBatch(@RequestParam(name="ids") String ids) {
+		Result<ProjectPictureLibrary> result = new Result<>();
+		if(ids==null || "".equals(ids.trim())) {
+			result.error500("参数不识别!");
+		}else {
+			this.projectPictureLibraryService.removeByIds(Arrays.asList(ids.split(",")));
+			result.success("删除成功!");
+		}
+		return result;
+	}
+
+	/**
+	  * 通过id查询
+	 * @param id
+	 * @return
+	 */
+	@ApiOperation(value="项目奖图片库-通过id查询", notes="项目奖图片库-通过id查询")
+	@GetMapping(value = "/queryById")
+	public Result<ProjectPictureLibrary> queryById(@RequestParam(name="id",required=true) String id) {
+		Result<ProjectPictureLibrary> result = new Result<>();
+		ProjectPictureLibrary projectPictureLibrary = projectPictureLibraryService.getById(id);
+		if(projectPictureLibrary==null) {
+			result.error500("未找到对应实体");
+		}else {
+			result.setResult(projectPictureLibrary);
+			result.setSuccess(true);
+		}
+		return result;
+	}
+
+  /**
+      * 导出excel
+   *
+   * @param request
+   * @param response
+   */
+  @RequestMapping(value = "/exportXls")
+  public ModelAndView exportXls(HttpServletRequest request, HttpServletResponse response) {
+      // Step.1 组装查询条件
+      QueryWrapper<ProjectPictureLibrary> queryWrapper = null;
+      try {
+          String paramsStr = request.getParameter("paramsStr");
+          if (oConvertUtils.isNotEmpty(paramsStr)) {
+              String deString = URLDecoder.decode(paramsStr, "UTF-8");
+              ProjectPictureLibrary projectPictureLibrary = JSON.parseObject(deString, ProjectPictureLibrary.class);
+              queryWrapper = QueryGenerator.initQueryWrapper(projectPictureLibrary, request.getParameterMap());
+          }
+      } catch (UnsupportedEncodingException e) {
+          e.printStackTrace();
+      }
+
+      //Step.2 AutoPoi 导出Excel
+      ModelAndView mv = new ModelAndView(new JeecgEntityExcelView());
+      List<ProjectPictureLibrary> pageList = projectPictureLibraryService.list(queryWrapper);
+      //导出文件名称
+      mv.addObject(NormalExcelConstants.FILE_NAME, "项目奖图片库列表");
+      mv.addObject(NormalExcelConstants.CLASS, ProjectPictureLibrary.class);
+      mv.addObject(NormalExcelConstants.PARAMS, new ExportParams("项目奖图片库列表数据", "导出人:Jeecg", "导出信息"));
+      mv.addObject(NormalExcelConstants.DATA_LIST, pageList);
+      return mv;
+  }
+
+  /**
+      * 通过excel导入数据
+   *
+   * @param request
+   * @param response
+   * @return
+   */
+  @RequestMapping(value = "/importExcel", method = RequestMethod.POST)
+  public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
+      MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;
+      Map<String, MultipartFile> fileMap = multipartRequest.getFileMap();
+      for (Map.Entry<String, MultipartFile> entity : fileMap.entrySet()) {
+          MultipartFile file = entity.getValue();
+          ImportParams params = new ImportParams();
+          params.setTitleRows(2);
+          params.setHeadRows(1);
+          params.setNeedSave(true);
+          try {
+              List<ProjectPictureLibrary> listProjectPictureLibrarys = ExcelImportUtil.importExcel(file.getInputStream(), ProjectPictureLibrary.class, params);
+              projectPictureLibraryService.saveBatch(listProjectPictureLibrarys);
+              return Result.ok("文件导入成功!数据行数:" + listProjectPictureLibrarys.size());
+          } catch (Exception e) {
+              log.error(e.getMessage(),e);
+              return Result.error("文件导入失败:"+e.getMessage());
+          } finally {
+              try {
+                  file.getInputStream().close();
+              } catch (IOException e) {
+                  e.printStackTrace();
+              }
+          }
+      }
+      return Result.ok("文件导入失败!");
+  }
+
+}

+ 156 - 0
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/material/entity/ProjectPictureLibrary.java

@@ -0,0 +1,156 @@
+package cn.com.ctop.kuaishou.modules.material.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+import org.jeecgframework.poi.excel.annotation.Excel;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.util.Date;
+
+/**
+ * 项目奖图片库
+ *
+ * @author jeecg-boot
+ * @version V1.0
+ * @date 2022-05-05
+ */
+@Data
+@TableName("ctop_project_picture_library")
+@EqualsAndHashCode(callSuper = false)
+@Accessors(chain = true)
+@ApiModel(value = "ctop_project_picture_library对象", description = "项目奖图片库")
+public class ProjectPictureLibrary {
+
+    /**
+     * id
+     */
+    @TableId(type = IdType.AUTO)
+    @ApiModelProperty(value = "id")
+    private Long id;
+    /**
+     * 项目id
+     */
+    @Excel(name = "项目id", width = 15)
+    @ApiModelProperty(value = "项目id")
+    private Long projectId;
+    /**
+     * 项目名称
+     */
+    @Excel(name = "项目名称", width = 15)
+    @ApiModelProperty(value = "项目名称")
+    private String projectName;
+    /**
+     * 媒体类型 1-头条 2-快手
+     */
+    @Excel(name = "媒体类型 1-头条 2-快手", width = 15)
+    @ApiModelProperty(value = "媒体类型 1-头条 2-快手")
+    private String mediaId;
+    /**
+     * width
+     */
+    @Excel(name = "width", width = 15)
+    @ApiModelProperty(value = "width")
+    private String width;
+    /**
+     * 素材类型
+     */
+    @Excel(name = "素材类型", width = 15)
+    @ApiModelProperty(value = "素材类型")
+    private String type;
+    /**
+     * height
+     */
+    @Excel(name = "height", width = 15)
+    @ApiModelProperty(value = "height")
+    private String height;
+    /**
+     * size
+     */
+    @Excel(name = "size", width = 15)
+    @ApiModelProperty(value = "size")
+    private String size;
+
+    /**
+     * 唯一MD5码
+     */
+    @Excel(name = "唯一MD5码", width = 15)
+    @ApiModelProperty(value = "唯一MD5码")
+    private String signature;
+    /**
+     * 审核人员id
+     */
+    @Excel(name = "审核人员id", width = 15)
+    @ApiModelProperty(value = "审核人员id")
+    private String auditorId;
+    /**
+     * 设计人员id
+     */
+    @Excel(name = "设计人员id", width = 15)
+    @ApiModelProperty(value = "设计人员id")
+    private String designerId;
+    /**
+     * 设计名称
+     */
+    @Excel(name = "设计名称", width = 15)
+    @ApiModelProperty(value = "设计名称")
+    private String designerName;
+    /**
+     * 图片链接
+     */
+    @Excel(name = "图片链接", width = 15)
+    @ApiModelProperty(value = "图片链接")
+    private String url;
+    /**
+     * 时间
+     */
+    @Excel(name = "时间", width = 15)
+    @ApiModelProperty(value = "时间")
+    private String statDate;
+    /**
+     * 审核状态1-未审核,2-审核通过,3-审核拒绝
+     */
+    @Excel(name = "审核状态1-未审核,2-审核通过,3-审核拒绝", width = 15)
+    @ApiModelProperty(value = "审核状态1-未审核,2-审核通过,3-审核拒绝")
+    private String auditState;
+    /**
+     * 审核时间
+     */
+    @Excel(name = "审核时间", width = 15)
+    @ApiModelProperty(value = "审核时间")
+    private String auditTime;
+    /**
+     * 审核说明
+     */
+    @Excel(name = "审核说明", width = 15)
+    @ApiModelProperty(value = "审核说明")
+    private String auditMessage;
+    /**
+     * 图片创建人id
+     */
+    @Excel(name = "图片创建人id", width = 15)
+    @ApiModelProperty(value = "图片创建人id")
+    private String userId;
+    /**
+     * 创建时间
+     */
+    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    @ApiModelProperty(value = "创建时间")
+    private Date createTime;
+    /**
+     * 修改时间
+     */
+    @Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    @ApiModelProperty(value = "修改时间")
+    private Date updateTime;
+}

+ 17 - 0
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/material/mapper/ProjectPictureLibraryMapper.java

@@ -0,0 +1,17 @@
+package cn.com.ctop.kuaishou.modules.material.mapper;
+
+import java.util.List;
+
+import cn.com.ctop.kuaishou.modules.material.entity.ProjectPictureLibrary;
+import org.apache.ibatis.annotations.Param;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 项目奖图片库
+ * @author jeecg-boot
+ * 2022-05-05
+ * @version V1.0
+ */
+public interface ProjectPictureLibraryMapper extends BaseMapper<ProjectPictureLibrary> {
+
+}

+ 39 - 37
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/material/mapper/xml/ProductMaterialMapper.xml

@@ -39,23 +39,22 @@
         select
         trade_name
         FROM ctop_product_material
-        <where>
-            <if test="productId!=null">
-                and product_id = #{productId}
-            </if>
-            <if test="tradeName!=null">
-                and trade_name like CONCAT(CONCAT('%', #{tradeName}), '%')
-            </if>
-            <if test="startMonth!=null">
-                and start_month >= #{startMonth}
-            </if>
-            <if test="endMonth!=null">
-                and end_month &lt;= #{endMonth}
-            </if>
-            <if test="itemRun!=null">
-                and item_run = #{itemRun}
-            </if>
-        </where>
+        where video_url!=''
+        <if test="productId!=null">
+            and product_id = #{productId}
+        </if>
+        <if test="tradeName!=null">
+            and trade_name like CONCAT(CONCAT('%', #{tradeName}), '%')
+        </if>
+        <if test="startMonth!=null">
+            and start_month >= #{startMonth}
+        </if>
+        <if test="endMonth!=null">
+            and end_month &lt;= #{endMonth}
+        </if>
+        <if test="itemRun!=null">
+            and item_run = #{itemRun}
+        </if>
         group by product_id,trade_name
         ) t
     </select>
@@ -71,8 +70,7 @@
         IFNULL(sum(t2.charge),0.00) as 'charge',
         CONCAT(t1.start_month,' ~ ',t1.end_month) as 'time',
         IFNULL(t3.realname,'-') as 'user',
-        (SELECT COUNT(1) FROM ctop_product_material tt WHERE tt.product_id = t1.product_id AND tt.trade_name =
-        t1.trade_name) as 'videoCount'
+        t4.videoCount
         FROM ctop_product_material t1
         LEFT JOIN
         (
@@ -90,24 +88,28 @@
         </where>
         GROUP BY signature
         ) t2 ON t1.signature = t2.signature
-            left join (select id, realname from sys_user)t3 on t1.user_id =t3.id
-        <where>
-            <if test="productId!=null">
-                and t1.product_id = #{productId}
-            </if>
-            <if test="tradeName!=null">
-                and t1.trade_name like CONCAT(CONCAT('%', #{tradeName}), '%')
-            </if>
-            <if test="startMonth!=null">
-                and t1.start_month >= #{startMonth}
-            </if>
-            <if test="endMonth!=null">
-                and t1.end_month &lt;= #{endMonth}
-            </if>
-            <if test="itemRun!=null">
-                and t1.item_run = #{itemRun}
-            </if>
-        </where>
+        LEFT JOIN (select id, realname from sys_user) t3 on t1.user_id =t3.id
+        LEFT JOIN (
+        SELECT product_id,trade_name,COUNT(signature) as 'videoCount' FROM ctop_product_material
+        WHERE video_url!=''
+        GROUP BY product_id,trade_name
+        ) t4 ON t1.product_id = t4.product_id AND t1.trade_name= t4.trade_name
+        where video_url!=''
+        <if test="productId!=null">
+            and t1.product_id = #{productId}
+        </if>
+        <if test="tradeName!=null">
+            and t1.trade_name like CONCAT(CONCAT('%', #{tradeName}), '%')
+        </if>
+        <if test="startMonth!=null">
+            and t1.start_month >= #{startMonth}
+        </if>
+        <if test="endMonth!=null">
+            and t1.end_month &lt;= #{endMonth}
+        </if>
+        <if test="itemRun!=null">
+            and t1.item_run = #{itemRun}
+        </if>
         group by t1.product_id,t1.trade_name
     </select>
 

+ 5 - 0
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/material/mapper/xml/ProjectPictureLibraryMapper.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="ccn.com.ctop.kuaishou.modules.material.mapper.ProjectPictureLibraryMapper">
+
+</mapper>

+ 13 - 0
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/material/service/IProjectPictureLibraryService.java

@@ -0,0 +1,13 @@
+package cn.com.ctop.kuaishou.modules.material.service;
+
+import cn.com.ctop.kuaishou.modules.material.entity.ProjectPictureLibrary;
+import com.baomidou.mybatisplus.extension.service.IService;
+import org.jeecg.common.api.vo.Result;
+
+/**
+ * 项目图片库
+ */
+public interface IProjectPictureLibraryService extends IService<ProjectPictureLibrary> {
+
+    Result<Object> add(ProjectPictureLibrary projectPictureLibrary);
+}

+ 42 - 36
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/material/service/impl/ProductMaterialServiceImpl.java

@@ -108,46 +108,52 @@ public class ProductMaterialServiceImpl extends ServiceImpl<ProductMaterialMappe
             String signature = trade.getString("signature");
             String uploaderId = trade.getString("uploaderId");
             int count = 0;
-            if (Check.isNull(signature) && Check.isNull(uploaderId)) {
-                List<String> urls = Arrays.asList(videoUrl.split(","));
-                for (String url : urls) {
-                    ProductMaterial material = new ProductMaterial();
-                    count++;
-                    //获取MD5
-                    String localPath = LoadFileUtil.downLoadFromUrl(url, downloadPath);
-                    String md5 = MD5Util.getMd5(localPath);
-                    if (checkVideo(entity.getProductId(), tradeName, md5)) {
-                        BeanUtils.copyProperties(entity, material);
-                        material.setTradeName(tradeName);
-                        MaterialInfo info = materialInfoService.getMaterialInfoByCode(md5);
-                        if (!Check.isNull(info)) {
-                            material.setUploaderId(uploaderId);
+            if (Check.isNull(videoUrl)) {
+                ProductMaterial material = new ProductMaterial();
+                material.setTradeName(tradeName);
+                lists.add(material);
+            } else {
+                if (Check.isNull(signature) && Check.isNull(uploaderId)) {
+                    List<String> urls = Arrays.asList(videoUrl.split(","));
+                    for (String url : urls) {
+                        ProductMaterial material = new ProductMaterial();
+                        count++;
+                        //获取MD5
+                        String localPath = LoadFileUtil.downLoadFromUrl(url, downloadPath);
+                        String md5 = MD5Util.getMd5(localPath);
+                        if (checkVideo(entity.getProductId(), tradeName, md5)) {
+                            BeanUtils.copyProperties(entity, material);
+                            material.setTradeName(tradeName);
+                            MaterialInfo info = materialInfoService.getMaterialInfoByCode(md5);
+                            if (!Check.isNull(info)) {
+                                material.setUploaderId(uploaderId);
+                            } else {
+                                material.setUploaderId(material.getUserId());
+                            }
+                            material.setSignature(md5);
+                            String cosUrl = getCosUrl(url);
+                            material.setVideoUrl(cosUrl);
+                            lists.add(material);
                         } else {
-                            material.setUploaderId(material.getUserId());
+                            flag = true;
+                            if (msg.contains(tradeName)) {
+                                msg += "第" + count + "条视频已存在,";
+                            } else {
+                                msg += "商品(" + tradeName + ")下的第" + count + "条视频已存在,";
+                            }
                         }
-                        material.setSignature(md5);
-                        String cosUrl = getCosUrl(url);
-                        material.setVideoUrl(cosUrl);
+                        LoadFileUtil.delFile(localPath);
+                    }
+                } else {
+                    ProductMaterial material = new ProductMaterial();
+                    BeanUtils.copyProperties(entity, material);
+                    material.setTradeName(tradeName);
+                    material.setVideoUrl(videoUrl);
+                    material.setSignature(signature);
+                    material.setUploaderId(uploaderId);
+                    if (checkVideo(entity.getProductId(), tradeName, signature)) {
                         lists.add(material);
-                    } else {
-                        flag = true;
-                        if (msg.contains(tradeName)) {
-                            msg += "第" + count + "条视频已存在,";
-                        } else {
-                            msg += "商品(" + tradeName + ")下的第" + count + "条视频已存在,";
-                        }
                     }
-                    LoadFileUtil.delFile(localPath);
-                }
-            } else {
-                ProductMaterial material = new ProductMaterial();
-                BeanUtils.copyProperties(entity, material);
-                material.setTradeName(tradeName);
-                material.setVideoUrl(videoUrl);
-                material.setSignature(signature);
-                material.setUploaderId(uploaderId);
-                if (checkVideo(entity.getProductId(), tradeName, signature)) {
-                    lists.add(material);
                 }
             }
         }

+ 25 - 0
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/material/service/impl/ProjectPictureLibraryServiceImpl.java

@@ -0,0 +1,25 @@
+package cn.com.ctop.kuaishou.modules.material.service.impl;
+
+import cn.com.ctop.kuaishou.modules.material.entity.ProjectPictureLibrary;
+import cn.com.ctop.kuaishou.modules.material.mapper.ProjectPictureLibraryMapper;
+import cn.com.ctop.kuaishou.modules.material.service.IProjectPictureLibraryService;
+import org.jeecg.common.api.vo.Result;
+import org.springframework.stereotype.Service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+
+/**
+ * 项目图片库
+ *
+ */
+@Service
+public class ProjectPictureLibraryServiceImpl extends ServiceImpl<ProjectPictureLibraryMapper, ProjectPictureLibrary> implements IProjectPictureLibraryService {
+
+    @Override
+    public Result<Object> add(ProjectPictureLibrary projectPictureLibrary) {
+
+
+
+        return null;
+    }
+}