xinyb
2024-07-18 80430d52f7716e3eb3e517dc96f94c4a6f9657bf
提交 | 用户 | age
a6a76f 1 package com.yc.sdk.shopping.service;
F 2
3 import java.util.Date;
4
5 import com.yc.sdk.shopping.entity.ShoppingImageEntity;
6
7 public interface ShoppingImageIfc {
8     /**
9      * 获取图片实体对象 File
10      * @param unid
11      * @param rootPath
12      * @param dbId
13      * @return
14      */
15     public ShoppingImageEntity getImage(String unids,String rootPath,int dbId,String attachmentPath,String formidPath) ;
16
17     /**
18      * 获取unid文件的扩展名
19      * @param dbId
20      * @param unid
21      * @return
22      */
23     public String getImageFileType( String unid);
24
25     /**
26      * 获取图片实体对象
27      * @param unid
28      * @param seq
29      * @return
30      */
31     public String getImageFileType(String unid, Integer seq);
32
33     /**
34      * 获取图片最后更新时间
35      * @param unid
36      * @param seq
37      * @return
38      */
39     public Date getImageFileLastModifiedDate(String unid, Integer seq);
40
31be79 41     /**
J 42      * 获取图片字节流对象
43      * @param unids
44      * @param dbId
45      * @return
46      */
47     public byte[] getImage(String unids, int dbId);
48
a6a76f 49 }