|
|
@@ -66,4 +66,16 @@ public class ExcelManageAccountData {
|
|
|
@ExcelProperty("激活更新状态")
|
|
|
@DbIgnore
|
|
|
private String activeCodeStatus;
|
|
|
+
|
|
|
+ @DbField("select count(ur.id) from user_ticket_cleared_record ur where ur.account_id = a.id and deleted is true")
|
|
|
+ @ExcelIgnore
|
|
|
+ private Integer expiryCount;
|
|
|
+
|
|
|
+ @DbField("if((select s.account_id from (select s.account_id, count(*) num" +
|
|
|
+ " from (select ur.account_id, ur.relation_id" +
|
|
|
+ " from user_ticket_cleared_record ur where ur.deleted is true" +
|
|
|
+ " group by ur.account_id, ur.relation_id) s" +
|
|
|
+ " group by s.account_id) s left join groups_trips gt on gt.account_id = s.account_id where s.account_id = a.id and s.num >= gt.num)is null,false,true)")
|
|
|
+ @ExcelIgnore
|
|
|
+ private Boolean expiredAll;
|
|
|
}
|