| | |
| | | + " cmp.census_register, " + " cmp.out_or_local, " + " cmp.remark, " + " cmp.marriage " + "FROM " |
| | | + " com_mng_population AS cmp " + " LEFT JOIN com_mng_village AS cmv ON cmv.village_id = cmp.village_id " |
| | | + " left join com_mng_population_community_tags as cmpct on cmp.id = cmpct.population_id " + "WHERE " |
| | | + " id = #{populationId}") |
| | | + " cmp.id = #{populationId}") |
| | | PopulationDetailVO getPopulationDetailApp(@Param("populationId") Long populationId); |
| | | |
| | | @Select("<script> " + " SELECT " + " cmp.id, " + " cmp.`name` AS userName, " |
| | |
| | | getGridPopulationAdminLists(@Param("populationExportDTO") ComMngPopulationExportDTO populationExportDTO); |
| | | |
| | | @Select("<script> " |
| | | + " select cmp.id,cmp.`name`,cmp.card_no,cmtct.label from com_mng_population as cmp left join com_mng_population_community_tags AS cmpct on cmp.id = cmpct.population_id where 1=1 " |
| | | + " select cmp.id,cmp.`name`,cmp.card_no,cmpct.label from com_mng_population as cmp left join com_mng_population_community_tags AS cmpct on cmp.id = cmpct.population_id where 1=1 " |
| | | + "<if test='villagePopulationDTO.villageId != null'>" |
| | | + " and cmp.village_id = #{villagePopulationDTO.villageId} " + " </if> " |
| | | + "<if test='villagePopulationDTO.keyWord != null'>" |