| | |
| | | import org.apache.ibatis.annotations.Select; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @program: springcloud_k8s_panzhihuazhihuishequ |
| | |
| | | **/ |
| | | @Mapper |
| | | public interface ComMngStructHouseUserDAO extends BaseMapper<ComMngStructHouseUserDO> { |
| | | @Select("select u.name,u.phone from com_mng_struct_house_user h left join sys_user u on h.user_id=u.user_id") |
| | | @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}") |
| | | Map<String, Object> selectHouseCode(Long userId); |
| | | } |