From 68692e5fe975b2e1c7e3c0d02070945a2c1899e9 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 21 五月 2025 11:47:39 +0800 Subject: [PATCH] 1、增加成用token; 2、调整工站查询排序 --- pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoSta/StaDeviceProductionLogMapper.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoSta/StaDeviceProductionLogMapper.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoSta/StaDeviceProductionLogMapper.java index 9631ca3..43f2229 100644 --- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoSta/StaDeviceProductionLogMapper.java +++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoSta/StaDeviceProductionLogMapper.java @@ -1,8 +1,11 @@ package com.dy.pmsGlobal.daoSta; +import cn.hutool.json.JSONObject; import com.dy.pmsGlobal.pojoSta.StaDeviceProductionLog; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; +import java.util.Date; import java.util.List; /** @@ -22,10 +25,13 @@ StaDeviceProductionLog selectByPrimaryKey(Long id); - List<StaDeviceProductionLog> selectByEquipNo(String equipNo); + List<StaDeviceProductionLog> selectByDeviceNo(String deviceNo); + + List<StaDeviceProductionLog> selectProductLog(@Param("deviceNo") String deviceNo,@Param("startTime") Date startTime,@Param("endTime") Date endTime); int updateByPrimaryKeySelective(StaDeviceProductionLog record); int updateByPrimaryKey(StaDeviceProductionLog record); + List<JSONObject> queryTopError(@Param("startTime") Date startTime,@Param("endTime") Date endTime); } -- Gitblit v1.8.0