|
|
@ -628,12 +628,15 @@ |
|
|
a.CreatedBy, |
|
|
a.CreatedBy, |
|
|
a.ObjectID |
|
|
a.ObjectID |
|
|
FROM eam_workPlan_item a |
|
|
FROM eam_workPlan_item a |
|
|
|
|
|
left join eam_properties_model_detail b on a.Site = b.site and a.ItemType = b.function_type and a.ItemNo = |
|
|
|
|
|
b.properties_item_no and a.bu_no = b.bu_no and b.code_no = #{codeNo} |
|
|
<where> |
|
|
<where> |
|
|
a.PlanID = #{planID} and a.Site = #{site} and a.ItemType = #{functionType} and bu_no = #{buNo} |
|
|
|
|
|
|
|
|
a.PlanID = #{planID} and a.Site = #{site} and a.ItemType = #{functionType} and a.bu_no = #{buNo} |
|
|
<if test = "objectID != null and objectID != ''"> |
|
|
<if test = "objectID != null and objectID != ''"> |
|
|
AND a.ObjectID = #{objectID} |
|
|
AND a.ObjectID = #{objectID} |
|
|
</if> |
|
|
</if> |
|
|
</where> |
|
|
</where> |
|
|
|
|
|
ORDER BY b.order_id |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
<select id="searchPlanItemAvailable" resultType="com.xujie.sys.modules.pms.data.EamWorkPlanItemAvailableData"> |
|
|
<select id="searchPlanItemAvailable" resultType="com.xujie.sys.modules.pms.data.EamWorkPlanItemAvailableData"> |
|
|
|