| | |
| | | ]]> |
| | | </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> |