package com.dy.pipIrrGlobal.daoSe;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.dy.pipIrrGlobal.pojoSe.SeClientCard;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.Map;
|
|
/**
|
* @author ZhuBaoMin
|
* @date 2023/12/18 16:26
|
* @LastEditTime 2023/12/18 16:26
|
* @Description
|
*/
|
|
@Mapper
|
public interface SeClientCardMapper extends BaseMapper<SeClientCard> {
|
int deleteByPrimaryKey(Long id);
|
|
int insert(SeClientCard record);
|
|
int insertSelective(SeClientCard record);
|
|
SeClientCard selectByPrimaryKey(Long id);
|
|
int updateByPrimaryKeySelective(SeClientCard record);
|
|
int updateByPrimaryKey(SeClientCard record);
|
|
/**
|
* 依据水卡地址获取水卡编号(12月19日废弃)
|
* @param cardAddr
|
* @return
|
*/
|
Long getCardIdByAddr(@Param("cardAddr") String cardAddr);
|
|
/**
|
* 根据水卡编号获取水卡表主键(12月19日添加后废弃)
|
* @param cardNum 16位水卡编号
|
* @return 水卡表主键
|
*/
|
Long getCardIdByNum(@Param("cardNum") String cardNum);
|
|
/**
|
* 根据行政区划串模块查询水卡编号
|
* @param areaCode
|
* @return
|
*/
|
String getCardNumOfMax(@Param("areaCode") String areaCode);
|
|
/**
|
* 根据水卡编号获取水卡表主键及农户编号
|
* @param cardNum
|
* @return
|
*/
|
Map getCardIdAndClientNum(@Param("cardNum") String cardNum);
|
}
|