report.setInspectionId(inspection.getId()); | report.setInspectionId(inspection.getId()); | ||||
report.setInspectionCode(inspection.getCode()); | report.setInspectionCode(inspection.getCode()); | ||||
report.setInspectionName(inspection.getName()); | report.setInspectionName(inspection.getName()); | ||||
//自动生成报告标识改为2 | |||||
report.setAutoGenerate(2); | report.setAutoGenerate(2); | ||||
report.setCreateUser(""); | report.setCreateUser(""); | ||||
report.setCreateTime(DateUtils.now()); | report.setCreateTime(DateUtils.now()); |
report.setReportCode(code); | report.setReportCode(code); | ||||
report.setTenantId(tenantId); | report.setTenantId(tenantId); | ||||
report.setInspectionId(inspection.getId()); | report.setInspectionId(inspection.getId()); | ||||
//手动生成报告,设置成1 | |||||
report.setAutoGenerate(1); | |||||
report.setInspectionCode(inspection.getCode()); | report.setInspectionCode(inspection.getCode()); | ||||
report.setInspectionName(inspection.getName()); | report.setInspectionName(inspection.getName()); | ||||
report.setCreateUser(userId); | report.setCreateUser(userId); |
*/ | */ | ||||
private Integer problemHandleCount; | private Integer problemHandleCount; | ||||
/** | |||||
* 自动生成报告标识 自动生成:1:未自动生成,2自动生成 | |||||
*/ | |||||
private Integer autoGenerate; | |||||
} | } |