Merge remote-tracking branch 'origin/test' into test
| | |
| | | "cmp.special_situation, " + |
| | | "cmp.phone, " + |
| | | "cmp.remark, " + |
| | | "cmv.alley, " + |
| | | "cmp.native_place, " + |
| | | "cmp.nation, " + |
| | | "cmp.label, " + |
| | |
| | | "cmp.birthday, " + |
| | | "cmp.update_at, " + |
| | | "cmp.address, " + |
| | | "cmp.is_rent, " + |
| | | "cmphu.relation " + |
| | | "cmp.is_rent " + |
| | | "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_house_user AS cmphu ON cmphu.popul_id = cmp.id " + |
| | | "<where>" + |
| | | "<if test='comMngPopulationVO.name != null and comMngPopulationVO.name != ""'>" + |
| | | "AND cmp.`name` LIKE concat(#{comMngPopulationVO.name},'%') " + |
| | |
| | | " </if> " + |
| | | "<if test='comMngPopulationVO.houseNo != null and comMngPopulationVO.houseNo != ""'>" + |
| | | "AND cmp.house_no = #{comMngPopulationVO.houseNo} " + |
| | | " </if> " + |
| | | "<if test='comMngPopulationVO.alley != null and comMngPopulationVO.alley != ""'>" + |
| | | "AND cmv.alley LIKE concat(#{comMngPopulationVO.alley},'%') " + |
| | | " </if> " + |
| | | "<if test='comMngPopulationVO.sex != null and comMngPopulationVO.sex != ""'>" + |
| | | "AND cmp.sex = #{comMngPopulationVO.sex} " + |