From cc21e79cd80345b97cc899ddff02c962d4f432fc Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期三, 23 四月 2025 14:48:03 +0800 Subject: [PATCH] feat(irrigate): 增加轮灌组名称重复性检查功能 --- 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