From 7e7db2fa55a9a3af46d4fd8ede0dee147f101d64 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 09 五月 2020 21:41:27 +0800 Subject: [PATCH] 2.1需求 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/LabelClassMapper.java | 170 ++++++++++++++++++++++++++++---------------------------- 1 files changed, 85 insertions(+), 85 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/LabelClassMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/LabelClassMapper.java index 169c1af..a6df974 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/LabelClassMapper.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/LabelClassMapper.java @@ -1,86 +1,86 @@ -package com.yeshi.fanli.dao.mybatis.lable; - -import java.util.List; - -import org.apache.ibatis.annotations.Param; - -import com.yeshi.fanli.entity.bus.lable.LabelClass; - -public interface LabelClassMapper { - - int deleteByPrimaryKey(Long id); - - int insert(LabelClass record); - - int insertSelective(LabelClass record); - - LabelClass selectByPrimaryKey(Long id); - - int updateByPrimaryKeySelective(LabelClass record); - - int updateByPrimaryKey(LabelClass record); - - /** - * 鏍规嵁鍒嗙被id銆佹爣绛緄d鑾峰彇鍏崇郴 - * @param record - * @return - */ - List<LabelClass> getByClassIdAndLabelId(@Param("classId") Long classId, @Param("labId") Long labId); - - - /** - * 鏌ヨ涓�绾х被瀵瑰簲鏍囩 -- 鍏ㄩ儴 - * @param record - * @return - */ - List<LabelClass> getByClassId(@Param("classId") Long record); - - /** - * 鏌ヨ涓�绾х被瀵瑰簲鏍囩 -- 鍒嗛〉 - * @param record - * @return - */ - List<LabelClass> queryByClassId(@Param("start") int start, @Param("count") int count, @Param("classId") Long record); - - int getCountQueryByClassId(@Param("classId") Long record); - - - /** - * 鏌ヨ瀛愮被瀵瑰簲鏍囩 -- 鍏ㄩ儴 - * @param record - * @return - */ - List<LabelClass> getBySubClassId(@Param("subClassId") Long record); - - /** - * 鏌ヨ瀛愮被瀵瑰簲鏍囩 -- 鍒嗛〉 - * @param record - * @return - */ - List<LabelClass> queryBySubClassId(@Param("start") int start, @Param("count") int count, @Param("subClassId") Long record); - - int getCountQueryBySubClassId(@Param("subClassId") Long record); - - /** - * 鏍规嵁涓�绾х被鍒獻D鍒犻櫎 - * @param record - * @return - */ - int deleteByClassId(Long classId); - - /** - * 鏍规嵁瀛愮被鍒獻D鍒犻櫎 - * @param record - * @return - */ - int deleteBySubClassId(Long subClassId); - - /** - * 鏍规嵁鏍囩ID鍒犻櫎 - * @param record - * @return - */ - int deleteByLabId(Long labID); - - +package com.yeshi.fanli.dao.mybatis.lable; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; + +import com.yeshi.fanli.entity.bus.lable.LabelClass; + +public interface LabelClassMapper { + + int deleteByPrimaryKey(Long id); + + int insert(LabelClass record); + + int insertSelective(LabelClass record); + + LabelClass selectByPrimaryKey(Long id); + + int updateByPrimaryKeySelective(LabelClass record); + + int updateByPrimaryKey(LabelClass record); + + /** + * 鏍规嵁鍒嗙被id銆佹爣绛緄d鑾峰彇鍏崇郴 + * @param record + * @return + */ + List<LabelClass> getByClassIdAndLabelId(@Param("classId") Long classId, @Param("labId") Long labId); + + + /** + * 鏌ヨ涓�绾х被瀵瑰簲鏍囩 -- 鍏ㄩ儴 + * @param record + * @return + */ + List<LabelClass> getByClassId(@Param("classId") Long record); + + /** + * 鏌ヨ涓�绾х被瀵瑰簲鏍囩 -- 鍒嗛〉 + * @param record + * @return + */ + List<LabelClass> queryByClassId(@Param("start") int start, @Param("count") int count, @Param("classId") Long record); + + int getCountQueryByClassId(@Param("classId") Long record); + + + /** + * 鏌ヨ瀛愮被瀵瑰簲鏍囩 -- 鍏ㄩ儴 + * @param record + * @return + */ + List<LabelClass> getBySubClassId(@Param("subClassId") Long record); + + /** + * 鏌ヨ瀛愮被瀵瑰簲鏍囩 -- 鍒嗛〉 + * @param record + * @return + */ + List<LabelClass> queryBySubClassId(@Param("start") int start, @Param("count") int count, @Param("subClassId") Long record); + + int getCountQueryBySubClassId(@Param("subClassId") Long record); + + /** + * 鏍规嵁涓�绾х被鍒獻D鍒犻櫎 + * @param record + * @return + */ + int deleteByClassId(Long classId); + + /** + * 鏍规嵁瀛愮被鍒獻D鍒犻櫎 + * @param record + * @return + */ + int deleteBySubClassId(Long subClassId); + + /** + * 鏍规嵁鏍囩ID鍒犻櫎 + * @param record + * @return + */ + int deleteByLabId(Long labID); + + } \ No newline at end of file -- Gitblit v1.8.0