and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, service_detail_no, device_code, inspector_code, inspector_name, charger_code,
charger_name, person_type, rule_no, rule_name, temp_score, pl_no, pl_name, park_area_codes,
park_area_names, picture_url, picture_url1, picture_url2, picture_url3, exam_state,
duty_state, duty_day, org_id, remark, data_state, create_emp_id, create_emp_name,
create_time, modify_emp_id, modify_emp_name, modify_time
delete from charger_assess_service_evidence
where id = #{id,jdbcType=BIGINT}
delete from charger_assess_service_evidence
SELECT LAST_INSERT_ID()
insert into charger_assess_service_evidence (service_detail_no, device_code, inspector_code,
inspector_name, charger_code, charger_name,
person_type, rule_no, rule_name,
temp_score, pl_no, pl_name,
park_area_codes, park_area_names, picture_url,
picture_url1, picture_url2, picture_url3,
exam_state, duty_state, duty_day,
org_id, remark, data_state,
create_emp_id, create_emp_name, create_time,
modify_emp_id, modify_emp_name, modify_time
)
values (#{serviceDetailNo,jdbcType=VARCHAR}, #{deviceCode,jdbcType=VARCHAR}, #{inspectorCode,jdbcType=VARCHAR},
#{inspectorName,jdbcType=VARCHAR}, #{chargerCode,jdbcType=VARCHAR}, #{chargerName,jdbcType=VARCHAR},
#{personType,jdbcType=INTEGER}, #{ruleNo,jdbcType=VARCHAR}, #{ruleName,jdbcType=VARCHAR},
#{tempScore,jdbcType=INTEGER}, #{plNo,jdbcType=VARCHAR}, #{plName,jdbcType=VARCHAR},
#{parkAreaCodes,jdbcType=VARCHAR}, #{parkAreaNames,jdbcType=VARCHAR}, #{pictureUrl,jdbcType=VARCHAR},
#{pictureUrl1,jdbcType=VARCHAR}, #{pictureUrl2,jdbcType=VARCHAR}, #{pictureUrl3,jdbcType=VARCHAR},
#{examState,jdbcType=INTEGER}, #{dutyState,jdbcType=INTEGER}, #{dutyDay,jdbcType=DATE},
#{orgId,jdbcType=BIGINT}, #{remark,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER},
#{createEmpId,jdbcType=VARCHAR}, #{createEmpName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{modifyEmpId,jdbcType=VARCHAR}, #{modifyEmpName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}
)
SELECT LAST_INSERT_ID()
insert into charger_assess_service_evidence
service_detail_no,
device_code,
inspector_code,
inspector_name,
charger_code,
charger_name,
person_type,
rule_no,
rule_name,
temp_score,
pl_no,
pl_name,
park_area_codes,
park_area_names,
picture_url,
picture_url1,
picture_url2,
picture_url3,
exam_state,
duty_state,
duty_day,
org_id,
remark,
data_state,
create_emp_id,
create_emp_name,
create_time,
modify_emp_id,
modify_emp_name,
modify_time,
#{serviceDetailNo,jdbcType=VARCHAR},
#{deviceCode,jdbcType=VARCHAR},
#{inspectorCode,jdbcType=VARCHAR},
#{inspectorName,jdbcType=VARCHAR},
#{chargerCode,jdbcType=VARCHAR},
#{chargerName,jdbcType=VARCHAR},
#{personType,jdbcType=INTEGER},
#{ruleNo,jdbcType=VARCHAR},
#{ruleName,jdbcType=VARCHAR},
#{tempScore,jdbcType=INTEGER},
#{plNo,jdbcType=VARCHAR},
#{plName,jdbcType=VARCHAR},
#{parkAreaCodes,jdbcType=VARCHAR},
#{parkAreaNames,jdbcType=VARCHAR},
#{pictureUrl,jdbcType=VARCHAR},
#{pictureUrl1,jdbcType=VARCHAR},
#{pictureUrl2,jdbcType=VARCHAR},
#{pictureUrl3,jdbcType=VARCHAR},
#{examState,jdbcType=INTEGER},
#{dutyState,jdbcType=INTEGER},
#{dutyDay,jdbcType=DATE},
#{orgId,jdbcType=BIGINT},
#{remark,jdbcType=VARCHAR},
#{dataState,jdbcType=INTEGER},
#{createEmpId,jdbcType=VARCHAR},
#{createEmpName,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{modifyEmpId,jdbcType=VARCHAR},
#{modifyEmpName,jdbcType=VARCHAR},
#{modifyTime,jdbcType=TIMESTAMP},
update charger_assess_service_evidence
id = #{record.id,jdbcType=BIGINT},
service_detail_no = #{record.serviceDetailNo,jdbcType=VARCHAR},
device_code = #{record.deviceCode,jdbcType=VARCHAR},
inspector_code = #{record.inspectorCode,jdbcType=VARCHAR},
inspector_name = #{record.inspectorName,jdbcType=VARCHAR},
charger_code = #{record.chargerCode,jdbcType=VARCHAR},
charger_name = #{record.chargerName,jdbcType=VARCHAR},
person_type = #{record.personType,jdbcType=INTEGER},
rule_no = #{record.ruleNo,jdbcType=VARCHAR},
rule_name = #{record.ruleName,jdbcType=VARCHAR},
temp_score = #{record.tempScore,jdbcType=INTEGER},
pl_no = #{record.plNo,jdbcType=VARCHAR},
pl_name = #{record.plName,jdbcType=VARCHAR},
park_area_codes = #{record.parkAreaCodes,jdbcType=VARCHAR},
park_area_names = #{record.parkAreaNames,jdbcType=VARCHAR},
picture_url = #{record.pictureUrl,jdbcType=VARCHAR},
picture_url1 = #{record.pictureUrl1,jdbcType=VARCHAR},
picture_url2 = #{record.pictureUrl2,jdbcType=VARCHAR},
picture_url3 = #{record.pictureUrl3,jdbcType=VARCHAR},
exam_state = #{record.examState,jdbcType=INTEGER},
duty_state = #{record.dutyState,jdbcType=INTEGER},
duty_day = #{record.dutyDay,jdbcType=DATE},
org_id = #{record.orgId,jdbcType=BIGINT},
remark = #{record.remark,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_emp_name = #{record.createEmpName,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
modify_emp_id = #{record.modifyEmpId,jdbcType=VARCHAR},
modify_emp_name = #{record.modifyEmpName,jdbcType=VARCHAR},
modify_time = #{record.modifyTime,jdbcType=TIMESTAMP},
update charger_assess_service_evidence
set id = #{record.id,jdbcType=BIGINT},
service_detail_no = #{record.serviceDetailNo,jdbcType=VARCHAR},
device_code = #{record.deviceCode,jdbcType=VARCHAR},
inspector_code = #{record.inspectorCode,jdbcType=VARCHAR},
inspector_name = #{record.inspectorName,jdbcType=VARCHAR},
charger_code = #{record.chargerCode,jdbcType=VARCHAR},
charger_name = #{record.chargerName,jdbcType=VARCHAR},
person_type = #{record.personType,jdbcType=INTEGER},
rule_no = #{record.ruleNo,jdbcType=VARCHAR},
rule_name = #{record.ruleName,jdbcType=VARCHAR},
temp_score = #{record.tempScore,jdbcType=INTEGER},
pl_no = #{record.plNo,jdbcType=VARCHAR},
pl_name = #{record.plName,jdbcType=VARCHAR},
park_area_codes = #{record.parkAreaCodes,jdbcType=VARCHAR},
park_area_names = #{record.parkAreaNames,jdbcType=VARCHAR},
picture_url = #{record.pictureUrl,jdbcType=VARCHAR},
picture_url1 = #{record.pictureUrl1,jdbcType=VARCHAR},
picture_url2 = #{record.pictureUrl2,jdbcType=VARCHAR},
picture_url3 = #{record.pictureUrl3,jdbcType=VARCHAR},
exam_state = #{record.examState,jdbcType=INTEGER},
duty_state = #{record.dutyState,jdbcType=INTEGER},
duty_day = #{record.dutyDay,jdbcType=DATE},
org_id = #{record.orgId,jdbcType=BIGINT},
remark = #{record.remark,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_emp_name = #{record.createEmpName,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
modify_emp_id = #{record.modifyEmpId,jdbcType=VARCHAR},
modify_emp_name = #{record.modifyEmpName,jdbcType=VARCHAR},
modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}
update charger_assess_service_evidence
service_detail_no = #{serviceDetailNo,jdbcType=VARCHAR},
device_code = #{deviceCode,jdbcType=VARCHAR},
inspector_code = #{inspectorCode,jdbcType=VARCHAR},
inspector_name = #{inspectorName,jdbcType=VARCHAR},
charger_code = #{chargerCode,jdbcType=VARCHAR},
charger_name = #{chargerName,jdbcType=VARCHAR},
person_type = #{personType,jdbcType=INTEGER},
rule_no = #{ruleNo,jdbcType=VARCHAR},
rule_name = #{ruleName,jdbcType=VARCHAR},
temp_score = #{tempScore,jdbcType=INTEGER},
pl_no = #{plNo,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
park_area_codes = #{parkAreaCodes,jdbcType=VARCHAR},
park_area_names = #{parkAreaNames,jdbcType=VARCHAR},
picture_url = #{pictureUrl,jdbcType=VARCHAR},
picture_url1 = #{pictureUrl1,jdbcType=VARCHAR},
picture_url2 = #{pictureUrl2,jdbcType=VARCHAR},
picture_url3 = #{pictureUrl3,jdbcType=VARCHAR},
exam_state = #{examState,jdbcType=INTEGER},
duty_state = #{dutyState,jdbcType=INTEGER},
duty_day = #{dutyDay,jdbcType=DATE},
org_id = #{orgId,jdbcType=BIGINT},
remark = #{remark,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
modify_emp_id = #{modifyEmpId,jdbcType=VARCHAR},
modify_emp_name = #{modifyEmpName,jdbcType=VARCHAR},
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update charger_assess_service_evidence
set service_detail_no = #{serviceDetailNo,jdbcType=VARCHAR},
device_code = #{deviceCode,jdbcType=VARCHAR},
inspector_code = #{inspectorCode,jdbcType=VARCHAR},
inspector_name = #{inspectorName,jdbcType=VARCHAR},
charger_code = #{chargerCode,jdbcType=VARCHAR},
charger_name = #{chargerName,jdbcType=VARCHAR},
person_type = #{personType,jdbcType=INTEGER},
rule_no = #{ruleNo,jdbcType=VARCHAR},
rule_name = #{ruleName,jdbcType=VARCHAR},
temp_score = #{tempScore,jdbcType=INTEGER},
pl_no = #{plNo,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
park_area_codes = #{parkAreaCodes,jdbcType=VARCHAR},
park_area_names = #{parkAreaNames,jdbcType=VARCHAR},
picture_url = #{pictureUrl,jdbcType=VARCHAR},
picture_url1 = #{pictureUrl1,jdbcType=VARCHAR},
picture_url2 = #{pictureUrl2,jdbcType=VARCHAR},
picture_url3 = #{pictureUrl3,jdbcType=VARCHAR},
exam_state = #{examState,jdbcType=INTEGER},
duty_state = #{dutyState,jdbcType=INTEGER},
duty_day = #{dutyDay,jdbcType=DATE},
org_id = #{orgId,jdbcType=BIGINT},
remark = #{remark,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
modify_emp_id = #{modifyEmpId,jdbcType=VARCHAR},
modify_emp_name = #{modifyEmpName,jdbcType=VARCHAR},
modify_time = #{modifyTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}