cl
2024-01-19 e0fac38b26845f25de479783e0c76cf12a5311e0
guns-vip-main/src/main/java/cn/stylefeng/guns/modular/om/productionOrdeInfo/mapper/mapping/ProductionOrdeInfoMapper.xml
@@ -133,4 +133,17 @@
        ]]>
    </select>
    <select id="getColumnarDate" resultType="cn.stylefeng.guns.modular.om.productionOrdeInfo.model.result.ProductionOrdeInfoResult">
        SELECT DISTINCT
            FORMAT ( actual_start_time, 'yyyy-MM-dd' ) AS actual_start_time
        FROM
            om_production_orde_info
        ORDER BY
            actual_start_time DESC OFFSET 0 ROWS FETCH NEXT 7 ROWS ONLY;
    </select>
    <select id="orderDescListFive" resultType="cn.stylefeng.guns.modular.om.productionOrdeInfo.model.result.ProductionOrdeInfoResult">
        SELECT TOP 5 * FROM om_production_orde_info ORDER BY actual_start_time DESC
    </select>
</mapper>