设备点检计划维护工厂优化

master
杨万里 1 week ago
parent 238e123e82
commit b8d5150050

@ -203,7 +203,7 @@
factory_name AS factoryName,
factory_code AS factoryCode
from sys_factory
where f_type = 'c'
where f_type = 'c' and del_flag = '0'
</select>
<select id="selectMatchListByEquipmentCode" resultType="com.op.device.domain.dto.SummaryReportDTO">

@ -115,7 +115,7 @@
<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'
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 id="selectEquPlanByPlanCode" parameterType="String" resultMap="EquPlanResult">

Loading…
Cancel
Save