dyh_sy_region_grid
id,
third_sys_id,
third_sys_name,
third_code,
third_name,
third_parent_id,
region_id,
level,
create_time,
update_time
third_sys_id = #{entity.thirdSysId},
third_sys_name = #{entity.thirdSysName},
third_code = #{entity.thirdCode},
third_name = #{entity.thirdName},
third_parent_id = #{entity.thirdParentId},
region_id = #{entity.regionId},
level = #{entity.level},
create_time = #{entity.createTime},
update_time = #{entity.updateTime}
and id = #{terms.id}
and third_sys_id = #{terms.thirdSysId}
and third_sys_name = #{terms.thirdSysName}
and third_code = #{terms.thirdCode}
and third_name = #{terms.thirdName}
and third_parent_id = #{terms.thirdParentId}
and region_id = #{terms.regionId}
and level = #{terms.level}
and DATE_FORMAT(create_time,'%Y-%m-%d') = #{terms.createTime}
and (DATE_FORMAT(create_time,'%Y-%m-%d') = ]]> #{terms.createStart}
and DATE_FORMAT(create_time,'%Y-%m-%d') #{terms.createEnd})
and DATE_FORMAT(update_time,'%Y-%m-%d') = #{terms.updateTime}
and (DATE_FORMAT(update_time,'%Y-%m-%d') = ]]> #{terms.updateStart}
and DATE_FORMAT(update_time,'%Y-%m-%d') #{terms.updateEnd})
update
id = #{entity.id}
update
delete from
where id = #{id}