| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- package cn.com.goldenwater.dcproj.service;
- import cn.com.goldenwater.core.service.CrudService;
- import cn.com.goldenwater.dcproj.model.GwComFile;
- import cn.com.goldenwater.dcproj.param.GwComFileParam;
- import com.github.pagehelper.PageInfo;
- import org.springframework.web.multipart.MultipartFile;
- import javax.servlet.http.HttpServletResponse;
- import java.io.IOException;
- import java.util.Date;
- import java.util.List;
- /**
- * @author zhaohg
- * @date 2019-2-18
- */
- public interface GwComFileService extends CrudService<GwComFile, GwComFileParam> {
- /**
- * 更新问题多媒体状态
- *
- * @param pblmId
- */
- void updatePblmVedio(String pblmId);
- int countByPblmId(String pblmId);
- boolean writeFile(GwComFile gwComFile, MultipartFile file, String filePath);
- boolean writeFile(String id, String ext, MultipartFile file, String filePath);
- List<GwComFile> findFileByBiz(String bizId);
- public void updateBiz(List<GwComFile> gwComFiles, String bizId);
- public void updateTopById(String bizId);
- PageInfo<GwComFile> findFilePageByBiz(GwComFileParam comFileParam);
- PageInfo<GwComFile> findImgPage(GwComFileParam comFileParam);
- public void changeSmallImg(String year, String mnth);
- int downFile(GwComFile gwComFile, HttpServletResponse response);
- String getFilePath(String filePath);
- List<GwComFile> findLongFileExt();
- /**
- * 根据 bizId 获取前n条近期面貌
- *
- * @param bizId
- * @param n
- * @return
- */
- List<GwComFile> getImgByBizId(String bizId, int n);
- /**
- * 根据参数获取前n条近期面貌
- *
- * @param n
- * @param adCode
- * @param pType
- * @param currentAdCode
- * @return
- */
- List<GwComFile> getTopNFace(String n, String adCode, String pType, String currentAdCode);
- /**
- * 根据参数获取前n条近期问题图片
- *
- * @param n
- * @param adCode
- * @param pType
- * @param currentAdCode
- * @return
- */
- List<GwComFile> getTopNPblm(String n, String adCode, String pType, String currentAdCode);
- /**
- * 根据参数获取前n条近期问题视频
- *
- * @param n
- * @param adCode
- * @param pType
- * @param currentAdCode
- * @return
- */
- List<GwComFile> getTopNPblmVido(String n, String adCode, String pType, String currentAdCode);
- /**
- * 根据参数获取前n条稽察问题资源
- *
- * @param n
- * @param province
- * @return
- */
- List<GwComFile> getTopTacPblm(String n, String province);
- /**
- * 根据参数获取前n条稽察问题视频
- *
- * @param n
- * @param province
- * @return
- */
- List<GwComFile> getTopTacPblmVideo(String n, String province);
- /**
- * 查询所有关联的file
- *
- * @param gwComFileParam
- * @return
- */
- List<GwComFile> findAllFile(GwComFileParam gwComFileParam);
- void getpicInfo() throws IOException;
- String toWsdlPushData(GwComFileParam gwComFileParam);
- }
|