From 80e22bcc7af8aebed7443965655542fbe4966708 Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期三, 09 四月 2025 15:11:55 +0800 Subject: [PATCH] 灌溉计划删除,所有命令发布都失败依然允许终止 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeVcRefundItemMapper.java | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 49 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeVcRefundItemMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeVcRefundItemMapper.java new file mode 100644 index 0000000..d86ef0d --- /dev/null +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeVcRefundItemMapper.java @@ -0,0 +1,49 @@ +package com.dy.pipIrrGlobal.daoSe; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.dy.pipIrrGlobal.pojoSe.SeVcRefundItem; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +/** + * @author ZhuBaoMin + * @date 2024-03-10 21:05 + * @LastEditTime 2024-03-10 21:05 + * @Description + */ + +@Mapper +public interface SeVcRefundItemMapper extends BaseMapper<SeVcRefundItem> { + int deleteByPrimaryKey(Long id); + + int insert(SeVcRefundItem record); + + int insertSelective(SeVcRefundItem record); + + SeVcRefundItem selectByPrimaryKey(Long id); + + int updateByPrimaryKeySelective(SeVcRefundItem record); + + int updateByPrimaryKey(SeVcRefundItem record); + + /** + * 鏍规嵁璁㈠崟鍙疯幏鍙栨渶鍚庝竴涓��鍗曞彿 + * @param orderNumber + * @return + */ + String getLastRefundNumber(@Param("orderNumber") String orderNumber); + + /** + * 鏍规嵁閫�娆鹃�氱煡鎺ュ彛杩斿洖鐨勯��娆惧崟鍙峰弽鏌ラ��娆綢D锛屾煡璇㈣閫�娆綢D涓嬫湭閫�娆捐褰曟暟閲� + * @param refundNumber + * @return + */ + Integer getNoRefundedCount(String refundNumber); + + /** + * 鏍规嵁閫�娆惧崟鍙疯幏鍙栭��娆綢D锛岄��娆鹃�氱煡鍚庢洿鏂伴��娆捐〃鎵�闇� + * @param refundNumber + * @return + */ + Long getRefundIdByRefundNumber(String refundNumber); +} \ No newline at end of file -- Gitblit v1.8.0