添加报工记录代码

修复报工的排序问题
This commit is contained in:
2025-06-19 15:43:57 +08:00
parent ec425b2b36
commit 213488feb6
13 changed files with 366 additions and 10 deletions

View File

@@ -58,5 +58,9 @@ public class OaApplication extends BaseEntity {
* 备注
*/
private String remark;
/**
* 路由类型
*/
private String routeType;
}

View File

@@ -58,4 +58,10 @@ public class OaProjectReport extends BaseEntity {
*/
private Long isTrip;
/**
* 报工时间
*/
private Long workType;
}

View File

@@ -78,5 +78,10 @@ public class OaApplicationBo extends BaseEntity {
*/
private String remark;
/**
* 路由类型
*/
private String routeType;
}

View File

@@ -76,4 +76,10 @@ public class OaProjectReportBo extends BaseEntity {
*/
private String nickName;
/**
* 报工时间
*/
private Long workType;
}

View File

@@ -65,5 +65,9 @@ public class OaApplicationVo {
@ExcelProperty(value = "备注")
private String remark;
/**
* 路由类型
*/
private String routeType;
}

View File

@@ -87,6 +87,46 @@ public class OaProjectReportVo {
*/
private Long isTrip;
/**
* 报工次数
*/
private Long count;
/**
* 报工次数
*/
private Long reportCount;
/**
* 项目剩余时间
*/
private Long remainTime;
/**
* 项目状态
*/
private Long projectStatus;
/**
* 报工时间
*/
private Date createTime;
/**
* 报工时间
*/
private Long workType;
/**
* inWorkNum
* 国内工作时间
*/
private Long inWorkNum;
/**
* inWorkNum
* 国外工作时间
*/
private Long outWorkNum;
}

View File

@@ -0,0 +1,11 @@
package com.ruoyi.oa.domain.vo;
import lombok.Data;
@Data
public class ProjectReportPieVo {
private String projectName;
private Integer value;
}

View File

@@ -0,0 +1,14 @@
package com.ruoyi.oa.domain.vo;
import lombok.Data;
import java.time.LocalDate;
@Data
public class ProjectReportTrendVo {
private LocalDate date;
private Integer count;
}