dyh_judic_task
id,
judic_id,
case_id,
serie_status,
flow_id,
process_instance_id,
process_task_id,
task_node,
task_node_name,
task_node_type,
task_type,
handler_unit_id,
handler_unit_name,
handler_dept_id,
handler_dept_name,
handler_role_code,
handler_role_name,
handler_user_id,
handler_user_name,
expire_time,
status,
handle_result,
error_cause,
error_cause_name,
handle_content,
finish_time,
mediate_judic_no,
judic_audit,
judic_audit_name,
judic_handle,
judic_handle_name,
judic_result,
judic_result_name,
judic_false_cause,
delete_status,
cust_id,
create_time,
update_time,
next_user_id,
next_user_name,
last_task_id,
last_unit_id,
last_unit_name,
last_dept_id,
last_dept_name,
last_user_id,
last_user_name,
last_content
judic_id = #{entity.judicId},
case_id = #{entity.caseId},
serie_status = #{entity.serieStatus},
flow_id = #{entity.flowId},
process_instance_id = #{entity.processInstanceId},
process_task_id = #{entity.processTaskId},
task_node = #{entity.taskNode},
task_node_name = #{entity.taskNodeName},
task_node_type = #{entity.taskNodeType},
task_type = #{entity.taskType},
handler_unit_id = #{entity.handlerUnitId},
handler_unit_name = #{entity.handlerUnitName},
handler_dept_id = #{entity.handlerDeptId},
handler_dept_name = #{entity.handlerDeptName},
handler_role_code = #{entity.handlerRoleCode},
handler_role_name = #{entity.handlerRoleName},
handler_user_id = #{entity.handlerUserId},
handler_user_name = #{entity.handlerUserName},
expire_time = #{entity.expireTime},
status = #{entity.status},
handle_result = #{entity.handleResult},
error_cause = #{entity.errorCause},
error_cause_name = #{entity.errorCauseName},
handle_content = #{entity.handleContent},
finish_time = #{entity.finishTime},
mediate_judic_no = #{entity.mediateJudicNo},
judic_audit = #{entity.judicAudit},
judic_audit_name = #{entity.judicAuditName},
judic_handle = #{entity.judicHandle},
judic_handle_name = #{entity.judicHandleName},
judic_result = #{entity.judicResult},
judic_result_name = #{entity.judicResultName},
judic_false_cause = #{entity.judicFalseCause},
delete_status = #{entity.deleteStatus},
cust_id = #{entity.custId},
create_time = #{entity.createTime},
update_time = #{entity.updateTime},
next_user_id = #{entity.nextUserId},
next_user_name = #{entity.nextUserName},
last_task_id = #{entity.lastTaskId},
last_unit_id = #{entity.lastUnitId},
last_unit_name = #{entity.lastUnitName},
last_dept_id = #{entity.lastDeptId},
last_dept_name = #{entity.lastDeptName},
last_user_id = #{entity.lastUserId},
last_user_name = #{entity.lastUserName},
last_content = #{entity.lastContent}
and id = #{terms.id}
and judic_id = #{terms.judicId}
and case_id = #{terms.caseId}
and serie_status = #{terms.serieStatus}
and flow_id = #{terms.flowId}
and process_instance_id = #{terms.processInstanceId}
and process_task_id = #{terms.processTaskId}
and task_node = #{terms.taskNode}
and task_node_name = #{terms.taskNodeName}
and task_node_type = #{terms.taskNodeType}
and task_type = #{terms.taskType}
and handler_unit_id = #{terms.handlerUnitId}
and handler_unit_name = #{terms.handlerUnitName}
and handler_dept_id = #{terms.handlerDeptId}
and handler_dept_name = #{terms.handlerDeptName}
and handler_role_code = #{terms.handlerRoleCode}
and handler_role_name = #{terms.handlerRoleName}
and handler_user_id = #{terms.handlerUserId}
and handler_user_name = #{terms.handlerUserName}
and expire_time = #{terms.expireTime}
and status = #{terms.status}
and handle_result = #{terms.handleResult}
and error_cause = #{terms.errorCause}
and error_cause_name = #{terms.errorCauseName}
and handle_content = #{terms.handleContent}
and finish_time = #{terms.finishTime}
and mediate_judic_no = #{terms.mediateJudicNo}
and judic_audit = #{terms.judicAudit}
and judic_audit_name = #{terms.judicAuditName}
and judic_handle = #{terms.judicHandle}
and judic_handle_name = #{terms.judicHandleName}
and judic_result = #{terms.judicResult}
and judic_result_name = #{terms.judicResultName}
and judic_false_cause = #{terms.judicFalseCause}
and delete_status = 0
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 next_user_id = #{terms.nextUserId}
and next_user_name = #{terms.nextUserName}
and last_task_id = #{terms.lastTaskId}
and last_unit_id = #{terms.lastUnitId}
and last_unit_name = #{terms.lastUnitName}
and last_dept_id = #{terms.lastDeptId}
and last_dept_name = #{terms.lastDeptName}
and last_user_id = #{terms.lastUserId}
and last_user_name = #{terms.lastUserName}
and last_content = #{terms.lastContent}
update
id = #{entity.id}
update
delete from
where id = #{id}