From 478ae07891f64484d8a483e15821ce0bc920606f Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期一, 27 十一月 2023 19:22:22 +0800 Subject: [PATCH] 修改枚举类型转json问题 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDivideMapper.java | 52 +++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 41 insertions(+), 11 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDivideMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDivideMapper.java index a0a09d6..493b892 100644 --- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDivideMapper.java +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDivideMapper.java @@ -3,14 +3,38 @@ import com.dy.pipIrrGlobal.pojoBa.BaDivide; import org.apache.ibatis.annotations.Mapper; +import java.util.List; +import java.util.Map; + @Mapper public interface BaDivideMapper { + /** - * delete by primary key - * @param id primaryKey - * @return deleteCount + * select by primary key + * @param id primary key + * @return object by primary key */ - int deleteByPrimaryKey(Long id); + BaDivide selectByPrimaryKey(Long id); + + /** + * 寰楀埌鍏ㄩ儴瀹炰綋 + * @return 鍏ㄩ儴瀹炰綋 + * */ + List<BaDivide> selectAll(); + + /** + * 鏌ヨ鎬绘暟 + * @param params 鏌ヨ鏉′欢 + * @return 鎬绘暟 + * */ + Long selectTotal(Map<?,?> params); + + /** + * 鍒嗛〉鏌ヨ涓�浜� + * @param params 鏌ヨ鏉′欢 + * @return 瀹炰綋闆嗗悎 + * */ + List<BaDivide> selectSome(Map<?,?> params); /** * insert record to table @@ -27,13 +51,6 @@ int insertSelective(BaDivide record); /** - * select by primary key - * @param id primary key - * @return object by primary key - */ - BaDivide selectByPrimaryKey(Long id); - - /** * update record selective * @param record the updated record * @return update count @@ -46,4 +63,17 @@ * @return update count */ int updateByPrimaryKey(BaDivide record); + /** + * 瀹為檯鍒犻櫎 + * @param id primaryKey + * @return deleteCount + */ + int deleteByPrimaryKey(Long id); + /** + * 閫昏緫鍒犻櫎 + * @param id primaryKey + * @return deleteCount + */ + int deleteLogicById(Long id); + } \ No newline at end of file -- Gitblit v1.8.0