From 49bdabd42d9817b6b17db137945b7c51b114c615 Mon Sep 17 00:00:00 2001 From: A0010407 Date: Wed, 12 Jun 2024 17:23:59 +0800 Subject: [PATCH] =?UTF-8?q?2024-6-12=20=E8=AE=BE=E5=A4=87-=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E9=A1=B9=E5=AF=BC=E5=85=A5-=E5=BE=AA=E7=8E=AF?= =?UTF-8?q?=E5=91=A8=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/EquCheckItemServiceImpl.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/op-modules/op-device/src/main/java/com/op/device/service/impl/EquCheckItemServiceImpl.java b/op-modules/op-device/src/main/java/com/op/device/service/impl/EquCheckItemServiceImpl.java index 63c3ce42..65c98e71 100644 --- a/op-modules/op-device/src/main/java/com/op/device/service/impl/EquCheckItemServiceImpl.java +++ b/op-modules/op-device/src/main/java/com/op/device/service/impl/EquCheckItemServiceImpl.java @@ -532,6 +532,20 @@ public class EquCheckItemServiceImpl implements IEquCheckItemService { }else if(equCheckItem.getItemTypeName().equals("保养")){ equCheckItem.setItemType("maintenance"); } + + //周期类型 + if(equCheckItem.getItemLoopType().equals("日")){ + equCheckItem.setItemLoopType("day"); + }else if(equCheckItem.getItemLoopType().equals("周")){ + equCheckItem.setItemLoopType("week"); + }else if(equCheckItem.getItemTypeName().equals("月")){ + equCheckItem.setItemLoopType("month"); + }else if(equCheckItem.getItemLoopType().equals("季")){ + equCheckItem.setItemLoopType("season"); + }else if(equCheckItem.getItemTypeName().equals("年")){ + equCheckItem.setItemLoopType("year"); + } + equCheckItem.setItemLoop(Integer.valueOf(table.getItemLoop())); //详情对象