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())); //详情对象