forked from rongchao/epmet-cloud-rizhao
41 changed files with 745 additions and 60 deletions
@ -0,0 +1,27 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description |
|||
* @Author zhaoqifeng |
|||
* @Date 2022/1/4 14:49 |
|||
*/ |
|||
@NoArgsConstructor |
|||
@Data |
|||
public class ApprovaledListFromDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 5700160700676332579L; |
|||
private String customerId; |
|||
@NotBlank(message = "组织id不能为空") |
|||
private String agencyId; |
|||
private String startTime; |
|||
private String endTime; |
|||
private String staffId; |
|||
private Integer pageSize = 1; |
|||
private Integer pageNo = 20; |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description |
|||
* @Author zhaoqifeng |
|||
* @Date 2022/1/4 14:58 |
|||
*/ |
|||
@NoArgsConstructor |
|||
@Data |
|||
public class ApprovaledListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 5118030421632653558L; |
|||
private String projectId; |
|||
private String title; |
|||
private String projectCategory; |
|||
private String locateAddress; |
|||
private String happenTime; |
|||
private String staffId; |
|||
private String staffName; |
|||
private String gridId; |
|||
private String gridName; |
|||
private String createdTime; |
|||
} |
|||
@ -0,0 +1,57 @@ |
|||
package com.epmet.excel; |
|||
|
|||
import cn.afterturn.easypoi.excel.annotation.Excel; |
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
import lombok.Getter; |
|||
import lombok.Setter; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2022/1/5 10:00 上午 |
|||
* @DESC |
|||
*/ |
|||
@Getter |
|||
@Setter |
|||
@EqualsAndHashCode |
|||
public class PcWorkListExport { |
|||
|
|||
@ExcelProperty("事项名称") |
|||
private String title; |
|||
|
|||
@ExcelProperty("事项类型码") |
|||
private String workTypeCode; |
|||
|
|||
@ExcelProperty("事项类型名称") |
|||
private String workTypeName; |
|||
|
|||
@ExcelProperty("有无异常") |
|||
private String isNormal; |
|||
|
|||
@ExcelProperty("发生地点") |
|||
private String happenAddress; |
|||
|
|||
@ExcelProperty("发生时间") |
|||
private String happenTime; |
|||
|
|||
@ExcelProperty("人员ID") |
|||
private String staffId; |
|||
|
|||
@ExcelProperty("人员姓名") |
|||
private String staffName; |
|||
|
|||
@ExcelProperty("网格ID") |
|||
private String gridId; |
|||
|
|||
@ExcelProperty("网格名字") |
|||
private String gridName; |
|||
|
|||
@ExcelProperty("提交日期") |
|||
private String createdTime; |
|||
|
|||
@ExcelProperty("工作内容") |
|||
private String workContent; |
|||
} |
|||
@ -0,0 +1,71 @@ |
|||
/** |
|||
* Copyright 2018 人人开源 https://www.renren.io
|
|||
* <p> |
|||
* This program is free software: you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License as published by |
|||
* the Free Software Foundation, either version 3 of the License, or |
|||
* (at your option) any later version. |
|||
* <p> |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* <p> |
|||
* You should have received a copy of the GNU General Public License |
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
*/ |
|||
|
|||
package com.epmet.excel; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelIgnore; |
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.format.DateTimeFormat; |
|||
import lombok.EqualsAndHashCode; |
|||
import lombok.Getter; |
|||
import lombok.Setter; |
|||
|
|||
/** |
|||
* @Description 【网格员工作统计】巡查记录列表导出 |
|||
* @Author sun |
|||
*/ |
|||
@Getter |
|||
@Setter |
|||
@EqualsAndHashCode |
|||
public class StaffPatrolRecordExcel { |
|||
|
|||
@ExcelProperty("人员ID") |
|||
private String staffId; |
|||
|
|||
@ExcelProperty("人员名称") |
|||
private String staffName; |
|||
|
|||
@ExcelProperty("网格ID") |
|||
private String gridId; |
|||
|
|||
@ExcelProperty("网格名称") |
|||
private String gridName; |
|||
|
|||
@ExcelProperty("状态(英文key)") |
|||
private String status; |
|||
|
|||
@ExcelProperty("状态(中文)") |
|||
private String statusName; |
|||
|
|||
@DateTimeFormat("yyyy年MM月dd日") |
|||
@ExcelProperty("巡查开始时间") |
|||
private String patrolStartTime; |
|||
|
|||
@DateTimeFormat("yyyy年MM月dd日") |
|||
@ExcelProperty("巡查结束时间") |
|||
private String patrolEndTime; |
|||
|
|||
@ExcelProperty("巡查时长") |
|||
private String totalTime; |
|||
|
|||
@ExcelIgnore |
|||
private String aa; |
|||
|
|||
|
|||
|
|||
|
|||
} |
|||
Loading…
Reference in new issue