linwei
2024-01-08 ad2ec97fe0c60eee4bb7c8cdacff7c876f280ea7
src/main/java/org/springblade/modules/place/mapper/PlaceMapper.java
@@ -17,8 +17,9 @@
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;
@@ -37,16 +38,19 @@
    *
    * @param page
    * @param place
    * @param houseCodeList
    * @return
    */
   List<PlaceVO> selectPlacePage(IPage page, @Param("place") 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);
   /**
    * 插入用户标签
@@ -79,4 +83,29 @@
    * @return
    */
   PlaceVO getDetail(@Param("place") PlaceEntity place);
   /**
    * 判断商超是否导入
    * @param placeExcel
    * @return
    */
   PlaceEntity getPlaceAndRelInfo(@Param("place") PlaceAndRelExcel placeExcel);
   /**
    * 查询出有用户id 的场所
    * @return
    */
    List<PlaceEntity> getHasUserIdPlaceList();
   /**
    * 查询所有的场所数据(除去详情表已有的)
    * @return
    */
   List<PlaceEntity> getPlaceListByNoExt();
   /**
    * 商超数据处理
    * @return
    */
   List<PlaceEntity> placeAndRelHandle();
}