dyh_case_info
id,
case_title,
case_no,
serie_status,
serie_no,
mediate_no,
mediate_book_no,
medi_type,
medi_type_name,
case_type,
case_type_name,
input_case_type,
source,
source_name,
canal,
canal_name,
people_num,
amount,
crowd,
crowd_name,
occur_time,
prov,
prov_name,
city,
city_name,
area,
area_name,
road,
road_name,
village,
village_name,
addr,
case_des,
case_claim,
plaintiffs,
pagents,
defendants,
dagents,
want_unit_id,
want_unit_name,
want_user_id,
want_user_name,
input_unit_id,
input_unit_name,
input_user_id,
input_user_name,
input_way,
accept_time,
audit_obj_id,
audit_obj_name,
audit_result,
audit_result_name,
audit_time,
error_cause,
error_cause_name,
audit_content,
sign_status,
process,
process_name,
mediate_unit_id,
mediate_unit_name,
mediate_dept_id,
mediate_dept_name,
mediate_dept_type,
mediator_id,
mediator,
mediator_mobile,
medi_start_time,
medi_end_time,
medi_result,
medi_result_name,
agree_content,
medi_content,
medi_false,
medi_false_name,
medi_false_content,
civil_status,
civil_no,
court_id,
court_name,
judic_apply,
judic_apply_name,
judic_info_id,
judic_result,
judic_result_name,
file_status,
file_status_name,
file_user_id,
file_user_name,
file_time,
file_year,
file_book_name,
file_book_no,
file_no,
file_limit_year,
file_addr,
file_content,
fulfil_situ,
fulfil_situ_name,
visit_status,
visit_content,
party_joy,
delete_status,
cust_id,
create_time,
update_time
case_title = #{entity.caseTitle},
case_no = #{entity.caseNo},
serie_status = #{entity.serieStatus},
serie_no = #{entity.serieNo},
mediate_no = #{entity.mediateNo},
mediate_book_no = #{entity.mediateBookNo},
medi_type = #{entity.mediType},
medi_type_name = #{entity.mediTypeName},
case_type = #{entity.caseType},
case_type_name = #{entity.caseTypeName},
input_case_type = #{entity.inputCaseType},
source = #{entity.source},
source_name = #{entity.sourceName},
canal = #{entity.canal},
canal_name = #{entity.canalName},
people_num = #{entity.peopleNum},
amount = #{entity.amount},
crowd = #{entity.crowd},
crowd_name = #{entity.crowdName},
occur_time = #{entity.occurTime},
prov = #{entity.prov},
prov_name = #{entity.provName},
city = #{entity.city},
city_name = #{entity.cityName},
area = #{entity.area},
area_name = #{entity.areaName},
road = #{entity.road},
road_name = #{entity.roadName},
village = #{entity.village},
village_name = #{entity.villageName},
addr = #{entity.addr},
case_des = #{entity.caseDes},
case_claim = #{entity.caseClaim},
plaintiffs = #{entity.plaintiffs},
pagents = #{entity.pagents},
defendants = #{entity.defendants},
dagents = #{entity.dagents},
want_unit_id = #{entity.wantUnitId},
want_unit_name = #{entity.wantUnitName},
want_user_id = #{entity.wantUserId},
want_user_name = #{entity.wantUserName},
input_unit_id = #{entity.inputUnitId},
input_unit_name = #{entity.inputUnitName},
input_user_id = #{entity.inputUserId},
input_user_name = #{entity.inputUserName},
input_way = #{entity.inputWay},
accept_time = #{entity.acceptTime},
audit_obj_id = #{entity.auditObjId},
audit_obj_name = #{entity.auditObjName},
audit_result = #{entity.auditResult},
audit_result_name = #{entity.auditResultName},
audit_time = #{entity.auditTime},
error_cause = #{entity.errorCause},
error_cause_name = #{entity.errorCauseName},
audit_content = #{entity.auditContent},
sign_status = #{entity.signStatus},
process = #{entity.process},
process_name = #{entity.processName},
mediate_unit_id = #{entity.mediateUnitId},
mediate_unit_name = #{entity.mediateUnitName},
mediate_dept_id = #{entity.mediateDeptId},
mediate_dept_name = #{entity.mediateDeptName},
mediate_dept_type = #{entity.mediateDeptType},
mediator_id = #{entity.mediatorId},
mediator = #{entity.mediator},
mediator_mobile = #{entity.mediatorMobile},
medi_start_time = #{entity.mediStartTime},
medi_end_time = #{entity.mediEndTime},
medi_result = #{entity.mediResult},
medi_result_name = #{entity.mediResultName},
agree_content = #{entity.agreeContent},
medi_content = #{entity.mediContent},
medi_false = #{entity.mediFalse},
medi_false_name = #{entity.mediFalseName},
medi_false_content = #{entity.mediFalseContent},
civil_status = #{entity.civilStatus},
civil_no = #{entity.civilNo},
court_id = #{entity.courtId},
court_name = #{entity.courtName},
judic_apply = #{entity.judicApply},
judic_apply_name = #{entity.judicApplyName},
judic_info_id = #{entity.judicInfoId},
judic_result = #{entity.judicResult},
judic_result_name = #{entity.judicResultName},
file_status = #{entity.fileStatus},
file_status_name = #{entity.fileStatusName},
file_user_id = #{entity.fileUserId},
file_user_name = #{entity.fileUserName},
file_time = #{entity.fileTime},
file_year = #{entity.fileYear},
file_book_name = #{entity.fileBookName},
file_book_no = #{entity.fileBookNo},
file_no = #{entity.fileNo},
file_limit_year = #{entity.fileLimitYear},
file_addr = #{entity.fileAddr},
file_content = #{entity.fileContent},
fulfil_situ = #{entity.fulfilSitu},
fulfil_situ_name = #{entity.fulfilSituName},
visit_status = #{entity.visitStatus},
visit_content = #{entity.visitContent},
party_joy = #{entity.partyJoy},
delete_status = #{entity.deleteStatus},
cust_id = #{entity.custId},
create_time = #{entity.createTime},
update_time = #{entity.updateTime}
and id = #{terms.id}
and case_title = #{terms.caseTitle}
and case_no = #{terms.caseNo}
and serie_status = #{terms.serieStatus}
and serie_no = #{terms.serieNo}
and mediate_no = #{terms.mediateNo}
and mediate_book_no = #{terms.mediateBookNo}
and medi_type = #{terms.mediType}
and medi_type_name = #{terms.mediTypeName}
and case_type = #{terms.caseType}
and case_type_name = #{terms.caseTypeName}
and input_case_type = #{terms.inputCaseType}
and source = #{terms.source}
and source_name = #{terms.sourceName}
and canal = #{terms.canal}
and canal_name = #{terms.canalName}
and people_num = #{terms.peopleNum}
and amount = #{terms.amount}
and crowd = #{terms.crowd}
and crowd_name = #{terms.crowdName}
and occur_time = #{terms.occurTime}
and prov = #{terms.prov}
and prov_name = #{terms.provName}
and city = #{terms.city}
and city_name = #{terms.cityName}
and area = #{terms.area}
and area_name = #{terms.areaName}
and road = #{terms.road}
and road_name = #{terms.roadName}
and village = #{terms.village}
and village_name = #{terms.villageName}
and addr = #{terms.addr}
and case_des = #{terms.caseDes}
and case_claim = #{terms.caseClaim}
and plaintiffs = #{terms.plaintiffs}
and pagents = #{terms.pagents}
and defendants = #{terms.defendants}
and dagents = #{terms.dagents}
and want_unit_id = #{terms.wantUnitId}
and want_unit_name = #{terms.wantUnitName}
and want_user_id = #{terms.wantUserId}
and want_user_name = #{terms.wantUserName}
and input_unit_id = #{terms.inputUnitId}
and input_unit_name = #{terms.inputUnitName}
and input_user_id = #{terms.inputUserId}
and input_user_name = #{terms.inputUserName}
and input_way = #{terms.inputWay}
and accept_time = #{terms.acceptTime}
and audit_obj_id = #{terms.auditObjId}
and audit_obj_name = #{terms.auditObjName}
and audit_result = #{terms.auditResult}
and audit_result_name = #{terms.auditResultName}
and audit_time = #{terms.auditTime}
and error_cause = #{terms.errorCause}
and error_cause_name = #{terms.errorCauseName}
and audit_content = #{terms.auditContent}
and sign_status = #{terms.signStatus}
and process = #{terms.process}
and process_name = #{terms.processName}
and mediate_unit_id = #{terms.mediateUnitId}
and mediate_unit_name = #{terms.mediateUnitName}
and mediate_dept_id = #{terms.mediateDeptId}
and mediate_dept_name = #{terms.mediateDeptName}
and mediate_dept_type = #{terms.mediateDeptType}
and mediator_id = #{terms.mediatorId}
and mediator = #{terms.mediator}
and mediator_mobile = #{terms.mediatorMobile}
and medi_start_time = #{terms.mediStartTime}
and medi_end_time = #{terms.mediEndTime}
and medi_result = #{terms.mediResult}
and medi_result_name = #{terms.mediResultName}
and agree_content = #{terms.agreeContent}
and medi_content = #{terms.mediContent}
and medi_false = #{terms.mediFalse}
and medi_false_name = #{terms.mediFalseName}
and medi_false_content = #{terms.mediFalseContent}
and civil_status = #{terms.civilStatus}
and civil_no = #{terms.civilNo}
and court_id = #{terms.courtId}
and court_name = #{terms.courtName}
and judic_apply = #{terms.judicApply}
and judic_apply_name = #{terms.judicApplyName}
and judic_info_id = #{terms.judicInfoId}
and judic_result = #{terms.judicResult}
and judic_result_name = #{terms.judicResultName}
and file_status = #{terms.fileStatus}
and file_status_name = #{terms.fileStatusName}
and file_user_id = #{terms.fileUserId}
and file_user_name = #{terms.fileUserName}
and file_time = #{terms.fileTime}
and file_year = #{terms.fileYear}
and file_book_name = #{terms.fileBookName}
and file_book_no = #{terms.fileBookNo}
and file_no = #{terms.fileNo}
and file_limit_year = #{terms.fileLimitYear}
and file_addr = #{terms.fileAddr}
and file_content = #{terms.fileContent}
and fulfil_situ = #{terms.fulfilSitu}
and fulfil_situ_name = #{terms.fulfilSituName}
and visit_status = #{terms.visitStatus}
and visit_content = #{terms.visitContent}
and party_joy = #{terms.partyJoy}
and delete_status = '1'
and delete_status = #{terms.deleteStatus}
and cust_id = #{terms.custId}
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})
and process in ('22_00006-4', '22_00006-5', '22_00006-6', '22_00006-7')
AND mediate_unit_id = '5e69e30ea66a4827a71eb3e3cc9ebb90'
and canal != '22_00001-2'
and process in ('22_00006-1', '22_00006-2', '22_00006-3')
AND mediate_unit_id = '5e69e30ea66a4827a71eb3e3cc9ebb90'
and canal != '22_00001-2'
update
id = #{entity.id}
update
delete from
where id = #{id}