zenglf
2023-09-28 f84d9e69907cb678150eaa6393fd74cf042fcca4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.jeecg.modules.mdc.mapper.MdcDriveTypeParamConfigMapper">
 
    <!--根据设备编码获取工作曲线参数-->
    <select id="findWorkCurveParamList" resultType="org.jeecg.modules.mdc.entity.MdcDriveTypeParamConfig">
        SELECT
            mdtpc.*
        FROM
            mdc_drive_type_param_config mdtpc
            LEFT JOIN mdc_equipment me ON mdtpc.control_system_type = me.drive_type
        WHERE
            mdtpc.curve_generation_flags = 'Y'
            AND me.equipment_id = #{equipmentId}
    </select>
 
    <select id="getDriveParamOptions" resultType="java.lang.String">
        SELECT DISTINCT
            control_system_type
        FROM
            mdc_drive_type_param_config
    </select>
</mapper>