zhangherong
2025-03-04 b7e49b796b616d692584a8a96f7af0ef21a367b8
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/InspectionOrderMapper.xml
@@ -72,6 +72,15 @@
        <if test="params.inspectionEndTime != null">
            and t1.actual_end_time &lt;= #{params.inspectionEndTime}
        </if>
        <if test="params.workCenterIds != null">
            and t2.work_center_id in
            <foreach collection="params.workCenterIds" open="(" separator="," close=")" item="workCenterId">
                #{workCenterId}
            </foreach>
        </if>
        <if test="params.equipmentId != null">
            and t1.equipment_id = #{params.equipmentId}
        </if>
        ORDER BY t1.create_time desc
    </select>