feat():接口配置调整
This commit is contained in:
@@ -17,7 +17,7 @@ import java.util.List;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/pdi")
|
||||
@Tag(name="南钢计划接口")
|
||||
@Tag(name="计划管理")
|
||||
public class CrmPdiPlanController {
|
||||
|
||||
@Resource
|
||||
|
||||
@@ -13,7 +13,7 @@ import java.util.List;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/pdo")
|
||||
@Tag(name ="南钢实绩接口")
|
||||
@Tag(name ="实绩管理")
|
||||
public class CrmPdoExcoilController {
|
||||
|
||||
@Resource
|
||||
|
||||
@@ -15,7 +15,7 @@ import java.util.List;
|
||||
|
||||
@RestController
|
||||
@RequiredArgsConstructor
|
||||
@RequestMapping("/logdata" )
|
||||
@RequestMapping("/api/logdata" )
|
||||
@Tag(name="日志管理")
|
||||
@Anonymous
|
||||
public class LogDataController {
|
||||
|
||||
@@ -14,7 +14,7 @@ import java.util.List;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/setup")
|
||||
@Tag(name ="南钢设定值接口")
|
||||
@Tag(name ="设定值管理")
|
||||
public class ModSetupResultController {
|
||||
|
||||
@Resource
|
||||
|
||||
@@ -3,6 +3,7 @@ package com.fizz.business.controller;
|
||||
import com.fizz.business.domain.ProStoppage;
|
||||
import com.fizz.business.form.ProStoppageForm;
|
||||
import com.fizz.business.service.ProStoppageService;
|
||||
import com.ruoyi.common.annotation.Anonymous;
|
||||
import com.ruoyi.common.core.domain.R;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
@@ -13,8 +14,9 @@ import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/stoppage")
|
||||
@RequestMapping("/api/stoppage")
|
||||
@Tag(name= "停机管理",description = "停机管理")
|
||||
@Anonymous
|
||||
public class ProStoppageController {
|
||||
|
||||
@Resource
|
||||
|
||||
@@ -21,8 +21,8 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/roller")
|
||||
@Tag(name="南钢轧辊接口")
|
||||
@RequestMapping("/api/roller")
|
||||
@Tag(name="轧辊管理")
|
||||
@Anonymous
|
||||
public class RollerController {
|
||||
@Resource
|
||||
|
||||
@@ -15,7 +15,7 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@Tag(name ="南钢钢种接口")
|
||||
@Tag(name ="钢种管理")
|
||||
@RestController
|
||||
@RequestMapping("/steelGrade")
|
||||
public class SteelGradeInfoController {
|
||||
|
||||
@@ -40,18 +40,18 @@ public class ProStoppage implements Serializable {
|
||||
@Schema(description = "设备")
|
||||
private String seton;
|
||||
|
||||
@Schema(description = "开始时间")
|
||||
@Schema(description = "开始时间", format = "date", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime startDate;
|
||||
|
||||
@Schema(description = "结束时间")
|
||||
@Schema(description = "结束时间", format = "date", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime endDate;
|
||||
|
||||
@Schema(description = "停机时长")
|
||||
private BigDecimal duration;
|
||||
|
||||
@Schema(description = "更新时间")
|
||||
@Schema(description = "更新时间", format = "date", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private String insdate;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import java.time.LocalDateTime;
|
||||
@Getter
|
||||
@Setter
|
||||
@Builder
|
||||
@TableName("Roll_history")
|
||||
@TableName("roll_history")
|
||||
@Schema( description = "轧辊历史")
|
||||
public class RollHistory implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -14,11 +14,11 @@ public class LogDataForm implements Serializable {
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@Schema(description = "开始时间")
|
||||
@Schema(description = "开始时间", format = "date", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime startTime;
|
||||
|
||||
@Schema(description = "结束时间")
|
||||
@Schema(description = "结束时间", format = "date", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime endTime;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user