From 656aa4f953eb52502a6414965e46642c31b6e8ee Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 29 四月 2025 15:33:09 +0800 Subject: [PATCH] 设备会在多种功能码上报数据中携带报警与状态数据,这样数据库保存设备报警与状态数据可能很多,为此修改逻辑,当前实现为一设备一个小时内只保存一条报警与状态数据。 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SePaymentMethodMapper.java | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SePaymentMethodMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SePaymentMethodMapper.java new file mode 100644 index 0000000..f5b79e6 --- /dev/null +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SePaymentMethodMapper.java @@ -0,0 +1,33 @@ +package com.dy.pipIrrGlobal.daoSe; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.dy.pipIrrGlobal.pojoSe.SePaymentMethod; + +import java.util.List; + +/** + * @author :WuZeYu + * @Date :2024/6/27 15:00 + * @LastEditTime :2024/6/27 15:00 + * @Description + */ +public interface SePaymentMethodMapper extends BaseMapper<SePaymentMethod> { + int deleteByPrimaryKey(Long id); + + int insert(SePaymentMethod record); + + int insertSelective(SePaymentMethod record); + + SePaymentMethod selectByPrimaryKey(Long id); + + int updateByPrimaryKeySelective(SePaymentMethod record); + + int updateByPrimaryKey(SePaymentMethod record); + + /** + * 鑾峰彇鍏ㄩ儴鏈垹闄や粯娆炬柟寮� + * + * @return 鏈垹闄や粯娆炬柟寮� + */ + List<SePaymentMethod> getPaymentMethods(); +} \ No newline at end of file -- Gitblit v1.8.0