From eda58e0e6d4abdd2b060e28867d103045845aa69 Mon Sep 17 00:00:00 2001 From: 罗元桥 <2376770955@qq.com> Date: 星期一, 30 八月 2021 13:13:18 +0800 Subject: [PATCH] Merge branch 'test' into 'yuyue_dev' --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngStructHouseUserDAO.java | 21 +++++++++------------ 1 files changed, 9 insertions(+), 12 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngStructHouseUserDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngStructHouseUserDAO.java index befff30..30b13e4 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngStructHouseUserDAO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngStructHouseUserDAO.java @@ -1,13 +1,14 @@ package com.panzhihua.service_community.dao; -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.panzhihua.common.model.vos.LoginUserInfoVO; -import com.panzhihua.service_community.model.dos.ComMngStructHouseUserDO; +import java.util.List; +import java.util.Map; + import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; -import java.util.List; -import java.util.Map; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.panzhihua.common.model.vos.LoginUserInfoVO; +import com.panzhihua.service_community.model.dos.ComMngStructHouseUserDO; /** * @program: springcloud_k8s_panzhihuazhihuishequ @@ -19,12 +20,8 @@ public interface ComMngStructHouseUserDAO extends BaseMapper<ComMngStructHouseUserDO> { @Select("select u.name,u.phone from com_mng_struct_house_user h join sys_user u on h.user_id=u.user_id and h.house_code=#{houseCode1}") List<LoginUserInfoVO> selectListHouseUser(String houseCode1); - @Select("SELECT\n" + - "\tp.house_code ,\n" + - "\tp.is_rent\n" + - "FROM\n" + - "\tsys_user_input p \n" + - "WHERE\n" + - "\tp.id =#{userId}") + + @Select("SELECT\n" + "\tp.house_code ,\n" + "\tp.is_rent\n" + "FROM\n" + "\tsys_user_input p \n" + "WHERE\n" + + "\tp.id =#{userId}") Map<String, Object> selectHouseCode(Long userId); } -- Gitblit v1.7.1