“linengliang”
2023-12-18 c4ca7de4e8230eacc833b3b7c761c467ca4ea7d0
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EquipmentMaintenancePlanMapper.xml
@@ -12,5 +12,18 @@
        and t2.maintenance_type = #{type}
        and t1.del_flag = 0
    </select>
    <select id="getStandards" resultType="org.jeecg.modules.eam.entity.MaintenanceStandard">
        select t1.*,
               t2.id euipmentId,
               t2.name equipmentName,
               t2.num equipmentNum,
               t2.model equipmentModel
        from mom_eam_maintenance_standard t1
        left join mom_eam_equipment t2 on t1.equipment_id = t2.id
        where t1.del_flag = 0
        and t1.version_status = '2'
        and t1.maintenance_type = #{maintenanceType}
        and t1.equipment_id = #{equipmentId}
    </select>
</mapper>