|
|
@ -919,9 +919,6 @@ |
|
|
fault_type |
|
|
fault_type |
|
|
FROM eam_defect |
|
|
FROM eam_defect |
|
|
<where> |
|
|
<where> |
|
|
<if test="query.buDesc != null and query.buDesc != ''"> |
|
|
|
|
|
AND dbo.get_bu_desc ( site, bu_no ) = #{query.buDesc} |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="query.defectID != null and query.defectID != ''"> |
|
|
<if test="query.defectID != null and query.defectID != ''"> |
|
|
AND defectID like '%' + #{query.defectID} + '%' |
|
|
AND defectID like '%' + #{query.defectID} + '%' |
|
|
</if> |
|
|
</if> |
|
|
@ -1274,7 +1271,6 @@ |
|
|
SELECT a.Site,a.PlanID,a.PlanDesc,a.ObjectID,a.FunctionType,a.PropertiesCode,a.Operator,a.PlanPeriod,a.Status, |
|
|
SELECT a.Site,a.PlanID,a.PlanDesc,a.ObjectID,a.FunctionType,a.PropertiesCode,a.Operator,a.PlanPeriod,a.Status, |
|
|
a.PlanStartDate,a.PlanEndDate,a.CreatedDate,a.CreatedBy,a.UpdateDate,a.UpdateBy,a.Version,a.Remark |
|
|
a.PlanStartDate,a.PlanEndDate,a.CreatedDate,a.CreatedBy,a.UpdateDate,a.UpdateBy,a.Version,a.Remark |
|
|
,a.NextWorkDate,b.ObjectDesc,c.adminName,d.code_desc |
|
|
,a.NextWorkDate,b.ObjectDesc,c.adminName,d.code_desc |
|
|
|
|
|
|
|
|
FROM eam_workPlan a |
|
|
FROM eam_workPlan a |
|
|
left join eam_object b on a.Site=b.Site and a.ObjectID=b.ObjectID |
|
|
left join eam_object b on a.Site=b.Site and a.ObjectID=b.ObjectID |
|
|
left join eam_admin c on a.Site=c.Site and a.operator=c.AdminID |
|
|
left join eam_admin c on a.Site=c.Site and a.operator=c.AdminID |
|
|
@ -1312,7 +1308,6 @@ |
|
|
<update id="editEamObjectItem"> |
|
|
<update id="editEamObjectItem"> |
|
|
update eam_object_item set DefaultValue=#{defaultValue},ValueType=#{valueType},ValueType_DB=#{valueTypeDb} |
|
|
update eam_object_item set DefaultValue=#{defaultValue},ValueType=#{valueType},ValueType_DB=#{valueTypeDb} |
|
|
,ValueChooseFlag=#{valueChooseFlag},MaxValue=#{maxValue,jdbcType=FLOAT},MinValue=#{minValue,jdbcType=FLOAT} |
|
|
,ValueChooseFlag=#{valueChooseFlag},MaxValue=#{maxValue,jdbcType=FLOAT},MinValue=#{minValue,jdbcType=FLOAT} |
|
|
|
|
|
|
|
|
where site=#{site} and objectID=#{objectID} and ItemType=#{itemType} |
|
|
where site=#{site} and objectID=#{objectID} and ItemType=#{itemType} |
|
|
and ItemNo=#{itemNo} |
|
|
and ItemNo=#{itemNo} |
|
|
</update> |
|
|
</update> |
|
|
|