From 1a2b07f01ba4616fd9e894dddf474b56d020158c Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期一, 07 四月 2025 15:18:51 +0800 Subject: [PATCH] 整理版本 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoRm/UgRtuProgramMapper.java | 95 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 95 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoRm/UgRtuProgramMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoRm/UgRtuProgramMapper.java new file mode 100644 index 0000000..d04c744 --- /dev/null +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoRm/UgRtuProgramMapper.java @@ -0,0 +1,95 @@ +package com.dy.pipIrrGlobal.daoRm; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.dy.pipIrrGlobal.pojoUg.UgRtuProgram; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +import java.util.List; +import java.util.Map; + +/** + * @Author: liurunyu + * @Date: 2024/11/5 8:52 + * @Description + */ +@Mapper +public interface UgRtuProgramMapper extends BaseMapper<UgRtuProgram> { + + /** + * 閫昏緫鍒犻櫎 + * @param id primaryKey + * @return update count + */ + int deleteLogicById(Long id); + + /** + * delete by primary key + * @param id primaryKey + * @return deleteCount + */ + int deleteByPrimaryKey(Long id); + + /** + * insert record to table + * @param record the record + * @return insert count + */ + int insert(UgRtuProgram record); + + /** + * insert record to table selective + * @param record the record + * @return insert count + */ + int insertSelective(UgRtuProgram record); + + /** + * select by primary key + * @param id primary key + * @return object by primary key + */ + UgRtuProgram selectByPrimaryKey(Long id); + + + /** + * 鏌ヨ鎬绘暟 + * @param params 鏌ヨ鏉′欢 + * @return 鎬绘暟 + * */ + Long selectTotal(Map<?,?> params); + + /** + * 鍒嗛〉鏌ヨ涓�浜� + * @param params 鏌ヨ鏉′欢 + * @return 瀹炰綋闆嗗悎 + * */ + List<UgRtuProgram> selectSome(Map<?,?> params) ; + + + /** + * 寰楀埌鎵�鏈夊崌绾х▼搴忚褰旾D鍜屾枃浠跺悕绉� + * @return 瀹炰綋闆嗗悎 + * */ + List<UgRtuProgram> selectAll() ; + /** + * 鏌ヨ鏁版嵁搴擄紝鏄惁瀛樺湪缁欏畾鍗囩骇鏂囦欢鍚嶇О + * @param programFileName 鏂囦欢鍚嶇О + * @return bool + */ + Long selectByFileName(@Param("programFileName") String programFileName) ; + + /** + * update record selective + * @param record the updated record + * @return update count + */ + int updateByPrimaryKeySelective(UgRtuProgram record); + + /** + * update record + * @param record the updated record + * @return update count + */ + int updateByPrimaryKey(UgRtuProgram record); +} \ No newline at end of file -- Gitblit v1.8.0