| New file | 
|  |  |  | 
|---|
|  |  |  | package com.dy.pipIrrWechat.client; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.daoSe.SeClientCardMapper; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voWe.VoCards3; | 
|---|
|  |  |  | import lombok.extern.slf4j.Slf4j; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.stereotype.Service; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @author :WuZeYu | 
|---|
|  |  |  | * @Date :2024/6/26  16:05 | 
|---|
|  |  |  | * @LastEditTime :2024/6/26  16:05 | 
|---|
|  |  |  | * @Description | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Slf4j | 
|---|
|  |  |  | @Service | 
|---|
|  |  |  | public class ClientCardSv { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Autowired | 
|---|
|  |  |  | private SeClientCardMapper seClientCardMapper; | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据农户ID查询正常状态的水卡列表 | 
|---|
|  |  |  | * @param clientId | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public List<VoCards3> getCardsByClientID(String clientId){ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return seClientCardMapper.getCardsByClientID(clientId); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|