diff --git a/op-modules/op-quality/src/main/java/com/op/quality/service/impl/QcCheckReportProduceServiceImpl.java b/op-modules/op-quality/src/main/java/com/op/quality/service/impl/QcCheckReportProduceServiceImpl.java index 02c5a766..b69e7ef5 100644 --- a/op-modules/op-quality/src/main/java/com/op/quality/service/impl/QcCheckReportProduceServiceImpl.java +++ b/op-modules/op-quality/src/main/java/com/op/quality/service/impl/QcCheckReportProduceServiceImpl.java @@ -232,6 +232,7 @@ public class QcCheckReportProduceServiceImpl implements IQcCheckReportProduceSer //最后一条巡检记录得确认人当最终确认人 QcCheckReportIncome lastData = qcCheckReportIncomeMapper.getLastXJTaskInfo(qcCheckReportIncome); if(lastData!=null ){ + taskInfo.setProductType(lastData.getProductType()); taskInfo.setConfirmManCode(lastData.getConfirmManCode()); taskInfo.setConfirmManName(lastData.getConfirmManName()); taskInfo.setConfirm(lastData.getConfirm()); diff --git a/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckReportIncomeMapper.xml b/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckReportIncomeMapper.xml index 19a6acd6..7abec76a 100644 --- a/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckReportIncomeMapper.xml +++ b/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckReportIncomeMapper.xml @@ -208,6 +208,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" SELECT top 1 c.confirm, + c.product_type productType, c.confirm_man_code confirmManCode, c.confirm_man_name confirmManName, c.confirm_remark confirmRemark,