| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @author ZhuBaoMin |
| | | * @date 2023/12/7 9:18 |
| | |
| | | } |
| | | |
| | | /** |
| | | * 依据水卡地址获取水卡编号(主键) |
| | | * 依据水卡地址获取水卡编号(12月19日废弃) |
| | | * @param cardAddr |
| | | * @return |
| | | */ |
| | |
| | | } |
| | | |
| | | /** |
| | | * 根据水卡编号获取水卡表主键(12月19日添加后废弃) |
| | | * @param cardNum 16位水卡编号 |
| | | * @return 水卡表主键 |
| | | */ |
| | | public Long getCardIdByNum(String cardNum) { |
| | | return seClientCardMapper.getCardIdByNum(cardNum); |
| | | } |
| | | |
| | | /** |
| | | * 根据水卡编号获取水卡表主键及农户编号 |
| | | * @param cardNum |
| | | * @return |
| | | */ |
| | | public Map getCardIdAndClientNum(String cardNum) { |
| | | return seClientCardMapper.getCardIdAndClientNum(cardNum); |
| | | } |
| | | /** |
| | | * 根据水卡编号(主键)修改农户卡信息 |
| | | * @param po |
| | | * @return |