|
|
|
@ -58,11 +58,20 @@ public class TaskVo { |
|
|
|
|
|
|
|
private List<ExecutorResult> executorList; |
|
|
|
|
|
|
|
private List<DeliverableResult> deliverableList; |
|
|
|
private List<DeliverableResult> deliverableShouldList; |
|
|
|
|
|
|
|
private String deliverables; |
|
|
|
|
|
|
|
public List<String> getDeliverables() { |
|
|
|
private Byte complateStatus; |
|
|
|
|
|
|
|
public Byte getComplateStatus() { |
|
|
|
if (CollectionUtil.isNotEmpty(deliverableShouldList) && getDeliverableList().size() > deliverableShouldList.size()) { |
|
|
|
return 1; |
|
|
|
} |
|
|
|
return 0; |
|
|
|
} |
|
|
|
|
|
|
|
public List<String> getDeliverableList() { |
|
|
|
if (StrUtil.isNotEmpty(deliverables)) { |
|
|
|
return ListUtil.toList(deliverables.split(",")); |
|
|
|
} |
|
|
|
|