|
@@ -136,15 +136,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</select>
|
|
|
|
|
|
<select id="listByXzAndJs" resultMap="VaccineInfoResult">
|
|
|
- select vi.id, vi.village_towns, vi.village, vi.villager_group,vi.age, vi.house_type, vi.domicile, vi.province,
|
|
|
- vi.city,vi.should_slow,
|
|
|
- vi.region, vi.user_name, vi.gender, vi.id_card, vi.phone_num, vi.key_industries, vi.is_vaccination,
|
|
|
- vi.vaccine_name, vi.jici,
|
|
|
- vi.vaccination_time, vi.vaccination_place, vi.contraindication,
|
|
|
- vi.suspend,vi.suspend_url,vi.other_url,vi.vaccination_time,
|
|
|
- vi.should_be, vi.other, vi.progress, vi.remark, vi.status, vi.create_by, vi.create_time, vi.update_by,
|
|
|
- vi.update_time,
|
|
|
- vi.is_del,vi.code,vi.birthday,vi.work_unit,vi.crowd_classification,vi.manufacturer,vi.now_in,vi.url,vi.dept_id
|
|
|
+ select vi.create_time, vi.update_time, vi.is_del
|
|
|
from vaccine_info vi
|
|
|
where (vi.is_del = 'N' and vi.create_time >= #{startTime} and vi.create_time <= #{endTime}) or
|
|
|
(vi.is_del = 'Y' and vi.update_time >= #{startTime} and vi.update_time <= #{endTime})
|