|
@@ -22,7 +22,7 @@ import static com.mooctest.crowd.site.data.vo.CrowdTestProjectVO.getDistanceTime
|
|
|
@NoArgsConstructor
|
|
|
@AllArgsConstructor
|
|
|
public class CrowdTaskVO implements Serializable{
|
|
|
- private String id;
|
|
|
+ private long id;
|
|
|
private String code;
|
|
|
private String projectId;
|
|
|
private String title;
|
|
@@ -50,7 +50,7 @@ public class CrowdTaskVO implements Serializable{
|
|
|
private String time_interval;
|
|
|
|
|
|
public CrowdTaskVO(CrowdTestTask task){
|
|
|
- id = task.getCode();
|
|
|
+ id = task.getId();
|
|
|
code = task.getCode();
|
|
|
projectId = task.getCrowdTestProjectCode();
|
|
|
title = task.getName();
|