| | |
| | | package org.springblade.modules.place.mapper; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.common.node.TreeNode; |
| | | import org.springblade.common.node.TreeStringNode; |
| | | import org.springblade.modules.place.entity.PlaceEntity; |
| | | import org.springblade.modules.place.excel.PlaceAndRelExcel; |
| | | import org.springblade.modules.place.vo.PlaceVO; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | |
| | | * |
| | | * @param page |
| | | * @param place |
| | | * @param houseCodeList |
| | | * @return |
| | | */ |
| | | List<PlaceVO> selectPlacePage(IPage page, PlaceVO place); |
| | | List<PlaceVO> selectPlacePage(IPage page, |
| | | @Param("place") PlaceVO place, |
| | | @Param("houseCodeList") List<String> houseCodeList); |
| | | |
| | | /** |
| | | * 查询场所集合信息 |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | List<TreeNode> selectPlaceNodeList(@Param("userId") String userId); |
| | | List<TreeStringNode> selectPlaceNodeList(@Param("userId") String userId); |
| | | |
| | | /** |
| | | * 插入用户标签 |
| | | * @param userId |
| | | * @param labelId |
| | | */ |
| | | int saveUserLabel(@Param("userId") Long userId,@Param("labelId") int labelId); |
| | | |
| | | /** |
| | | * 查询所有的场所(手机号不为空) |
| | | * @return |
| | | */ |
| | | List<PlaceVO> getPlaceNotNullPhone(); |
| | | |
| | | /** |
| | | * 查询所有的场所 |
| | | * @return |
| | | */ |
| | | List<PlaceVO> getAllHistoryPlace(); |
| | | |
| | | /** |
| | | * 更新场所信息 |
| | | * @param place |
| | | */ |
| | | int updatePlaceEntity(@Param("place") PlaceVO place); |
| | | |
| | | /** |
| | | * 查询场所详情数据 |
| | | * @param place |
| | | * @return |
| | | */ |
| | | PlaceVO getDetail(@Param("place") PlaceEntity place); |
| | | |
| | | /** |
| | | * 判断商超是否导入 |
| | | * @param placeExcel |
| | | * @return |
| | | */ |
| | | PlaceEntity getPlaceAndRelInfo(@Param("place") PlaceAndRelExcel placeExcel); |
| | | |
| | | /** |
| | | * 查询出有用户id 的场所 |
| | | * @return |
| | | */ |
| | | List<PlaceEntity> getHasUserIdPlaceList(); |
| | | } |