| | |
| | | package org.jeecg.modules.eam.request; |
| | | |
| | | import cn.hutool.core.util.StrUtil; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | |
| | | @Excel(name = "删除标记", width = 15) |
| | | @ApiModelProperty(value = "删除标记") |
| | | @TableLogic |
| | | private String delFlag; |
| | | private Integer delFlag; |
| | | /**报修ID*/ |
| | | @Excel(name = "报修ID", width = 15) |
| | | @ApiModelProperty(value = "报修ID") |
| | |
| | | @Excel(name = "设备ID", width = 15) |
| | | @ApiModelProperty(value = "设备ID") |
| | | private String equipmentId; |
| | | /**HF编码*/ |
| | | @Excel(name = "HF编码", width = 15) |
| | | @ApiModelProperty(value = "HF编码") |
| | | private String hfCode; |
| | | /**登记状态*/ |
| | | @ApiModelProperty(value = "登记状态") |
| | | @Dict(dicCode = "eam_report_accidents_register_status") |
| | |
| | | /**操作工*/ |
| | | @Excel(name = "操作工", width = 15) |
| | | @ApiModelProperty(value = "操作工") |
| | | @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") |
| | | private String confirmer; |
| | | /**操作工确认时间*/ |
| | | @Excel(name = "操作工确认时间", width = 15, format = "yyyy-MM-dd") |
| | |
| | | /**区长*/ |
| | | @Excel(name = "区长", width = 15) |
| | | @ApiModelProperty(value = "区长") |
| | | @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") |
| | | private String district; |
| | | /**区长确认*/ |
| | | @Excel(name = "区长确认", width = 15) |
| | | @ApiModelProperty(value = "区长确认") |
| | | @ApiModelProperty(value = "区长确认意见") |
| | | private String districtConfirm; |
| | | /**区长确认时间*/ |
| | | @Excel(name = "区长确认时间", width = 15, format = "yyyy-MM-dd") |
| | |
| | | @DateTimeFormat(pattern="yyyy-MM-dd") |
| | | @ApiModelProperty(value = "区长确认时间") |
| | | private Date districtTime; |
| | | /**区长确认结果*/ |
| | | @Excel(name = "区长确认结果", width = 15) |
| | | @ApiModelProperty(value = "区长确认结果") |
| | | private String districtResult; |
| | | /**中心主任*/ |
| | | @Excel(name = "中心主任", width = 15) |
| | | @ApiModelProperty(value = "中心主任") |
| | | @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") |
| | | private String centerDirector; |
| | | /**中心主任确认*/ |
| | | @Excel(name = "中心主任确认", width = 15) |
| | | @ApiModelProperty(value = "中心主任确认") |
| | | @ApiModelProperty(value = "中心主任确认意见") |
| | | private String centerDirectorConfirm; |
| | | /**中心主任确认结果*/ |
| | | @Excel(name = "中心主任确认结果", width = 15) |
| | | @ApiModelProperty(value = "中心主任确认结果") |
| | | private String centerDirectorResult; |
| | | /**中心主任确认时间*/ |
| | | @Excel(name = "中心主任确认时间", width = 15, format = "yyyy-MM-dd") |
| | | @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd") |
| | | @ApiModelProperty(value = "中心主任确认时间") |
| | | private Date centerDirectorTime; |
| | | /**维修工确认*/ |
| | | @Excel(name = "维修工确认", width = 15) |
| | | @ApiModelProperty(value = "维修工确认") |
| | | @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") |
| | | private String repairConfirm; |
| | | /**维修开始时间*/ |
| | | @Excel(name = "维修开始时间", width = 15, format = "yyyy-MM-dd") |
| | | @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") |
| | |
| | | @DateTimeFormat(pattern="yyyy-MM-dd") |
| | | @ApiModelProperty(value = "建议采取措施时间") |
| | | private Date suggestionTakeStepsTime; |
| | | /**维修确认*/ |
| | | @Excel(name = "维修确认", width = 15) |
| | | @ApiModelProperty(value = "维修确认") |
| | | private String repairConfirm; |
| | | /**维修确认意见*/ |
| | | @Excel(name = "维修确认意见", width = 15) |
| | | @ApiModelProperty(value = "维修确认意见") |
| | | /**维修工确认结果*/ |
| | | @Excel(name = "维修工确认结果", width = 15) |
| | | @ApiModelProperty(value = "维修工确认结果") |
| | | private String repairConfirmResult; |
| | | /**维修工确认意见*/ |
| | | @Excel(name = "维修工确认意见", width = 15) |
| | | @ApiModelProperty(value = "维修工确认意见") |
| | | private String repairConfirmComment; |
| | | /**维修确认时间*/ |
| | | @Excel(name = "维修确认时间", width = 15, format = "yyyy-MM-dd") |
| | | /**维修工确认时间*/ |
| | | @Excel(name = "维修工确认时间", width = 15, format = "yyyy-MM-dd") |
| | | @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd") |
| | | @ApiModelProperty(value = "维修确认时间") |
| | |
| | | /**维修组长确认*/ |
| | | @Excel(name = "维修组长确认", width = 15) |
| | | @ApiModelProperty(value = "维修组长确认") |
| | | @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") |
| | | private String repairGroupLeader; |
| | | /**维修组长意见*/ |
| | | @Excel(name = "维修组长意见", width = 15) |
| | | @ApiModelProperty(value = "维修组长意见") |
| | | private String repairGroupLeaderComment; |
| | | /**维修组长确认结果*/ |
| | | @Excel(name = "维修组长确认结果", width = 15) |
| | | @ApiModelProperty(value = "维修组长确认结果") |
| | | private String repairGroupLeaderResult; |
| | | /**维修组长确认时间*/ |
| | | @Excel(name = "维修组长确认时间", width = 15, format = "yyyy-MM-dd") |
| | | @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd") |
| | | @ApiModelProperty(value = "维修组长确认时间") |
| | | private Date repairGroupLeaderTime; |
| | | /**维修组长确认*/ |
| | | @Excel(name = "维修组长确认", width = 15) |
| | | @ApiModelProperty(value = "维修组长确认") |
| | | /**维修组长(区长)确认*/ |
| | | @Excel(name = "维修组长(区长)确认", width = 15) |
| | | @ApiModelProperty(value = "维修组长(区长)确认") |
| | | @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") |
| | | private String repairDistrict; |
| | | /**维修组长意见*/ |
| | | @Excel(name = "维修组长意见", width = 15) |
| | | @ApiModelProperty(value = "维修组长意见") |
| | | /**维修组长(区长)意见*/ |
| | | @Excel(name = "维修组长(区长)意见", width = 15) |
| | | @ApiModelProperty(value = "维修组长(区长)意见") |
| | | private String repairDistrictComment; |
| | | /**维修组长确认时间*/ |
| | | /**维修组长(区长)确认结果*/ |
| | | @Excel(name = "维修组长(区长)确认结果", width = 15) |
| | | @ApiModelProperty(value = "维修组长(区长)确认结果") |
| | | private String repairDistrictResult; |
| | | /**维修组长(区长)确认时间*/ |
| | | @Excel(name = "维修组长确认时间", width = 15, format = "yyyy-MM-dd") |
| | | @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd") |
| | | @ApiModelProperty(value = "维修组长确认时间") |
| | | @ApiModelProperty(value = "维修组长(区长)确认时间") |
| | | private Date repairDistrictTime; |
| | | /**技术负责人*/ |
| | | @Excel(name = "技术负责人", width = 15) |
| | | @ApiModelProperty(value = "技术负责人") |
| | | @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") |
| | | private String technicalDirector; |
| | | /**原因分析核对同意、不同意*/ |
| | | @Excel(name = "原因分析核对同意、不同意", width = 15) |
| | | @ApiModelProperty(value = "原因分析核对同意、不同意") |
| | |
| | | @Excel(name = "事故结论", width = 15) |
| | | @ApiModelProperty(value = "事故结论") |
| | | private String accidentConclusion; |
| | | /**技术负责人*/ |
| | | @Excel(name = "技术负责人", width = 15) |
| | | @ApiModelProperty(value = "技术负责人") |
| | | private String technicalDirector; |
| | | /**技术负责人确认意见*/ |
| | | @Excel(name = "技术负责人确认意见", width = 15) |
| | | @ApiModelProperty(value = "技术负责人确认意见") |
| | | private String technicalDirectorConfirm; |
| | | /**技术负责人确认结果*/ |
| | | @Excel(name = "技术负责人确认结果", width = 15) |
| | | @ApiModelProperty(value = "技术负责人确认结果") |
| | | private String technicalDirectorResult; |
| | | /**技术负责人确认时间*/ |
| | | @Excel(name = "技术负责人确认时间", width = 15, format = "yyyy-MM-dd") |
| | | @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") |
| | |
| | | /**技术主管室级领导*/ |
| | | @Excel(name = "技术主管室级领导", width = 15) |
| | | @ApiModelProperty(value = "技术主管室级领导") |
| | | @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") |
| | | private String technicalDirectorLeader; |
| | | /**技术主管室级领导确认意见*/ |
| | | @Excel(name = "技术主管室级领导确认意见", width = 15) |
| | | @ApiModelProperty(value = "技术主管室级领导确认意见") |
| | | private String technicalDirectorLeaderConfirm; |
| | | /**技术主管室级领导确认结果*/ |
| | | @Excel(name = "技术主管室级领导确认结果", width = 15) |
| | | @ApiModelProperty(value = "技术主管室级领导确认结果") |
| | | private String technicalDirectorLeaderResult; |
| | | /**技术主管室级领导确认时间*/ |
| | | @Excel(name = "技术主管室级领导确认时间", width = 15, format = "yyyy-MM-dd") |
| | | @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") |
| | |
| | | /**主管部级领导*/ |
| | | @Excel(name = "主管部级领导", width = 15) |
| | | @ApiModelProperty(value = "主管部级领导") |
| | | @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") |
| | | private String technicalDirectorPart; |
| | | /**主管部级领导确认时间*/ |
| | | @Excel(name = "主管部级领导确认时间", width = 15, format = "yyyy-MM-dd") |
| | |
| | | @DateTimeFormat(pattern="yyyy-MM-dd") |
| | | @ApiModelProperty(value = "主管部级领导确认时间") |
| | | private Date technicalDirectorPartTime; |
| | | /**主管部级领导确认意见*/ |
| | | @Excel(name = "主管部级领导确认意见", width = 15) |
| | | @ApiModelProperty(value = "主管部级领导确认意见") |
| | | private String technicalDirectorPartConfirm; |
| | | /**主管部级领导确认结果*/ |
| | | @Excel(name = "主管部级领导确认结果", width = 15) |
| | | @ApiModelProperty(value = "主管部级领导确认结果") |
| | | private String technicalDirectorPartResult; |
| | | //列表展示 |
| | | @TableField(exist = false) |
| | | private String equipmentCode; |
| | |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "废品价值") |
| | | private String scrapPartValue; |
| | | /** |
| | | * 公司 |
| | | */ |
| | | @ApiModelProperty(value = "公司") |
| | | @Dict(dictTable = "eam_base_factory",dicText = "factory_name",dicCode = "org_code") |
| | | @TableField(exist = false) |
| | | private transient String gsfactoryOrgCode; |
| | | |
| | | /** |
| | | * 中心 |
| | | */ |
| | | @ApiModelProperty(value = "中心") |
| | | @Dict(dictTable = "eam_base_factory",dicText = "factory_name",dicCode = "org_code") |
| | | @TableField(exist = false) |
| | | private transient String zxfactoryOrgCode; |
| | | |
| | | /** |
| | | * 工区 |
| | | */ |
| | | @ApiModelProperty(value = "工区") |
| | | @Dict(dictTable = "eam_base_factory",dicText = "factory_name",dicCode = "org_code") |
| | | @TableField(exist = false) |
| | | private transient String gqfactoryOrgCode; |
| | | |
| | | /** |
| | | * 工段 |
| | | */ |
| | | @ApiModelProperty(value = "中心/工区/工段") |
| | | @Dict(dictTable = "eam_base_factory",dicText = "factory_name",dicCode = "org_code") |
| | | @TableField(exist = false) |
| | | private String factoryOrgCode; |
| | | |
| | | public void setFactoryOrgCode(String factoryOrgCode){ |
| | | this.factoryOrgCode = factoryOrgCode; |
| | | if(StrUtil.isNotEmpty(factoryOrgCode)){ |
| | | if(factoryOrgCode.length()==12){ |
| | | this.gqfactoryOrgCode = factoryOrgCode.substring(0,9); |
| | | this.zxfactoryOrgCode = factoryOrgCode.substring(0,6); |
| | | this.gsfactoryOrgCode = factoryOrgCode.substring(0,3); |
| | | } |
| | | |
| | | if(factoryOrgCode.length()==9){ |
| | | this.zxfactoryOrgCode = factoryOrgCode.substring(0,6); |
| | | this.gsfactoryOrgCode = factoryOrgCode.substring(0,3); |
| | | } |
| | | |
| | | if(factoryOrgCode.length()==6){ |
| | | this.gsfactoryOrgCode = factoryOrgCode.substring(0,3); |
| | | } |
| | | } |
| | | } |
| | | } |