From 6dba613b20244677543795eb91d18ce54d612c27 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 27 六月 2024 13:44:01 +0800 Subject: [PATCH] 靳总协议上行数据处理修改完善 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeClientMapper.java | 72 ++++++++++++++++++++++++++++++++++- 1 files changed, 69 insertions(+), 3 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeClientMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeClientMapper.java index ee1e40d..7f24819 100644 --- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeClientMapper.java +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeClientMapper.java @@ -1,7 +1,10 @@ package com.dy.pipIrrGlobal.daoSe; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.dy.pipIrrGlobal.pojoSe.SeClient; import com.dy.pipIrrGlobal.voSe.VoClient; +import com.dy.pipIrrGlobal.voSe.VoClientWechat; +import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; @@ -9,11 +12,13 @@ /** * @author ZhuBaoMin - * @date 2023/12/22 9:50 - * @LastEditTime 2023/12/22 9:50 + * @date 2023-12-26 10:32 + * @LastEditTime 2023-12-26 10:32 * @Description */ -public interface SeClientMapper { + +@Mapper +public interface SeClientMapper extends BaseMapper<SeClient> { int deleteByPrimaryKey(Long id); int insert(SeClient record); @@ -34,6 +39,34 @@ String getClientNumOfMax(@Param("district8") String district8); /** + * 鏍规嵁鍐滄埛缂栧彿鑾峰彇5绾ц鏀垮尯鍒掍唬鐮� + * @param clientNum 鍐滄埛缂栧彿 + * @return 5绾ц鏀垮尯鍒掍唬鐮� + */ + Long getAreaCodeByNum(@Param("clientNum") String clientNum); + + /** + * 鏍规嵁鍐滄埛缂栧彿鑾峰彇5绾ц鏀垮尯鍒掍覆areaCode锛岃ˉ鍗¤繃绋嬩腑寮�鏂板崱浣跨敤 + * @param clientId + * @return + */ + Long getAreaCodeById(@Param("clientId") Long clientId); + + /** + * 鏍规嵁鍐滄埛缂栧彿鑾峰彇鍐滄埛ID + * @param clientNum + * @return + */ + Long getClientIdByNum(@Param("clientNum") String clientNum); + + /** + * 鏍规嵁鐢佃瘽鍙风爜鑾峰彇鍐滄埛ID + * @param phoneNumber + * @return + */ + Long getClientIdByPhone(String phoneNumber); + + /** * 鏍规嵁鎸囧畾鏉′欢鑾峰彇鍐滄埛璁板綍鏁� * @param params * @return @@ -46,4 +79,37 @@ * @return */ List<VoClient> getClients(Map<?, ?> params); + + /** + * 鏍规嵁鍐滄埛ID閫昏緫鍒犻櫎鍐滄埛 + * @param id 鍐滄埛ID + * @return 閫昏緫鍒犻櫎璁板綍鏁� + */ + Integer deleteClientById(@Param("id") Long id); + + /** + * 鏍规嵁涓婚敭鑾峰彇鏉慖D + * @param id 鍐滄埛ID + * @return 鏉戜富閿� + */ + Long getVillageIdById(@Param("id") Long id); + + /** + * 鑾峰彇铏氭嫙鍗″彿鏈�澶у�� + * @return + */ + Long getMa1xVirtualId(); + + /** + * 鑾峰彇鐢ㄦ按鏂瑰紡鍒楄〃 + * @return + */ + List<Map<String, Object>> getWaterTypes(); + + /** + * 鑾峰彇鍐滄埛鍩烘湰淇℃伅锛屽皬绋嬪簭棣栭〉浣跨敤 + * @param sessionId + * @return + */ + VoClientWechat getSimpleClientInfo(@Param("sessionId") Long sessionId, @Param("openId") String openId); } \ No newline at end of file -- Gitblit v1.8.0