|
|
@ -88,22 +88,22 @@ |
|
|
|
and ID_CARD like CONCAT('%', #{idCard}, '%') |
|
|
|
</if> |
|
|
|
<if test="isVaccination != null and isVaccination != ''"> |
|
|
|
and (IS_VACCINATION = #{isVaccination} |
|
|
|
and IS_VACCINATION = #{isVaccination} |
|
|
|
</if> |
|
|
|
<if test="gridId != null and gridId != ''"> |
|
|
|
and (GRID_ID = #{gridId} |
|
|
|
and GRID_ID = #{gridId} |
|
|
|
</if> |
|
|
|
<if test="villageId != null and villageId != ''"> |
|
|
|
and (VILLAGE_ID = #{villageId} |
|
|
|
and VILLAGE_ID = #{villageId} |
|
|
|
</if> |
|
|
|
<if test="buildId != null and buildId != ''"> |
|
|
|
and (BUILD_ID = #{buildId} |
|
|
|
and BUILD_ID = #{buildId} |
|
|
|
</if> |
|
|
|
<if test="unitId != null and unitId != ''"> |
|
|
|
and (UNIT_ID = #{unitId} |
|
|
|
and UNIT_ID = #{unitId} |
|
|
|
</if> |
|
|
|
<if test="homeId != null and homeId != ''"> |
|
|
|
and (HOME_ID = #{homeId} |
|
|
|
and HOME_ID = #{homeId} |
|
|
|
</if> |
|
|
|
order by CREATED_TIME desc |
|
|
|
</select> |
|
|
@ -160,22 +160,22 @@ |
|
|
|
and ID_CARD like CONCAT('%', #{idCard}, '%') |
|
|
|
</if> |
|
|
|
<if test="isVaccination != null and isVaccination != ''"> |
|
|
|
and (IS_VACCINATION = #{isVaccination} |
|
|
|
and IS_VACCINATION = #{isVaccination} |
|
|
|
</if> |
|
|
|
<if test="gridId != null and gridId != ''"> |
|
|
|
and (GRID_ID = #{gridId} |
|
|
|
and GRID_ID = #{gridId} |
|
|
|
</if> |
|
|
|
<if test="villageId != null and villageId != ''"> |
|
|
|
and (VILLAGE_ID = #{villageId} |
|
|
|
and VILLAGE_ID = #{villageId} |
|
|
|
</if> |
|
|
|
<if test="buildId != null and buildId != ''"> |
|
|
|
and (BUILD_ID = #{buildId} |
|
|
|
and BUILD_ID = #{buildId} |
|
|
|
</if> |
|
|
|
<if test="unitId != null and unitId != ''"> |
|
|
|
and (UNIT_ID = #{unitId} |
|
|
|
and UNIT_ID = #{unitId} |
|
|
|
</if> |
|
|
|
<if test="homeId != null and homeId != ''"> |
|
|
|
and (HOME_ID = #{homeId} |
|
|
|
and HOME_ID = #{homeId} |
|
|
|
</if> |
|
|
|
order by CREATED_TIME desc |
|
|
|
</select> |
|
|
|