Merge remote-tracking branch 'origin/dev.fault' into dev
# Conflicts: # cloud-modules/cloud-modules-system/src/main/java/com/muyu/system/service/impl/SysEntServiceImpl.javadev.entOperation
commit
1131fbe0f1
|
@ -11,6 +11,7 @@ import lombok.NoArgsConstructor;
|
||||||
import lombok.experimental.SuperBuilder;
|
import lombok.experimental.SuperBuilder;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 企业表
|
||||||
* @Author: zi run
|
* @Author: zi run
|
||||||
* @Date 2024/9/25 22:38
|
* @Date 2024/9/25 22:38
|
||||||
* @Description 企业表
|
* @Description 企业表
|
||||||
|
@ -53,4 +54,8 @@ public class SysEnt extends BaseEntity {
|
||||||
* 企业编码
|
* 企业编码
|
||||||
*/
|
*/
|
||||||
private String entCode;
|
private String entCode;
|
||||||
|
/**
|
||||||
|
* 企业状态
|
||||||
|
*/
|
||||||
|
private Integer entStatus;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,16 +3,23 @@ package com.muyu.enterprise.domain;
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Builder;
|
import lombok.Builder;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
/**
|
||||||
|
* 企业表
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 16.06
|
||||||
|
* @Description CarCompany:企业表
|
||||||
|
*/
|
||||||
@Data
|
@Data
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@Builder
|
@Builder
|
||||||
@TableName(value = "t_company")
|
@TableName(value = "t_company")
|
||||||
|
@Tag(name = "")
|
||||||
public class CarCompany {
|
public class CarCompany {
|
||||||
/**
|
/**
|
||||||
* 企业表
|
* 企业表
|
||||||
|
|
|
@ -8,10 +8,10 @@ import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ClassName CarMessage
|
* 报文表
|
||||||
* @Description 描述
|
* @Author: chenruijia
|
||||||
* @Author YiBo.Liu
|
* @Date 2024/9/28 16.06
|
||||||
* @Date 2024/9/22 22:24
|
* @Description CarMessage:报文表
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
@ -7,7 +7,12 @@ import lombok.AllArgsConstructor;
|
||||||
import lombok.Builder;
|
import lombok.Builder;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
/**
|
||||||
|
* 报文类型表
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.23
|
||||||
|
* @Description CarMessageType:报文类型表
|
||||||
|
*/
|
||||||
@Data
|
@Data
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
@ -8,6 +8,12 @@ import lombok.Builder;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 故障规则
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.23
|
||||||
|
* @Description FaultrRule:故障规则
|
||||||
|
*/
|
||||||
@Data
|
@Data
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
@ -8,6 +8,7 @@ import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 车辆类型表
|
||||||
* @ClassName CarType
|
* @ClassName CarType
|
||||||
* @Description 描述
|
* @Description 描述
|
||||||
* @Author YiBo.Liu
|
* @Author YiBo.Liu
|
||||||
|
|
|
@ -1,24 +1,32 @@
|
||||||
package com.muyu.enterprise.domain;
|
package com.muyu.enterprise.domain;
|
||||||
|
|
||||||
import cn.hutool.core.date.DateTime;
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
||||||
import com.muyu.common.core.web.domain.BaseEntity;
|
import com.muyu.common.core.web.domain.BaseEntity;
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
import lombok.*;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
import lombok.experimental.SuperBuilder;
|
import lombok.experimental.SuperBuilder;
|
||||||
import org.springframework.format.annotation.DateTimeFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
/**
|
||||||
|
* 故障日志
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.23
|
||||||
|
* @Description FaultLog:故障日志
|
||||||
|
*/
|
||||||
@Data
|
@Data
|
||||||
@SuperBuilder
|
@SuperBuilder
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@TableName(value = "fault_log",autoResultMap = true)
|
@TableName(value = "fault_log",autoResultMap = true)
|
||||||
@EqualsAndHashCode(callSuper = true)
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Tag(name = "故障日志")
|
||||||
public class FaultLog extends BaseEntity {
|
public class FaultLog extends BaseEntity {
|
||||||
/**
|
/**
|
||||||
* 日志ID
|
* 日志ID
|
||||||
|
|
|
@ -3,8 +3,8 @@ package com.muyu.enterprise.domain;
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
@ -13,11 +13,18 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站内信
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.23
|
||||||
|
* @Description FaultMessage:站内信
|
||||||
|
*/
|
||||||
@Data
|
@Data
|
||||||
@SuperBuilder
|
@SuperBuilder
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@TableName(value = "fault_message",autoResultMap = true)
|
@TableName(value = "fault_message",autoResultMap = true)
|
||||||
|
@Tag(name = "站内信")
|
||||||
public class FaultMessage {
|
public class FaultMessage {
|
||||||
/**
|
/**
|
||||||
* 站内信ID
|
* 站内信ID
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
package com.muyu.enterprise.domain;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Builder;
|
|
||||||
import lombok.Data;
|
|
||||||
import lombok.NoArgsConstructor;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
@Builder
|
|
||||||
@AllArgsConstructor
|
|
||||||
@NoArgsConstructor
|
|
||||||
@TableName(value = "fault_notify",autoResultMap = true)
|
|
||||||
public class FaultNotify {
|
|
||||||
/**
|
|
||||||
* ID
|
|
||||||
*/
|
|
||||||
@TableId(value = "fault_notify_id", type= IdType.AUTO)
|
|
||||||
@Schema(defaultValue = "ID",type = "Long",description = "ID")
|
|
||||||
private Long faultNotifyId;
|
|
||||||
/**
|
|
||||||
* 通知方
|
|
||||||
*/
|
|
||||||
@Schema(defaultValue = "通知方",type = "String",description = "通知方")
|
|
||||||
private String faultNotifyParty;
|
|
||||||
/**
|
|
||||||
* 联系方式
|
|
||||||
*/
|
|
||||||
@Schema(defaultValue = "联系方式",type = "String",description = "联系方式")
|
|
||||||
private String faultNotifyManner;
|
|
||||||
}
|
|
|
@ -5,17 +5,23 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.muyu.common.core.web.domain.BaseEntity;
|
import com.muyu.common.core.web.domain.BaseEntity;
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Builder;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
import lombok.experimental.SuperBuilder;
|
import lombok.experimental.SuperBuilder;
|
||||||
|
/**
|
||||||
|
* 故障等级
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.23
|
||||||
|
* @Description FaultSeverity:故障等级
|
||||||
|
*/
|
||||||
@Data
|
@Data
|
||||||
@SuperBuilder
|
@SuperBuilder
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@TableName(value = "fault_severity",autoResultMap = true)
|
@TableName(value = "fault_severity",autoResultMap = true)
|
||||||
|
@Tag(name = "故障等级")
|
||||||
public class FaultSeverity extends BaseEntity {
|
public class FaultSeverity extends BaseEntity {
|
||||||
/**
|
/**
|
||||||
* 等级ID
|
* 等级ID
|
||||||
|
|
|
@ -3,18 +3,24 @@ package com.muyu.enterprise.domain;
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.muyu.common.core.web.domain.BaseEntity;
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
import lombok.experimental.SuperBuilder;
|
import lombok.experimental.SuperBuilder;
|
||||||
|
/**
|
||||||
|
* 故障类型
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.23
|
||||||
|
* @Description FaultType:故障类型
|
||||||
|
*/
|
||||||
@Data
|
@Data
|
||||||
@SuperBuilder
|
@SuperBuilder
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@TableName(value = "fault_type",autoResultMap = true)
|
@TableName(value = "fault_type",autoResultMap = true)
|
||||||
|
@Tag(name = "故障类型")
|
||||||
public class FaultType{
|
public class FaultType{
|
||||||
/**
|
/**
|
||||||
* 故障类型ID
|
* 故障类型ID
|
||||||
|
|
|
@ -5,15 +5,22 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.muyu.common.core.web.domain.BaseEntity;
|
import com.muyu.common.core.web.domain.BaseEntity;
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import lombok.*;
|
import lombok.*;
|
||||||
import lombok.experimental.SuperBuilder;
|
import lombok.experimental.SuperBuilder;
|
||||||
|
/**
|
||||||
|
* 故障规则
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.23
|
||||||
|
* @Description FaultrRule:故障规则
|
||||||
|
*/
|
||||||
@Data
|
@Data
|
||||||
@SuperBuilder
|
@SuperBuilder
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@TableName(value = "fault_rule",autoResultMap = true)
|
@TableName(value = "fault_rule",autoResultMap = true)
|
||||||
@EqualsAndHashCode(callSuper = true)
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Tag(name = "故障规则")
|
||||||
public class FaultrRule extends BaseEntity {
|
public class FaultrRule extends BaseEntity {
|
||||||
/**
|
/**
|
||||||
* 故障规则ID
|
* 故障规则ID
|
||||||
|
|
|
@ -5,15 +5,26 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.muyu.common.core.web.domain.BaseEntity;
|
import com.muyu.common.core.web.domain.BaseEntity;
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import lombok.*;
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
import lombok.experimental.SuperBuilder;
|
import lombok.experimental.SuperBuilder;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 故障表
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.23
|
||||||
|
* @Description SysCarFault:故障表
|
||||||
|
*/
|
||||||
@Data
|
@Data
|
||||||
@SuperBuilder
|
@SuperBuilder
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@TableName(value = "sys_car_fault", autoResultMap = true)
|
@TableName(value = "sys_car_fault", autoResultMap = true)
|
||||||
@EqualsAndHashCode(callSuper = true)
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Tag(name = "故障表")
|
||||||
public class SysCarFault extends BaseEntity {
|
public class SysCarFault extends BaseEntity {
|
||||||
/**
|
/**
|
||||||
* 自增主键
|
* 自增主键
|
||||||
|
|
|
@ -7,6 +7,7 @@ import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 描述
|
||||||
* @ClassName Template
|
* @ClassName Template
|
||||||
* @Description 描述
|
* @Description 描述
|
||||||
* @Author YiBo.Liu
|
* @Author YiBo.Liu
|
||||||
|
|
|
@ -9,6 +9,7 @@ import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 测试用户实体类
|
||||||
* @Author: zi run
|
* @Author: zi run
|
||||||
* @Date 2024/9/21 0:07
|
* @Date 2024/9/21 0:07
|
||||||
* @Description 测试用户实体类
|
* @Description 测试用户实体类
|
||||||
|
|
|
@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.*;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 车辆类型控制层
|
||||||
* @ClassName CarController
|
* @ClassName CarController
|
||||||
* @Description 车辆类型Controller层
|
* @Description 车辆类型Controller层
|
||||||
* @Author YiBo.Liu
|
* @Author YiBo.Liu
|
||||||
|
|
|
@ -11,6 +11,12 @@ import org.springframework.web.bind.annotation.*;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 故障日志控制层
|
||||||
|
* @author chenruijia
|
||||||
|
* @Date 2024/9/28 11:58
|
||||||
|
* @Description FaultLogController:故障日志控制层
|
||||||
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/log")
|
@RequestMapping("/log")
|
||||||
@Tag(name = "故障日志",description = "对故障记录日志")
|
@Tag(name = "故障日志",description = "对故障记录日志")
|
||||||
|
|
|
@ -10,7 +10,12 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
/**
|
||||||
|
* 站内信控制层
|
||||||
|
* @author chenruijia
|
||||||
|
* @Date 2024/9/28 11:58
|
||||||
|
* @Description FaultMessageController:站内信控制层
|
||||||
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/fault-message")
|
@RequestMapping("/fault-message")
|
||||||
@Tag(name = "站内信的管理",description = "对站内信息的处理与查看")
|
@Tag(name = "站内信的管理",description = "对站内信息的处理与查看")
|
||||||
|
|
|
@ -9,6 +9,12 @@ import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 故障类型控制层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 11:58
|
||||||
|
* @Description FaultTypeController:故障类型控制层
|
||||||
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/type")
|
@RequestMapping("/type")
|
||||||
@Tag(name = "故障类型",description = "对故障类型的定义")
|
@Tag(name = "故障类型",description = "对故障类型的定义")
|
||||||
|
@ -58,4 +64,15 @@ public class FaultTypeController {
|
||||||
return Result.success(faultTypeService.removeById(faultTypeId));
|
return Result.success(faultTypeService.removeById(faultTypeId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询类型详细信息
|
||||||
|
* @param faultTypeId
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@RequestMapping(value = "/typeDetailOne/{faultTypeId}",method = RequestMethod.POST)
|
||||||
|
public Result<List<FaultType>> typeDetailOne(@PathVariable Long faultTypeId){
|
||||||
|
return Result.success(faultTypeService.typeDatailOne(faultTypeId));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,12 @@ import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
/**
|
||||||
|
* 故障的规则控制层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 11:58
|
||||||
|
* @Description FaultrRuleController:故障的规则控制层
|
||||||
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/rule")
|
@RequestMapping("/rule")
|
||||||
@Tag(name = "故障的规则",description = "对故障数据规则的判断")
|
@Tag(name = "故障的规则",description = "对故障数据规则的判断")
|
||||||
|
|
|
@ -20,6 +20,12 @@ import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 故障管理控制层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 11:58
|
||||||
|
* @Description SysCarFaultController:故障管理控制层
|
||||||
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/faultInfo")
|
@RequestMapping("/faultInfo")
|
||||||
@Tag(name = "故障管理",description = "故障的管理与查看")
|
@Tag(name = "故障管理",description = "故障的管理与查看")
|
||||||
|
|
|
@ -4,7 +4,12 @@ package com.muyu.enterprise.mapper;
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import com.muyu.enterprise.domain.FaultLog;
|
import com.muyu.enterprise.domain.FaultLog;
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
/**
|
||||||
|
* 故障日志持久层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.17
|
||||||
|
* @Description FaultLogMapper:故障日志持久层
|
||||||
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface FaultLogMapper extends BaseMapper<FaultLog> {
|
public interface FaultLogMapper extends BaseMapper<FaultLog> {
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,14 @@ package com.muyu.enterprise.mapper;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import com.muyu.enterprise.domain.FaultMessage;
|
import com.muyu.enterprise.domain.FaultMessage;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站内信持久层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.17
|
||||||
|
* @Description FaultMessageMapper:站内信持久层
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
public interface FaultMessageMapper extends BaseMapper<FaultMessage> {
|
public interface FaultMessageMapper extends BaseMapper<FaultMessage> {
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,12 @@ package com.muyu.enterprise.mapper;
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import com.muyu.enterprise.domain.FaultType;
|
import com.muyu.enterprise.domain.FaultType;
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
/**
|
||||||
|
* 故障类型持久层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.17
|
||||||
|
* @Description FaultTypeMapper:故障类型持久层
|
||||||
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface FaultTypeMapper extends BaseMapper<FaultType> {
|
public interface FaultTypeMapper extends BaseMapper<FaultType> {
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,12 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import com.muyu.enterprise.domain.FaultrRule;
|
import com.muyu.enterprise.domain.FaultrRule;
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 故障规则持久层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.17
|
||||||
|
* @Description FaultrRuleMapper:故障规则持久层
|
||||||
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface FaultrRuleMapper extends BaseMapper<FaultrRule> {
|
public interface FaultrRuleMapper extends BaseMapper<FaultrRule> {
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,7 @@ import com.muyu.enterprise.domain.CarCompany;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 配置mybatis配置
|
||||||
* @author zmw
|
* @author zmw
|
||||||
* @description: 配置mybatis配置
|
* @description: 配置mybatis配置
|
||||||
* @Date 2023-11-13 上午 10:05
|
* @Date 2023-11-13 上午 10:05
|
||||||
|
|
|
@ -3,6 +3,14 @@ package com.muyu.enterprise.mapper;
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import com.muyu.enterprise.domain.SysCarFault;
|
import com.muyu.enterprise.domain.SysCarFault;
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 故障管理持久层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.17
|
||||||
|
* @Description SysCarFaultMapper:故障管理持久层
|
||||||
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysCarFaultMapper extends BaseMapper<SysCarFault>{
|
public interface SysCarFaultMapper extends BaseMapper<SysCarFault>{
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,12 @@ import com.muyu.enterprise.domain.FaultLog;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 故障日志业务层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.19
|
||||||
|
* @Description FaultLogService:故障日志业务层
|
||||||
|
*/
|
||||||
public interface FaultLogService extends IService<FaultLog> {
|
public interface FaultLogService extends IService<FaultLog> {
|
||||||
List<FaultLog> faultLogList(FaultLog faultLog);
|
List<FaultLog> faultLogList(FaultLog faultLog);
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,12 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
import com.muyu.enterprise.domain.FaultMessage;
|
import com.muyu.enterprise.domain.FaultMessage;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
/**
|
||||||
|
* 站内信业务层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.19
|
||||||
|
* @Description FaultMessageService:站内信业务层
|
||||||
|
*/
|
||||||
public interface FaultMessageService extends IService<FaultMessage> {
|
public interface FaultMessageService extends IService<FaultMessage> {
|
||||||
|
|
||||||
List<FaultMessage> selectOne();
|
List<FaultMessage> selectOne();
|
||||||
|
|
|
@ -4,7 +4,14 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
import com.muyu.enterprise.domain.FaultType;
|
import com.muyu.enterprise.domain.FaultType;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
/**
|
||||||
|
* 故障类型业务层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.19
|
||||||
|
* @Description FaultTypeService:故障类型业务层
|
||||||
|
*/
|
||||||
public interface FaultTypeService extends IService<FaultType> {
|
public interface FaultTypeService extends IService<FaultType> {
|
||||||
List<FaultType> faultTypeList(FaultType faultType);
|
List<FaultType> faultTypeList(FaultType faultType);
|
||||||
|
|
||||||
|
List<FaultType> typeDatailOne(Long faultTypeId);
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,12 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
import com.muyu.enterprise.domain.FaultrRule;
|
import com.muyu.enterprise.domain.FaultrRule;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
/**
|
||||||
|
* 故障规则业务层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.19
|
||||||
|
* @Description FaultrRuleService:故障规则业务层
|
||||||
|
*/
|
||||||
public interface FaultrRuleService extends IService<FaultrRule> {
|
public interface FaultrRuleService extends IService<FaultrRule> {
|
||||||
List<FaultrRule> faultRuleList(FaultrRule faultrRule);
|
List<FaultrRule> faultRuleList(FaultrRule faultrRule);
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
import com.muyu.enterprise.domain.CarCompany;
|
import com.muyu.enterprise.domain.CarCompany;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 配置plus业务层
|
||||||
* @author zmw
|
* @author zmw
|
||||||
* @description: 配置plus业务层
|
* @description: 配置plus业务层
|
||||||
* @Date 2023-11-13 上午 10:06
|
* @Date 2023-11-13 上午 10:06
|
||||||
|
|
|
@ -4,7 +4,12 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
import com.muyu.enterprise.domain.SysCarFault;
|
import com.muyu.enterprise.domain.SysCarFault;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
/**
|
||||||
|
* 故障管理业务层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.19
|
||||||
|
* @Description SysCarFaultService:故障管理业务层
|
||||||
|
*/
|
||||||
public interface SysCarFaultService extends IService<SysCarFault> {
|
public interface SysCarFaultService extends IService<SysCarFault> {
|
||||||
/**
|
/**
|
||||||
* 精确查询车辆故障
|
* 精确查询车辆故障
|
||||||
|
|
|
@ -6,6 +6,7 @@ import com.muyu.enterprise.domain.vo.CarVO;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 配置plus业务层
|
||||||
* @author zmw
|
* @author zmw
|
||||||
* @description: 配置plus业务层
|
* @description: 配置plus业务层
|
||||||
* @Date 2023-11-13 上午 10:06
|
* @Date 2023-11-13 上午 10:06
|
||||||
|
|
|
@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
import com.muyu.enterprise.domain.TestUser;
|
import com.muyu.enterprise.domain.TestUser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 测试用户也业务层
|
||||||
* @Author: zi run
|
* @Author: zi run
|
||||||
* @Date 2024/9/21 0:10
|
* @Date 2024/9/21 0:10
|
||||||
* @Description 测试用户也业务层
|
* @Description 测试用户也业务层
|
||||||
|
|
|
@ -10,7 +10,12 @@ import org.springframework.stereotype.Service;
|
||||||
import org.springframework.util.Assert;
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
/**
|
||||||
|
* 故障日志业务实现层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.19
|
||||||
|
* @Description FaultLogServiceImpl:故障日志业务实现层
|
||||||
|
*/
|
||||||
@Service
|
@Service
|
||||||
public class FaultLogServiceImpl extends ServiceImpl<FaultLogMapper, FaultLog> implements FaultLogService {
|
public class FaultLogServiceImpl extends ServiceImpl<FaultLogMapper, FaultLog> implements FaultLogService {
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -10,7 +10,12 @@ import com.muyu.enterprise.service.FaultMessageService;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
/**
|
||||||
|
* 站内信业务实现层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.19
|
||||||
|
* @Description FaultMessageServiceImpl:站内信业务实现层
|
||||||
|
*/
|
||||||
@Service
|
@Service
|
||||||
public class FaultMessageServiceImpl extends ServiceImpl<FaultMessageMapper, FaultMessage> implements FaultMessageService {
|
public class FaultMessageServiceImpl extends ServiceImpl<FaultMessageMapper, FaultMessage> implements FaultMessageService {
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,12 @@ import com.muyu.enterprise.service.FaultTypeService;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
/**
|
||||||
|
* 故障类型业务实现层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.19
|
||||||
|
* @Description FaultTypeServiceImpl:故障类型业务实现层
|
||||||
|
*/
|
||||||
@Service
|
@Service
|
||||||
public class FaultTypeServiceImpl extends ServiceImpl<FaultTypeMapper, FaultType> implements FaultTypeService {
|
public class FaultTypeServiceImpl extends ServiceImpl<FaultTypeMapper, FaultType> implements FaultTypeService {
|
||||||
@Override
|
@Override
|
||||||
|
@ -23,4 +28,11 @@ public class FaultTypeServiceImpl extends ServiceImpl<FaultTypeMapper, FaultType
|
||||||
}
|
}
|
||||||
return this.list(queryWrapper);
|
return this.list(queryWrapper);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<FaultType> typeDatailOne(Long faultTypeId) {
|
||||||
|
LambdaQueryWrapper<FaultType> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
|
queryWrapper.eq(FaultType::getFaultTypeId,faultTypeId);
|
||||||
|
return this.list(queryWrapper);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,12 @@ import org.springframework.stereotype.Service;
|
||||||
import org.springframework.util.Assert;
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
/**
|
||||||
|
* 故障规则业务实现层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.19
|
||||||
|
* @Description FaultrRuleServiceImpl:故障规则业务实现层
|
||||||
|
*/
|
||||||
@Service
|
@Service
|
||||||
public class FaultrRuleServiceImpl extends ServiceImpl<FaultrRuleMapper, FaultrRule> implements FaultrRuleService {
|
public class FaultrRuleServiceImpl extends ServiceImpl<FaultrRuleMapper, FaultrRule> implements FaultrRuleService {
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 配置plus业务实现层
|
||||||
* @author zmw
|
* @author zmw
|
||||||
* @description: 配置plus业务实现层
|
* @description: 配置plus业务实现层
|
||||||
* @Date 2023-11-13 上午 10:06
|
* @Date 2023-11-13 上午 10:06
|
||||||
|
|
|
@ -11,6 +11,13 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
import com.muyu.common.core.utils.StringUtils;
|
import com.muyu.common.core.utils.StringUtils;
|
||||||
import org.springframework.util.Assert;
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 故障管理业务实现层
|
||||||
|
* @Author: chenruijia
|
||||||
|
* @Date 2024/9/28 12.19
|
||||||
|
* @Description SysCarFaultServiceImpl:故障管理业务实现层
|
||||||
|
*/
|
||||||
@Service
|
@Service
|
||||||
public class SysCarFaultServiceImpl
|
public class SysCarFaultServiceImpl
|
||||||
extends ServiceImpl<SysCarFaultMapper, SysCarFault>
|
extends ServiceImpl<SysCarFaultMapper, SysCarFault>
|
||||||
|
|
|
@ -13,6 +13,7 @@ import org.springframework.stereotype.Service;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 配置plus业务实现层
|
||||||
* @author zmw
|
* @author zmw
|
||||||
* @description: 配置plus业务实现层
|
* @description: 配置plus业务实现层
|
||||||
* @Date 2023-11-13 上午 10:06
|
* @Date 2023-11-13 上午 10:06
|
||||||
|
|
|
@ -8,6 +8,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 描述
|
||||||
* @ClassName TemplateServiceImpl
|
* @ClassName TemplateServiceImpl
|
||||||
* @Description 描述
|
* @Description 描述
|
||||||
* @Author YiBo.Liu
|
* @Author YiBo.Liu
|
||||||
|
|
|
@ -8,6 +8,7 @@ import lombok.RequiredArgsConstructor;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 测试用户业务实现层
|
||||||
* @Author: zi run
|
* @Author: zi run
|
||||||
* @Date 2024/9/21 0:10
|
* @Date 2024/9/21 0:10
|
||||||
* @Description 测试用户业务实现层
|
* @Description 测试用户业务实现层
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
Spring Boot Version: ${spring-boot.version}
|
||||||
|
Spring Application Name: ${spring.application.name}
|
|
@ -4,6 +4,7 @@ import com.muyu.common.core.constant.Constants;
|
||||||
import com.muyu.common.core.domain.Result;
|
import com.muyu.common.core.domain.Result;
|
||||||
import com.muyu.common.core.web.controller.BaseController;
|
import com.muyu.common.core.web.controller.BaseController;
|
||||||
import com.muyu.common.core.web.page.TableDataInfo;
|
import com.muyu.common.core.web.page.TableDataInfo;
|
||||||
|
import com.muyu.common.system.domain.SysEnt;
|
||||||
import com.muyu.system.domain.req.EntAddReq;
|
import com.muyu.system.domain.req.EntAddReq;
|
||||||
import com.muyu.system.domain.req.EntListReq;
|
import com.muyu.system.domain.req.EntListReq;
|
||||||
import com.muyu.system.domain.req.EntUpdateReq;
|
import com.muyu.system.domain.req.EntUpdateReq;
|
||||||
|
@ -19,7 +20,8 @@ import org.springframework.web.bind.annotation.*;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Author: zi run
|
* 企业管理控制层
|
||||||
|
* @Author: chenruijia
|
||||||
* @Date 2024/9/26 0:21
|
* @Date 2024/9/26 0:21
|
||||||
* @Description 企业管理控制层
|
* @Description 企业管理控制层
|
||||||
*/
|
*/
|
||||||
|
@ -41,7 +43,9 @@ public class SysEntController extends BaseController {
|
||||||
@GetMapping(value = "/getInfo")
|
@GetMapping(value = "/getInfo")
|
||||||
@Operation(summary = "获取企业信息", description = "现有的基础企业信息")
|
@Operation(summary = "获取企业信息", description = "现有的基础企业信息")
|
||||||
public Result<List<EntResp>> getInfo() {
|
public Result<List<EntResp>> getInfo() {
|
||||||
return Result.success(sysEntService.selectList(new EntListReq()), Constants.SUCCESS_MESSAGE);
|
return Result.success(
|
||||||
|
sysEntService.selectList(new EntListReq()), Constants.SUCCESS_MESSAGE
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -90,8 +94,7 @@ public class SysEntController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@PutMapping(value = "/{entId}")
|
@PutMapping(value = "/{entId}")
|
||||||
@Operation(summary = "修改企业信息",description = "根据企业唯一标识修改企业信息")
|
@Operation(summary = "修改企业信息",description = "根据企业唯一标识修改企业信息")
|
||||||
public Result<String> update(
|
public Result<String> update(@Schema(title = "企业ID",type = "Long",defaultValue = "1",description = "企业唯一标识")
|
||||||
@Schema(title = "企业ID", type = "Long", defaultValue = "1", description = "企业唯一标识")
|
|
||||||
@NotNull(message = "企业ID不能为空") @PathVariable(value = "entId") Long entId,
|
@NotNull(message = "企业ID不能为空") @PathVariable(value = "entId") Long entId,
|
||||||
@RequestBody EntUpdateReq entUpdateReq){
|
@RequestBody EntUpdateReq entUpdateReq){
|
||||||
sysEntService.updateById(EntUpdateReq.updateBuild(entUpdateReq,()->entId));
|
sysEntService.updateById(EntUpdateReq.updateBuild(entUpdateReq,()->entId));
|
||||||
|
@ -101,9 +104,9 @@ public class SysEntController extends BaseController {
|
||||||
/**
|
/**
|
||||||
* 删除企业信息
|
* 删除企业信息
|
||||||
* @param entId 企业ID
|
* @param entId 企业ID
|
||||||
* @return 响应结果
|
* @return
|
||||||
*/
|
*/
|
||||||
@DeleteMapping(value = "/{entId}")
|
@RequestMapping(value = "/entId",method = RequestMethod.DELETE)
|
||||||
@Operation(summary = "删除企业信息",description = "根据企业唯一标识删除企业记录")
|
@Operation(summary = "删除企业信息",description = "根据企业唯一标识删除企业记录")
|
||||||
public Result<String> remove(@Schema(title = "企业ID",type = "Long",defaultValue = "1",description = "企业唯一标识")
|
public Result<String> remove(@Schema(title = "企业ID",type = "Long",defaultValue = "1",description = "企业唯一标识")
|
||||||
@NotNull(message = "企业ID不能为空") @PathVariable(value = "entId")Long entId){
|
@NotNull(message = "企业ID不能为空") @PathVariable(value = "entId")Long entId){
|
||||||
|
|
|
@ -11,6 +11,7 @@ import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 企业添加请求对象
|
||||||
* @Author: zi run
|
* @Author: zi run
|
||||||
* @Date 2024/9/26 11:51
|
* @Date 2024/9/26 11:51
|
||||||
* @Description 企业添加请求对象
|
* @Description 企业添加请求对象
|
||||||
|
|
|
@ -8,6 +8,7 @@ import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 企业信息列表请求对象
|
||||||
* @Author: zi run
|
* @Author: zi run
|
||||||
* @Date 2024/9/26 0:49
|
* @Date 2024/9/26 0:49
|
||||||
* @Description 企业信息列表请求对象
|
* @Description 企业信息列表请求对象
|
||||||
|
|
|
@ -10,6 +10,7 @@ import lombok.NoArgsConstructor;
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 企业修改请求对象
|
||||||
* @Author: zi run
|
* @Author: zi run
|
||||||
* @Date 2024/9/26 14:34
|
* @Date 2024/9/26 14:34
|
||||||
* @Description 企业修改请求对象
|
* @Description 企业修改请求对象
|
||||||
|
|
|
@ -11,6 +11,7 @@ import lombok.experimental.SuperBuilder;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 授权角色返回结果集
|
||||||
* @author zmw
|
* @author zmw
|
||||||
* @description: 授权角色返回结果集
|
* @description: 授权角色返回结果集
|
||||||
* @Date 2023-6-19 下午 02:50
|
* @Date 2023-6-19 下午 02:50
|
||||||
|
|
|
@ -10,6 +10,7 @@ import lombok.experimental.SuperBuilder;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 部门树返回结果集
|
||||||
* @author zmw
|
* @author zmw
|
||||||
* @description: 部门树返回结果集
|
* @description: 部门树返回结果集
|
||||||
* @Date 2023-6-19 下午 02:52
|
* @Date 2023-6-19 下午 02:52
|
||||||
|
|
|
@ -8,6 +8,7 @@ import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 企业管理响应对象
|
||||||
* @Author: zi run
|
* @Author: zi run
|
||||||
* @Date 2024/9/26 0:42
|
* @Date 2024/9/26 0:42
|
||||||
* @Description 企业管理响应对象
|
* @Description 企业管理响应对象
|
||||||
|
@ -54,6 +55,12 @@ public class EntResp {
|
||||||
@Schema(title = "企业编码", type = "String", defaultValue = "db", description = "连接的数据源")
|
@Schema(title = "企业编码", type = "String", defaultValue = "db", description = "连接的数据源")
|
||||||
private String entCode;
|
private String entCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 企业状态
|
||||||
|
*/
|
||||||
|
@Schema(title = "企业状态", type = "Integer", defaultValue = "0", description = "企业状态(待处理(0),通过(1),未通过(2))")
|
||||||
|
private Integer entStatus;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 企业管理响应对象构建者模式
|
* 企业管理响应对象构建者模式
|
||||||
* @param sysEnt 企业管理
|
* @param sysEnt 企业管理
|
||||||
|
@ -67,6 +74,7 @@ public class EntResp {
|
||||||
.phoneNumber(sysEnt.getPhone())
|
.phoneNumber(sysEnt.getPhone())
|
||||||
.email(sysEnt.getEmail())
|
.email(sysEnt.getEmail())
|
||||||
.entCode(sysEnt.getEntCode())
|
.entCode(sysEnt.getEntCode())
|
||||||
|
.entStatus(sysEnt.getEntStatus())
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,7 @@ import lombok.NoArgsConstructor;
|
||||||
import lombok.experimental.SuperBuilder;
|
import lombok.experimental.SuperBuilder;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 个人信息模型对象
|
||||||
* @author zmw
|
* @author zmw
|
||||||
* @description: 个人信息模型对象
|
* @description: 个人信息模型对象
|
||||||
* @Date 2023-6-19 下午 02:05
|
* @Date 2023-6-19 下午 02:05
|
||||||
|
|
|
@ -9,6 +9,7 @@ import lombok.experimental.SuperBuilder;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 角色返回菜单树
|
||||||
* @author zmw
|
* @author zmw
|
||||||
* @description: 角色返回菜单树
|
* @description: 角色返回菜单树
|
||||||
* @Date 2023-6-19 下午 02:40
|
* @Date 2023-6-19 下午 02:40
|
||||||
|
|
|
@ -10,6 +10,7 @@ import lombok.experimental.SuperBuilder;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 用户详细信息
|
||||||
* @author zmw
|
* @author zmw
|
||||||
* @description: 用户详细信息
|
* @description: 用户详细信息
|
||||||
* @Date 2023-6-19 下午 02:45
|
* @Date 2023-6-19 下午 02:45
|
||||||
|
|
|
@ -9,6 +9,7 @@ import lombok.experimental.SuperBuilder;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 用户信息结果集
|
||||||
* @author zmw
|
* @author zmw
|
||||||
* @description: 用户信息结果集
|
* @description: 用户信息结果集
|
||||||
* @Date 2023-6-19 下午 02:42
|
* @Date 2023-6-19 下午 02:42
|
||||||
|
|
|
@ -6,6 +6,7 @@ import com.muyu.system.domain.SysConfig;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 配置plus业务层
|
||||||
* @author zmw
|
* @author zmw
|
||||||
* @description: 配置plus业务层
|
* @description: 配置plus业务层
|
||||||
* @Date 2023-11-13 上午 10:06
|
* @Date 2023-11-13 上午 10:06
|
||||||
|
|
|
@ -8,6 +8,7 @@ import com.muyu.system.domain.resp.EntResp;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 企业管理业务层
|
||||||
* @Author: zi run
|
* @Author: zi run
|
||||||
* @Date 2024/9/26 0:14
|
* @Date 2024/9/26 0:14
|
||||||
* @Description 企业管理业务层
|
* @Description 企业管理业务层
|
||||||
|
|
Loading…
Reference in New Issue