2024-6-12 设备-检查项导入-循环周期

master
A0010407 7 months ago
parent 0cad2248e7
commit 49bdabd42d

@ -532,6 +532,20 @@ public class EquCheckItemServiceImpl implements IEquCheckItemService {
}else if(equCheckItem.getItemTypeName().equals("保养")){ }else if(equCheckItem.getItemTypeName().equals("保养")){
equCheckItem.setItemType("maintenance"); 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())); equCheckItem.setItemLoop(Integer.valueOf(table.getItemLoop()));
//详情对象 //详情对象

Loading…
Cancel
Save