qushaowei
2024-07-12 15ae1e3b5cda40a8248a1addf4a64c1e0a9e2b13
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamEquipmentMapper.xml
@@ -252,6 +252,7 @@
        t1.line_id lineId,
        t1.is_meta isMeta,
        t1.id showId,
        t1.is_line isLine,
        t1.is_line_equip isLineEquip,
        t1.is_judging isJudging,
        t1.area_id areaId,
@@ -324,8 +325,9 @@
        <if test="lineId != null and lineId != ''">
            and t1.line_id = #{lineId}
        </if>
        order by (CASE WHEN t1.is_meta='yes' then GETDATE() else t1.create_time end) desc
        order by t1.create_time desc
    </select>
<!--    order by (CASE WHEN t1.is_meta='yes' then GETDATE() else t1.create_time end) desc-->
    <select id="getStandardList" resultType="org.jeecg.modules.eam.entity.DailyInspectionStandardDetail">
        select t9.* from ( select
           t1.id id,