Files
Tbed/src/main/java/cn/hellohao/dao/ImgMapper.java
T
2023-03-17 17:41:10 +08:00

53 lines
1.3 KiB
Java

package cn.hellohao.dao;
import cn.hellohao.pojo.Images;
import cn.hellohao.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@Mapper
public interface ImgMapper {
List<Images> selectimg(Images images);
Integer insertImgData(Images images);
Integer countimg(@Param("userid") Integer userid);
Integer deleimg(@Param("id") Long id);
Integer deleimgForImgUid(@Param("imguid") String imguid);
Images selectByPrimaryKey(@Param("id") Long id);
Integer counts(@Param("userid") Integer userid);
Integer setImg(Images images);
Integer deleimgname(@Param("imgname") String imgname);
Integer deleall(@Param("id") Long id);
List<Images> gettimeimg(@Param("time") String time);
Long getusermemory(@Param("userid") Integer userid);
Long getsourcememory(@Param("source") Integer source);
Integer md5Count(Images images);
List<Images> selectImgUrlByMD5(@Param("md5key") String md5key);
List<Images> RecentlyUploaded(@Param("userid") Integer userid);
List<User> RecentlyUser();
List<String> getyyyy(@Param("userid") Integer userid);
List<Images> countByM(Images images);
Images selectImgUrlByImgUID(@Param("imguid") String imguid);
}