diff --git a/op-modules/op-device/src/main/java/com/op/device/controller/EquPlanController.java b/op-modules/op-device/src/main/java/com/op/device/controller/EquPlanController.java index 4177d6ee..bb24e53e 100644 --- a/op-modules/op-device/src/main/java/com/op/device/controller/EquPlanController.java +++ b/op-modules/op-device/src/main/java/com/op/device/controller/EquPlanController.java @@ -3,10 +3,8 @@ package com.op.device.controller; import java.util.List; import javax.servlet.http.HttpServletResponse; -import com.op.device.domain.BaseEquipment; +import com.op.device.domain.EquEquipment; import com.op.device.domain.EquPlanEqu; -import com.op.device.domain.dto.InspectionPlanDTO; -import com.op.device.domain.vo.InspectionPlanVO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; diff --git a/op-modules/op-device/src/main/java/com/op/device/service/impl/EquPlanServiceImpl.java b/op-modules/op-device/src/main/java/com/op/device/service/impl/EquPlanServiceImpl.java index 2338f6a8..efecbfc2 100644 --- a/op-modules/op-device/src/main/java/com/op/device/service/impl/EquPlanServiceImpl.java +++ b/op-modules/op-device/src/main/java/com/op/device/service/impl/EquPlanServiceImpl.java @@ -6,15 +6,11 @@ import java.util.List; import com.baomidou.dynamic.datasource.annotation.DS; import com.op.common.core.utils.DateUtils; import com.op.common.core.web.domain.AjaxResult; -import com.op.device.domain.EquEquipment; -import com.op.device.domain.EquPlanEqu; -import com.op.device.domain.dto.InspectionPlanDTO; -import com.op.device.domain.vo.InspectionPlanVO; -import com.op.device.mapper.EquEquipmentMapper; +import com.op.device.domain.*; +import com.op.device.mapper.*; +import com.op.system.api.domain.SysUser; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; -import com.op.device.mapper.EquPlanMapper; -import com.op.device.domain.EquPlan; import com.op.device.service.IEquPlanService; import static com.op.common.core.web.domain.AjaxResult.success; @@ -35,8 +31,6 @@ public class EquPlanServiceImpl implements IEquPlanService { private EquCheckItemDetailMapper equCheckItemDetailMapper; @Autowired private SysUserMapper sysUserMapper; - @Autowired - private EquPlanMapper equPlanMapper; @Autowired private EquEquipmentMapper equEquipmentMapper;