复检bug修改

master
zhaoxiaolin 9 months ago
parent e96450db07
commit a22bf0ea9c

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

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

@ -228,13 +228,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
record_id,belong_to,order_num,rule_name,property_code,
check_mode,check_tool,unit_code,check_standard,actual_value,
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
REPLACE(NEWID(), '-',''),#{belongTo},order_num,rule_name,property_code,
check_mode,check_tool,unit_code,check_standard,actual_value,
#{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'
</insert>
<insert id="repeatCheckTaskUser">

Loading…
Cancel
Save