|
|
@ -41,8 +41,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<include refid="selectQcSampleRuleVo"/>
|
|
|
|
<include refid="selectQcSampleRuleVo"/>
|
|
|
|
where id = #{id}
|
|
|
|
where id = #{id}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select id="getSampNum" resultType="java.lang.String">
|
|
|
|
|
|
|
|
select sample_quality
|
|
|
|
|
|
|
|
from qc_sample_rule
|
|
|
|
|
|
|
|
where end_value>= #{quality} and #{quality}>=start_value and del_flag = '0'
|
|
|
|
|
|
|
|
and check_type = #{checkType}
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<insert id="insertQcSampleRule" parameterType="QcSampleRule">
|
|
|
|
<insert id="insertQcSampleRule" parameterType="QcSampleRule">
|
|
|
|
insert into qc_sample_rule
|
|
|
|
insert into qc_sample_rule
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
<if test="id != null">id,</if>
|
|
|
|
<if test="id != null">id,</if>
|
|
|
|