Browse Source

Merge branch 'develop' of gitadmin/tuoheng_telecomumale into release

tags/v1.0.0^2
chengwang 1 year ago
parent
commit
5a96c62bc1
3 changed files with 9 additions and 0 deletions
  1. +1
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/report/generate/GenerateReportByAutoService.java
  2. +2
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/report/generate/GenerateReportByManualService.java
  3. +6
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/ReportPageListVo.java

+ 1
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/report/generate/GenerateReportByAutoService.java View File

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());

+ 2
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/report/generate/GenerateReportByManualService.java View File

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);

+ 6
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/ReportPageListVo.java View File

*/ */
private Integer problemHandleCount; private Integer problemHandleCount;


/**
* 自动生成报告标识 自动生成:1:未自动生成,2自动生成
*/
private Integer autoGenerate;


} }

Loading…
Cancel
Save