10 changed files with 420 additions and 12 deletions
@ -0,0 +1,64 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 企事业单位 |
|||
*/ |
|||
@Data |
|||
public class EnterprisePageFormDTO implements Serializable { |
|||
/** |
|||
* 场所区域 |
|||
*/ |
|||
private String gridId; |
|||
/** |
|||
* 场所类型 |
|||
*/ |
|||
private String placeType; |
|||
|
|||
/** |
|||
* 场所名称 |
|||
*/ |
|||
private String placeOrgName; |
|||
|
|||
/** |
|||
* 规模 |
|||
*/ |
|||
private String scale; |
|||
|
|||
/** |
|||
* 联系电话 |
|||
*/ |
|||
private String mobile; |
|||
|
|||
/** |
|||
* 巡查结果:0:合格 1:不合格 |
|||
*/ |
|||
private String result; |
|||
|
|||
/** |
|||
* 隐患明细 |
|||
*/ |
|||
private String detailed; |
|||
|
|||
|
|||
private Integer pageNo = 1; |
|||
private Integer pageSize = 20; |
|||
|
|||
/** |
|||
* 列表查询默认分页 |
|||
* 导出不分页 |
|||
*/ |
|||
private Boolean pageFlag; |
|||
//tokenDto.customerId
|
|||
private String customerId; |
|||
//tokenDto.userId
|
|||
private String currentStaffId; |
|||
/** |
|||
* 当前登录用户的所属组织id |
|||
*/ |
|||
private String staffAgencyId; |
|||
} |
@ -0,0 +1,94 @@ |
|||
package com.epmet.excel; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelIgnore; |
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* 企事业单位导出excel |
|||
*/ |
|||
@Data |
|||
public class EnterpriseExportExcelDTO { |
|||
/** |
|||
* 场所类型:来源于ic_coverage_category_dict |
|||
*/ |
|||
@ExcelIgnore |
|||
private String placeType; |
|||
|
|||
/** |
|||
* 场所类型名称 |
|||
*/ |
|||
@ExcelProperty(value = "场所类型") |
|||
@ColumnWidth(25) |
|||
private String placeTypeName; |
|||
|
|||
|
|||
/** |
|||
* 网格所属的组织Id |
|||
*/ |
|||
@ExcelIgnore |
|||
private String agencyId; |
|||
|
|||
@ExcelProperty(value = "所属组织") |
|||
@ColumnWidth(25) |
|||
private String agencyName; |
|||
|
|||
|
|||
/** |
|||
* 网格Id【场所区域】 |
|||
*/ |
|||
@ExcelIgnore |
|||
private String gridId; |
|||
|
|||
@ExcelProperty(value = "场所区域") |
|||
@ColumnWidth(25) |
|||
private String gridName; |
|||
|
|||
/** |
|||
* 场所名称 |
|||
*/ |
|||
@ExcelProperty(value = "场所名称") |
|||
@ColumnWidth(25) |
|||
private String placeOrgName; |
|||
|
|||
/** |
|||
* 场所地址 |
|||
*/ |
|||
@ExcelProperty(value = "场所地址") |
|||
@ColumnWidth(30) |
|||
private String address; |
|||
|
|||
/** |
|||
* 字典value,场所规模【 |
|||
* 0:10人以下 |
|||
* 1:10-20人 |
|||
* 2:21-40人 |
|||
* 3:41-100人 |
|||
* 4:100人以上】 |
|||
*/ |
|||
@ExcelIgnore |
|||
private String scale; |
|||
|
|||
/** |
|||
* 规模名称 |
|||
*/ |
|||
@ExcelProperty(value = "规模") |
|||
@ColumnWidth(15) |
|||
private String scaleName; |
|||
|
|||
|
|||
/** |
|||
* 场所负责人 |
|||
*/ |
|||
@ExcelProperty(value = "负责人") |
|||
@ColumnWidth(20) |
|||
private String personInCharge; |
|||
|
|||
/** |
|||
* 负责人电话 |
|||
*/ |
|||
@ExcelProperty(value = "联系电话") |
|||
@ColumnWidth(20) |
|||
private String mobile; |
|||
} |
Loading…
Reference in new issue