insert into sys_sap_log
(id,messsge,create_time,reqcode,method,remark,status)
values(
#{id},#{messsge}, #{createTime}, #{reqcode},#{method},#{remark},#{status})
update mes_report_work
upload_time = #{uploadTime},
upload_status = #{uploadStatus},
upload_msg = #{uploadMsg},
where 1=1
and id = #{id}
and report_code = #{reportCode}
update pro_order_workorder set status = #{status} where belong_work_order = #{workorderCode}
insert into equ_repair_order
order_id,
order_code,
equipment_code,
order_desc,
order_breakdown_time,
order_source,
order_time,
order_handle,
order_repairman_code,
order_repairman_name,
order_connection,
order_status,
order_relevance,
order_picture,
attr1,
attr2,
attr3,
del_flag,
create_by,
create_time,
update_by,
update_time,
factory_code,
repair_destination,
#{orderId},
#{orderCode},
#{equipmentCode},
#{orderDesc},
#{orderBreakdownTime},
#{orderSource},
#{orderTime},
#{orderHandle},
#{orderRepairmanCode},
#{orderRepairmanName},
#{orderConnection},
#{orderStatus},
#{orderRelevance},
#{orderPicture},
#{attr1},
#{attr2},
#{attr3},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{factoryCode},
#{repairDestination},
insert into qc_check_task
record_id,
check_no,
income_batch_no,
order_no,
material_code,
material_name,
quality,
sample_quality,
noOk_quality,
aNoOkquality,
bNoOkquality,
cNoOkquality,
unit,
supplier_code,
supplier_name,
income_time,
check_loc,
check_status,
check_man_code,
check_man_name,
check_time,
check_result,
status,
attr1,
attr2,
attr3,
attr4,
create_by,
create_time,
update_by,
update_time,
factory_code,
del_flag,
check_type,
type_code,
sample_quality,
#{recordId},
#{checkNo},
#{incomeBatchNo},
#{orderNo},
#{materialCode},
#{materialName},
#{quality},
#{sampleQuality},
#{noOkQuality},
#{aNoOkquality},
#{bNoOkquality},
#{cNoOkquality},
#{unit},
#{supplierCode},
#{supplierName},
#{incomeTime},
#{checkLoc},
#{checkStatus},
#{checkManCode},
#{checkManName},
#{checkTime},
#{checkResult},
#{status},
#{attr1},
#{attr2},
#{attr3},
#{attr4},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{factoryCode},
#{delFlag},
#{checkType},
#{typeCode},
#{sampleQuality},
insert into qc_check_task_detail(
record_id,belong_to,
project_id,project_no,rule_name,order_num,
property_code,check_mode,
check_tool,unit_code,
check_standard,actual_value,
status,create_by,create_time,
factory_code,del_flag,type_project_id
) values
(
#{item.recordId},#{item.belongTo},
#{item.projectId},#{item.projectNo},#{item.ruleName},#{item.sort},
#{item.propertyCode},#{item.checkMode},
#{item.checkTool},#{item.unitCode},
#{item.standardValue},#{item.actualValue},
#{item.status},#{item.createBy},#{item.createTime},
#{item.factoryCode},'0',#{item.typeProjectId}
)
insert into qc_check_task_user(
record_id,belong_to,check_no,
check_man_code,check_man_name,
create_by,create_time,factory_code
) values
(
#{item.id},#{item.belongTo},#{item.checkNo},
#{item.userCode},#{item.userName},
#{item.createBy},#{item.createTime},#{item.factoryCode}
)