cuijian
2023-08-19 bdd0875d4b13a3f1ef472f64d4b6a95e0ef64b22
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.eam.mapper.CalibrationOrderMapper">
    <select id="getPrecisionParameterList"  parameterType="String" resultType="Map">
        SELECT
            t1.id,
            t2.id as precisionParametersId,
            t2.num,
            t2.name,
            t3.id as unitId,
            t3.name as unitName,
            t1.leave_factory_value as leaveFactoryValue,
            t1.actual_value as actualValue,
            t1.allowable_range as allowableRange,
            t1.upper_limit as upperLimit,
            t1.lower_limit AS lowerLimit
        FROM
            mom_eam_equipment_precision_parameters t1
        LEFT JOIN mom_eam_precision_parameters t2 ON t1.precision_parameters_id = t2.id
        LEFT JOIN mom_base_unit t3 ON t2.unit_id = t3.id
        WHERE t1.del_flag = 0 and t1.equipment_id = #{equipmentId}
    </select>
</mapper>