|
|
|
@ -645,7 +645,7 @@ |
|
|
|
(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}) |
|
|
|
(#{item.site}, #{item.buNo}, #{item.templateId}, #{item.itemNo}, #{item.defaultValue}, #{item.maxValue,jdbcType=DECIMAL}, #{item.minValue,jdbcType=DECIMAL}) |
|
|
|
</foreach> |
|
|
|
</insert> |
|
|
|
|
|
|
|
@ -662,8 +662,7 @@ |
|
|
|
ItemRemark, |
|
|
|
ItemType |
|
|
|
FROM eam_properties_item |
|
|
|
WHERE ItemNo = #{itemNo} |
|
|
|
AND ItemType = #{itemType} |
|
|
|
WHERE ItemNo = #{itemNo} AND ItemType = #{itemType} |
|
|
|
</select> |
|
|
|
|
|
|
|
<!-- ================================================= 样本量维护 ================================================= --> |
|
|
|
@ -975,7 +974,8 @@ |
|
|
|
dbo.qc_get_cinv_source_code(p.part_no) as cinvSourceCode, |
|
|
|
dbo.qc_get_sku(part_no) as sku, |
|
|
|
p.FamilyID, |
|
|
|
p.spec as FamilyName, |
|
|
|
p.invtype as familyName, |
|
|
|
p.spec, |
|
|
|
p.umid, |
|
|
|
qa.supplier_no, |
|
|
|
dbo.qc_get_supplier_name(qa.site, qa.supplier_no) as supplierDesc, |
|
|
|
@ -1008,7 +1008,7 @@ |
|
|
|
AND dbo.qc_get_sku(part_no) LIKE '%' + #{query.sku}+'%' |
|
|
|
</if> |
|
|
|
<if test = "query.familyName != null and query.familyName != ''"> |
|
|
|
AND p.spec LIKE '%' + #{query.familyName}+'%' |
|
|
|
AND p.invtype LIKE '%' + #{query.familyName}+'%' |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
</select> |
|
|
|
|