复检bug修改

master
zhaoxiaolin 9 months ago
parent e96450db07
commit a22bf0ea9c

@ -705,8 +705,8 @@ public class QcCheckTaskIncomeServiceImpl<QcCheckUnqualifiedService> implements
n = qcCheckUnqualifiedMapper.repeatCheckTask(recheck); n = qcCheckUnqualifiedMapper.repeatCheckTask(recheck);
logger.info("复检表qc_check_task:" + n); logger.info("复检表qc_check_task:" + n);
n = qcCheckUnqualifiedMapper.repeatCheckTaskDefect(recheck); // n = qcCheckUnqualifiedMapper.repeatCheckTaskDefect(recheck);
logger.info("复检表qc_check_task_defect:" + n); // logger.info("复检表qc_check_task_defect:" + n);
n = qcCheckUnqualifiedMapper.repeatCheckTaskDetail(recheck); n = qcCheckUnqualifiedMapper.repeatCheckTaskDetail(recheck);
logger.info("复检表qc_check_task_detail:" + n); logger.info("复检表qc_check_task_detail:" + n);

@ -135,7 +135,6 @@
update_by, update_by,
update_time, update_time,
factory_code, factory_code,
del_flag,
belong_to belong_to
) )
values values
@ -154,7 +153,6 @@
#{item.updateBy}, #{item.updateBy},
#{item.updateTime}, #{item.updateTime},
#{item.factoryCode}, #{item.factoryCode},
#{item.delFlag},
#{item.belongTo} #{item.belongTo}
) )
</foreach> </foreach>

@ -228,13 +228,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
record_id,belong_to,order_num,rule_name,property_code, record_id,belong_to,order_num,rule_name,property_code,
check_mode,check_tool,unit_code,check_standard,actual_value, check_mode,check_tool,unit_code,check_standard,actual_value,
create_by,create_time,factory_code,del_flag, create_by,create_time,factory_code,del_flag,
project_id,project_no,type_project_id,defect_code project_id,project_no,type_project_id,defect_code,status
) )
select select
REPLACE(NEWID(), '-',''),#{belongTo},order_num,rule_name,property_code, REPLACE(NEWID(), '-',''),#{belongTo},order_num,rule_name,property_code,
check_mode,check_tool,unit_code,check_standard,actual_value, check_mode,check_tool,unit_code,check_standard,actual_value,
#{createBy},#{createTime},factory_code,del_flag, #{createBy},#{createTime},factory_code,del_flag,
project_id,project_no,type_project_id,defect_code project_id,project_no,type_project_id,defect_code,'Y'
from qc_check_task_detail where belong_to = #{oldBelongTo} and del_flag = '0' from qc_check_task_detail where belong_to = #{oldBelongTo} and del_flag = '0'
</insert> </insert>
<insert id="repeatCheckTaskUser"> <insert id="repeatCheckTaskUser">

Loading…
Cancel
Save