From a2805ec01e3a639713a418544dc65cb38a555fdd Mon Sep 17 00:00:00 2001 From: 懒羊羊 <15939171744@163.com> Date: 星期二, 19 九月 2023 09:24:44 +0800 Subject: [PATCH] 大屏优化 --- guns-vip-main/src/main/java/cn/stylefeng/guns/modular/om/productionOrdeInfo/mapper/mapping/ProductionOrdeInfoMapper.xml | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/guns-vip-main/src/main/java/cn/stylefeng/guns/modular/om/productionOrdeInfo/mapper/mapping/ProductionOrdeInfoMapper.xml b/guns-vip-main/src/main/java/cn/stylefeng/guns/modular/om/productionOrdeInfo/mapper/mapping/ProductionOrdeInfoMapper.xml index 7253b8c..c9b3f2d 100644 --- a/guns-vip-main/src/main/java/cn/stylefeng/guns/modular/om/productionOrdeInfo/mapper/mapping/ProductionOrdeInfoMapper.xml +++ b/guns-vip-main/src/main/java/cn/stylefeng/guns/modular/om/productionOrdeInfo/mapper/mapping/ProductionOrdeInfoMapper.xml @@ -133,4 +133,13 @@ ]]> </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> + </mapper> -- Gitblit v1.9.3