|
|
|
@ -217,6 +217,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
where c.check_type='checkTypeSCXJ' and c.order_no = #{orderNo}
|
|
|
|
|
order by c.create_time desc
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getLastProductTypeInfo" resultType="com.op.quality.domain.QcCheckTaskProduce">
|
|
|
|
|
SELECT
|
|
|
|
|
top 1
|
|
|
|
|
c.product_type productType,
|
|
|
|
|
c.check_man_code checkManCode,
|
|
|
|
|
c.check_man_name checkManName,
|
|
|
|
|
c.confirm_man_code confirmManCode,
|
|
|
|
|
c.confirm_man_name confirmManName
|
|
|
|
|
FROM
|
|
|
|
|
qc_check_task c
|
|
|
|
|
where c.check_type='checkTypeSCXJ' and c.order_no = #{orderNo}
|
|
|
|
|
order by c.create_time desc
|
|
|
|
|
</select>
|
|
|
|
|
<insert id="insertQcCheckReportIncome" parameterType="QcCheckReportIncome">
|
|
|
|
|
insert into qc_check_task
|
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
|