|
@@ -36,6 +36,12 @@ public class LogListVoEn {
|
|
|
@ExcelProperty("Authorized Quantity")
|
|
|
private Integer count;
|
|
|
|
|
|
+ @ExcelIgnore
|
|
|
+ private Integer totalTime;
|
|
|
+
|
|
|
+ @ExcelProperty("Total duration of the authorization (year/month)")
|
|
|
+ private String totalTimeStr;
|
|
|
+
|
|
|
|
|
|
public String getTypeStr() {
|
|
|
if(type == null){
|
|
@@ -62,4 +68,11 @@ public class LogListVoEn {
|
|
|
return giveTypeStr;
|
|
|
}
|
|
|
|
|
|
+ public String getTotalTimeStr() {
|
|
|
+ if(type == 2){
|
|
|
+ return "-";
|
|
|
+ }
|
|
|
+ return totalTime.toString();
|
|
|
+ }
|
|
|
+
|
|
|
}
|