From b7a67e4c93b4cc12f0b0f019d08a39dce65fa3bb Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 29 八月 2024 18:58:49 +0800 Subject: [PATCH] 工单分页bug --- ycl-server/src/main/java/com/ycl/platform/service/WorkOrderService.java | 24 ++++++++++++++++++------ 1 files changed, 18 insertions(+), 6 deletions(-) diff --git a/ycl-server/src/main/java/com/ycl/platform/service/WorkOrderService.java b/ycl-server/src/main/java/com/ycl/platform/service/WorkOrderService.java index edd2a15..bd272b2 100644 --- a/ycl-server/src/main/java/com/ycl/platform/service/WorkOrderService.java +++ b/ycl-server/src/main/java/com/ycl/platform/service/WorkOrderService.java @@ -2,13 +2,16 @@ import com.baomidou.mybatisplus.extension.service.IService; import com.ycl.platform.domain.entity.WorkOrder; +import com.ycl.platform.domain.entity.WorkOrderAuditingRecord; import com.ycl.platform.domain.form.*; import com.ycl.platform.domain.query.*; import com.ycl.platform.domain.vo.DeviceInfoVO; import com.ycl.platform.domain.vo.DistributeWorkOrderVO; +import com.ycl.platform.domain.vo.WorkOrderYwConditionRecordVO; import com.ycl.platform.domain.vo.screen.WorkOrderRegionVO; import com.ycl.platform.domain.vo.screen.WorkOrderTotalVO; import com.ycl.system.Result; +import org.bytedeco.javacv.FFmpegFrameGrabber; import java.util.List; import java.util.Map; @@ -132,14 +135,14 @@ * @param workOrderNo 宸ュ崟鍙� * @return 宸ュ崟杩愮淮鎯呭喌 */ - Result selectYwConditionByYwId(String workOrderNo); + List<WorkOrderYwConditionRecordVO> selectYwConditionByYwId(String workOrderNo); /** * 鑾峰彇宸ュ崟杩愮淮瀹℃牳璁板綍 * @param workOrderNo 宸ュ崟鍙� * @return 宸ュ崟杩愮淮瀹℃牳璁板綍 */ - Result selectYwAuditingListByYwId(String workOrderNo); + List<WorkOrderAuditingRecord> selectYwAuditingListByYwId(String workOrderNo); /** * 鎵归噺涓嬪彂 @@ -180,11 +183,12 @@ /** * 宸ュ崟璁惧鐐规挱鑾峰彇涓�甯у浘鐗� * - * @param deviceId 璁惧鍥芥爣鐮� - * @param channelId 璁惧閫氶亾缂栧彿 + * @param deviceId 鍥芥爣璁惧鍥芥爣鐮� + * @param channelId 璁惧閫氶亾缂栧彿锛堣澶囧浗鏍囩爜锛� + * @param workOrderNo 宸ュ崟鍙� * @return 鏁版嵁 */ - String getFrameImgByDevice(String deviceId, String channelId); + String getFrameImgByDevice(String deviceId, String channelId, String workOrderNo); /** * 鏌ヨ宸ュ崟锛氬凡涓嬪彂銆佸凡澶勭悊銆佸凡瀹屾垚鐨勫伐鍗� @@ -194,11 +198,19 @@ List<DeviceInfoVO> hasErrorWorkOrderList(); /** - * 鏌ヨ宸ュ崟锛氬凡涓嬪彂銆佸凡澶勭悊銆佸凡瀹屾垚鐨勫伐鍗� + * 鏇存柊宸ュ崟鍥剧墖 * * @param workOrderId 宸ュ崟ID * @param imgPath 鍥惧儚鍦板潃 * @return 鏁版嵁 */ void updateImgById(Integer workOrderId, String imgPath); + + /** + * 宸ュ崟杩囩▼鍥� + * + * @param workOrderNo + * @return + */ + Result processImg(String workOrderNo); } -- Gitblit v1.8.0