“linengliang”
2023-09-19 8aa74635a762bbb5a49253b055eb69db5ebaab2d
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/PredictiveWorkPlanParameterMapper.xml
@@ -56,8 +56,8 @@
        FROM
            mom_eam_predictive_work_plan_parameter t1
        WHERE t1.del_flag = 0
        <if test="params.planId != null and params.planId != ''">
            and t1.work_plan_id = #{params.planId}
        <if test="predictiveWorkPlanId != null and predictiveWorkPlanId != ''">
            and t1.work_plan_id = #{predictiveWorkPlanId}
        </if>
        ORDER BY t1.create_time desc
    </select>
@@ -67,10 +67,10 @@
            t1.CollectTime collectTime,
            t1.${parameterCode} actualValue
        FROM
            [${saveTableName}] t1
            ${saveTableName} t1
        WHERE
            t1.${parameterCode} <![CDATA[ < ]]>  #{lowerLimitValue}
            OR t1.${parameterCode} > #{upperLimitValue}
           OR t1.${parameterCode} > #{upperLimitValue}
        ORDER BY
            t1.CollectTime DESC
    </select>