diff --git a/src/main/java/com/lovenav/dao/CollectIconListDao.java b/src/main/java/com/lovenav/dao/CollectIconListDao.java deleted file mode 100644 index c9bc5ff..0000000 --- a/src/main/java/com/lovenav/dao/CollectIconListDao.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.lovenav.dao; - -import com.lovenav.entity.CollectIconList; -import org.springframework.stereotype.Repository; - -@Repository -public interface CollectIconListDao { - int deleteByPrimaryKey(Long id); - - int insert(CollectIconList record); - - int insertSelective(CollectIconList record); - - CollectIconList selectByPrimaryKey(Long id); - - int updateByPrimaryKeySelective(CollectIconList record); - - int updateByPrimaryKey(CollectIconList record); -} \ No newline at end of file diff --git a/src/main/java/com/lovenav/entity/CollectIconList.java b/src/main/java/com/lovenav/entity/CollectIconList.java deleted file mode 100644 index 79cf1a1..0000000 --- a/src/main/java/com/lovenav/entity/CollectIconList.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.lovenav.entity; - -import java.io.Serializable; -import lombok.Data; - -/** - * 图标表 - * ln_collect_icon_list - */ -@Data -public class CollectIconList implements Serializable { - private Long id; - - /** - * 网址 - */ - private String urlMd5; - - /** - * 图片地址 - */ - private String iconUrl; - - private static final long serialVersionUID = 1L; -} \ No newline at end of file diff --git a/src/main/resources/mybatis/CollectIconListDao.xml b/src/main/resources/mybatis/CollectIconListDao.xml deleted file mode 100644 index db28c11..0000000 --- a/src/main/resources/mybatis/CollectIconListDao.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - id, url_md5, icon_url - - - - delete from ln_collect_icon_list - where id = #{id,jdbcType=BIGINT} - - - insert into ln_collect_icon_list (url_md5, icon_url) - values (#{urlMd5,jdbcType=VARCHAR}, #{iconUrl,jdbcType=VARCHAR}) - - - insert into ln_collect_icon_list - - - url_md5, - - - icon_url, - - - - - #{urlMd5,jdbcType=VARCHAR}, - - - #{iconUrl,jdbcType=VARCHAR}, - - - - - update ln_collect_icon_list - - - url_md5 = #{urlMd5,jdbcType=VARCHAR}, - - - icon_url = #{iconUrl,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update ln_collect_icon_list - set url_md5 = #{urlMd5,jdbcType=VARCHAR}, - icon_url = #{iconUrl,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file