|
|
@ -22,13 +22,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
|
<result property="samplePlan" column="sample_plan" />
|
|
|
|
<result property="samplePlan" column="sample_plan" />
|
|
|
|
<result property="judge" column="judge" />
|
|
|
|
<result property="judge" column="judge" />
|
|
|
|
|
|
|
|
<result property="defectLevel" column="defect_level" />
|
|
|
|
|
|
|
|
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<sql id="selectQcCheckProjectVo">
|
|
|
|
<sql id="selectQcCheckProjectVo">
|
|
|
|
select id, order_num, rule_name, property_code, check_mode, check_tool, unit_code, check_standard,
|
|
|
|
select id, order_num, rule_name, property_code, check_mode, check_tool, unit_code, check_standard,
|
|
|
|
attr1, create_by, create_time, update_by, update_time, factory_code, del_flag,sample_plan,
|
|
|
|
attr1, create_by, create_time, update_by, update_time, factory_code, del_flag,sample_plan,
|
|
|
|
judge
|
|
|
|
judge,defect_level
|
|
|
|
from qc_check_project
|
|
|
|
from qc_check_project
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
@ -74,6 +75,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
|
|
<if test="samplePlan != null">sample_plan,</if>
|
|
|
|
<if test="samplePlan != null">sample_plan,</if>
|
|
|
|
<if test="judge != null">judge,</if>
|
|
|
|
<if test="judge != null">judge,</if>
|
|
|
|
|
|
|
|
<if test="defectLevel != null">defect_level,</if>
|
|
|
|
|
|
|
|
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<if test="id != null">#{id},</if>
|
|
|
|
<if test="id != null">#{id},</if>
|
|
|
@ -93,6 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
|
|
<if test="samplePlan != null">#{samplePlan},</if>
|
|
|
|
<if test="samplePlan != null">#{samplePlan},</if>
|
|
|
|
<if test="judge != null">#{judge},</if>
|
|
|
|
<if test="judge != null">#{judge},</if>
|
|
|
|
|
|
|
|
<if test="defectLevel != null">#{defectLevel},</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
|
@ -115,6 +119,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
|
|
<if test="samplePlan != null">sample_plan = #{samplePlan},</if>
|
|
|
|
<if test="samplePlan != null">sample_plan = #{samplePlan},</if>
|
|
|
|
<if test="judge != null">judge = #{judge},</if>
|
|
|
|
<if test="judge != null">judge = #{judge},</if>
|
|
|
|
|
|
|
|
<if test="defectLevel != null">defect_level = #{defectLevel},</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
where id = #{id}
|
|
|
|
where id = #{id}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
@ -135,4 +140,5 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
FROM qc_check_project
|
|
|
|
FROM qc_check_project
|
|
|
|
WHERE CONVERT(varchar(10),create_time, 120) = CONVERT(varchar(10),GETDATE(), 120)
|
|
|
|
WHERE CONVERT(varchar(10),create_time, 120) = CONVERT(varchar(10),GETDATE(), 120)
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|
|
|
|