diff --git a/riis-system/src/main/java/com/yfd/platform/modules/basedata/controller/FaultDeviceController.java b/riis-system/src/main/java/com/yfd/platform/modules/basedata/controller/FaultDeviceController.java deleted file mode 100644 index 0fcb666..0000000 --- a/riis-system/src/main/java/com/yfd/platform/modules/basedata/controller/FaultDeviceController.java +++ /dev/null @@ -1,43 +0,0 @@ -package com.yfd.platform.modules.basedata.controller; - -import com.yfd.platform.annotation.Log; -import com.yfd.platform.config.ResponseResult; -import com.yfd.platform.modules.basedata.domain.FaultDevice; -import com.yfd.platform.modules.basedata.service.IFaultDeviceService; -import io.swagger.annotations.ApiOperation; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; - -import javax.annotation.Resource; -import java.util.List; - -/** - *
- * 前端控制器 - *
- * - * @author zhengsl - * @since 2025-05-12 - */ -@RestController -@RequestMapping("/basedata/fault-device") -public class FaultDeviceController { - - @Resource - private IFaultDeviceService faultDeviceService; - - @Log(module = "故障检测", value = "新增故障信息", type = "1") - @PostMapping("/batchAddFaultDevice") - @ApiOperation("新增故障信息") - public ResponseResult batchAddFaultDevice(@RequestBody List- * - *
- * - * @author zhengsl - * @since 2025-05-12 - */ -@Data -@EqualsAndHashCode(callSuper = false) -@TableName("iis_fault_device") -public class FaultDevice implements Serializable { - - private static final long serialVersionUID = 1L; - - /** - * ID - */ - private String id; - - /** - * 故障编号 - */ - private String dictionaryCode; - - /** - * 故障名称 - */ - private String dictionaryName; - - /** - * 参数编号(和算法约定好的固定值) - */ - private String paramCode; - - /** - * 参数名称(用来描述参数含义) - */ - private String paramName; - - /** - * 设备点位名称 - */ - private String deviceName; - - /** - * 设备点位id - */ - private String deviceId; - - /** - * 来源类型(1:巡视点位;2:辅控信号) - */ - private String sourceType; - - /** - * 数据状态 - */ - private String datastatus; - - /** - * 修改人 - */ - private String lastmodifier; - - /** - * 最近修改时间 - */ - private LocalDateTime lastmodifydate; - - /** - * 备用1 - */ - private String custom1; - - /** - * 备用2 - */ - private String custom2; - - /** - * 备用3 - */ - private String custom3; - - -} diff --git a/riis-system/src/main/java/com/yfd/platform/modules/basedata/mapper/FaultDeviceMapper.java b/riis-system/src/main/java/com/yfd/platform/modules/basedata/mapper/FaultDeviceMapper.java deleted file mode 100644 index 9d11c9b..0000000 --- a/riis-system/src/main/java/com/yfd/platform/modules/basedata/mapper/FaultDeviceMapper.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.yfd.platform.modules.basedata.mapper; - -import com.yfd.platform.modules.basedata.domain.FaultDevice; -import com.baomidou.mybatisplus.core.mapper.BaseMapper; - -/** - *- * Mapper 接口 - *
- * - * @author zhengsl - * @since 2025-05-12 - */ -public interface FaultDeviceMapper extends BaseMapper- * 服务类 - *
- * - * @author zhengsl - * @since 2025-05-12 - */ -public interface IFaultDeviceService extends IService- * 服务实现类 - *
- * - * @author zhengsl - * @since 2025-05-12 - */ -@Service -public class FaultDeviceServiceImpl extends ServiceImpl