Quellcode durchsuchen

工单问题 工单小程序接口调整

tags/v1.3.4
陈璐 vor 4 Monaten
Ursprung
Commit
94b0cc81c0
2 geänderte Dateien mit 9 neuen und 0 gelöschten Zeilen
  1. +4
    -0
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WorkOrderServiceImpl.java
  2. +5
    -0
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/vo/WorkOrderHandleVo.java

+ 4
- 0
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WorkOrderServiceImpl.java Datei anzeigen

@@ -457,12 +457,16 @@ public class WorkOrderServiceImpl extends BaseServiceImpl<WorkOrderMapper, WorkO
//工单id
vo.setWorkOrderId(query.getId());


//工单id
vo.setWorkOrderId(query.getId());
//处理审核结果
if(CollectionUtils.isNotEmpty(inspectionFileHandles)){
List<InspectionFileHandle> inspectionFileHandleList =
inspectionFileHandles.stream().filter(item -> item.getInspectionFileId().equals(t.getId())).collect(Collectors.toList());
if (Objects.nonNull(inspectionFileHandleList.get(0) )){
vo.setAudit(inspectionFileHandleList.get(0).getAudit());
vo.setInspectionFileHandleId(inspectionFileHandleList.get(0).getId());
}
}
if ( CollectionUtils.isNotEmpty(inspectionFileCheckRecords) ){

+ 5
- 0
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/vo/WorkOrderHandleVo.java Datei anzeigen

@@ -82,6 +82,11 @@ public class WorkOrderHandleVo {
*/
private Integer status;

/**
* 问题单处理Id
*/
private String inspectionFileHandleId;

/**
* 审核结果 0未审核 1合适 2不合适
*/

Laden…
Abbrechen
Speichern