|
|
|
@ -115,7 +115,7 @@
|
|
|
|
<select id="selectWorkCenter" resultType="com.op.device.domain.WorkCenter">
|
|
|
|
<select id="selectWorkCenter" resultType="com.op.device.domain.WorkCenter">
|
|
|
|
select factory_id AS 'factoryId', factory_name AS 'factoryName', factory_code AS 'factoryCode', f_type AS 'fType'
|
|
|
|
select factory_id AS 'factoryId', factory_name AS 'factoryName', factory_code AS 'factoryCode', f_type AS 'fType'
|
|
|
|
from sys_factory
|
|
|
|
from sys_factory
|
|
|
|
where parent_id = (select factory_id from sys_factory where factory_code = #{factory}) and f_type = 'c'
|
|
|
|
where parent_id = (select factory_id from sys_factory where factory_code = #{factory} and del_flag = '0') and f_type = 'c'
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectEquPlanByPlanCode" parameterType="String" resultMap="EquPlanResult">
|
|
|
|
<select id="selectEquPlanByPlanCode" parameterType="String" resultMap="EquPlanResult">
|
|
|
|
|