| | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.community.ExportComMngCarExcelDTO; |
| | | import com.panzhihua.common.model.dtos.community.ExportRealCompanyExcelDTO; |
| | | import com.panzhihua.common.model.dtos.community.PageComMngCarDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComMngCarExcelVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngCarVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngPopulationCarVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngRealCompanyExcelVO; |
| | | import com.panzhihua.service_community.model.dos.ComMngCarDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | |
| | | List<ComMngPopulationCarVO> getPopulationCarListByIdCard(@Param(value = "idCard") String idCard); |
| | | |
| | | |
| | | |
| | | @Select("<script> " + |
| | | " SELECT " + |
| | | " t.area_name AS areaName, " + |
| | | " t.user_name AS userName, " + |
| | | " t.brand, " + |
| | | " t.plate_num AS plateNum, " + |
| | | " t.color, " + |
| | | " t.mobile, " + |
| | | " t.address " + |
| | | "FROM " + |
| | | " com_mng_car t where 1=1 " + |
| | | "<if test='exportComMngCarExcelDTO.areaName != null and exportComMngCarExcelDTO.areaName.trim() != ""'>" + |
| | | " and t.area_name LIKE concat( #{exportComMngCarExcelDTO.areaName}, '%' ) " + |
| | | " </if> " + |
| | | "<if test='exportComMngCarExcelDTO.communityId != null and exportComMngCarExcelDTO.communityId != 0'>" + |
| | | " and t.community_id = #{exportComMngCarExcelDTO.communityId} " + |
| | | " </if> " + |
| | | "<if test='exportComMngCarExcelDTO.userName != null and exportComMngCarExcelDTO.userName.trim() != ""'>" + |
| | | " and t.user_name LIKE concat( #{exportComMngCarExcelDTO.userName}, '%' ) " + |
| | | " </if> " + |
| | | " order by t.create_at desc" + |
| | | "</script>") |
| | | List<ComMngCarExcelVO> exportRealCar(@Param(value = "exportComMngCarExcelDTO") ExportComMngCarExcelDTO exportComMngCarExcelDTO); |
| | | |
| | | |
| | | } |