|
|
|
@ -639,14 +639,22 @@ |
|
|
|
WHERE template_id = #{templateId} and site = #{site} and bu_no = #{buNo} |
|
|
|
</delete> |
|
|
|
|
|
|
|
<!-- <!– 修改项目明细的最大最小值 –>--> |
|
|
|
<!-- <insert id="saveItemDetailed">--> |
|
|
|
<!-- INSERT INTO qc_template_detailed--> |
|
|
|
<!-- (site, bu_no, template_id, ItemNo, default_value, max_value, min_value)--> |
|
|
|
<!-- VALUES--> |
|
|
|
<!-- <foreach collection="list" item="item" separator=",">--> |
|
|
|
<!-- (#{item.site}, #{item.buNo}, #{item.templateId}, #{item.itemNo}, #{item.defaultValue}, #{item.maxValue,jdbcType=DECIMAL}, #{item.minValue,jdbcType=DECIMAL})--> |
|
|
|
<!-- </foreach>--> |
|
|
|
<!-- </insert>--> |
|
|
|
|
|
|
|
<!-- 修改项目明细的最大最小值 --> |
|
|
|
<insert id="saveItemDetailed"> |
|
|
|
INSERT INTO qc_template_detailed |
|
|
|
(site, bu_no, template_id, ItemNo, default_value, max_value, min_value) |
|
|
|
VALUES |
|
|
|
<foreach collection="list" item="item" separator=","> |
|
|
|
(#{item.site}, #{item.buNo}, #{item.templateId}, #{item.itemNo}, #{item.defaultValue}, #{item.maxValue}, #{item.minValue}) |
|
|
|
</foreach> |
|
|
|
(#{site}, #{buNo}, #{templateId}, #{itemNo}, #{defaultValue}, #{maxValue,jdbcType=DECIMAL}, #{minValue,jdbcType=DECIMAL}) |
|
|
|
</insert> |
|
|
|
|
|
|
|
<!-- 查询项目明细 --> |
|
|
|
|