type, sex, province, city, district, dtime, #{type}, #{sex}, #{province}, #{city}, #{district}, #{dtime}, and to_days(dtime)=to_days(now()) and YEARWEEK(date_format(dtime,'%Y-%m-%d'),1) = YEARWEEK(now(),1) and date_format(dtime,'%Y%m') = date_format(now(),'%Y%m') and province like concat('%',#{healthcodeVO.province},'%') and city like concat('%',#{healthcodeVO.city},'%') and district like concat('%',#{healthcodeVO.district},'%') and date(dtime) between #{healthcodeVO.begTime} and #{healthcodeVO.endTime} and hour(dtime)>=0 and hour(dtime) <2 and hour(dtime)>=2 and hour(dtime) <4 and hour(dtime)>=4 and hour(dtime) <6 and hour(dtime)>=6 and hour(dtime) <8 and hour(dtime)>=8 and hour(dtime) <10 and hour(dtime)>=10 and hour(dtime) <12 and hour(dtime)>=12 and hour(dtime) <14 and hour(dtime)>=14 and hour(dtime) <16 and hour(dtime)>=16 and hour(dtime) <18 and hour(dtime)>=18 and hour(dtime) <20 and hour(dtime)>=20 and hour(dtime) <22 and hour(dtime)>=22 and hour(dtime) <24 insert into healthcode() values()