update prevent_cj_report_check_record_from_task set
report_status = #{reportStatus},
report_time = #{reportTime}
where task_id = #{id}
update prevent_cj_report_check_record_from_task set
report_status = #{reportStatus},
report_time = #{reportTime}
where id = #{id}
update prevent_cj_report_check_record_from_task set
zhun_report_status = #{zhunReportStatus},
zhun_report_time = #{zhunReportTime}
where id = #{id}
insert into prevent_cj_report_check_record_from_task
values(null, #{id}, #{companyCode}, #{deleted}, #{createDate}, #{createBy}, #{updateDate}, #{updateBy}
, #{checkTaskId}, #{checkStatus}, #{checkTime}, #{createByMobile}, #{updateByMobile}
, #{reportStatus}, #{reportTime}, #{dataSource}, #{taskId}
, #{mobileCode}, #{defend})
insert into prevent_cj_report_check_record_from_task
(index_id, id, company_code, deleted, create_date, create_by, update_date, update_by,
report_status, report_time,data_source, check_task_id, check_status, check_time,
create_by_mobile, update_by_mobile, task_id, mobile_code, defend, zhun_report_status, zhun_report_time)
values
(null, #{record.id}, #{record.companyCode}, #{record.deleted}, #{record.createDate}, #{record.createBy}, #{record.updateDate},#{record.updateBy},
#{record.reportStatus}, null, #{record.dataSource}, #{record.checkTaskId}, #{record.checkStatus}, #{record.checkTime},
#{record.createByMobile}, #{record.updateByMobile}, #{record.taskId}, #{record.mobileCode}, #{record.defend}, #{record.zhunReportStatus}, null)
update prevent_cj_report_check_record_from_task
report_status = #{reportStatus},
report_time= #{reportTime},
where id = #{id}
update prevent_cj_report_check_record_from_task set id=concat(substring(id,1,length(id)-4),'ccab'),report_status=1
where check_time >= #{startTime} and check_time <= #{endTime}
update prevent_cj_report_check_record_from_task set id=concat(substring(id,1,length(id)-4),'ccab'),report_status=1
where check_time > #{startTime} and check_time <= #{endTime}