Compare commits

...

2 Commits

Author SHA1 Message Date
yang.yongquan 11fb78d349 修复上传失败的地方 2022-07-07 15:19:30 +08:00
yang.yongquan 158cb36848 修复上传失败的地方 2022-07-07 15:19:17 +08:00
3 changed files with 30 additions and 5 deletions

View File

@ -3,6 +3,7 @@ package cn.edu.hfut.rmdjzz.projectmanagement.entity.dto;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDate; import java.time.LocalDate;
@ -12,6 +13,7 @@ import java.time.LocalDate;
*/ */
@Data @Data
@AllArgsConstructor @AllArgsConstructor
@NoArgsConstructor
public class ProjectDto { public class ProjectDto {
@TableId @TableId
Integer projectId; Integer projectId;
@ -26,10 +28,5 @@ public class ProjectDto {
LocalDate projectClosedDate; LocalDate projectClosedDate;
Integer completeNum; Integer completeNum;
Integer totalNum; Integer totalNum;
ProjectDto() {
completeNum = 50;
totalNum = 100;
}
//TODO: 带加的进度 Double projectProcess; //TODO: 带加的进度 Double projectProcess;
} }

View File

@ -0,0 +1,14 @@
package cn.edu.hfut.rmdjzz.projectmanagement.entity.dto;
import lombok.Data;
/**
* @author
* @since 2022/7/7 11:42
*/
@Data
public class ProjectProcessDto {
Integer projectId;
Long completeNum;
Long totalNum;
}

View File

@ -0,0 +1,14 @@
package cn.edu.hfut.rmdjzz.projectmanagement.entity.dto;
import lombok.Data;
/**
* @author
* @since 2022/7/7 10:28
*/
@Data
public class StaffProcessDto {
String taskType;
Long completeNum;
Long totalNum;
}