Explorar el Código

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

tags/v1.3.4
陈璐 hace 4 meses
padre
commit
94b0cc81c0
Se han modificado 2 ficheros con 9 adiciones y 0 borrados
  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 Ver fichero

@@ -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 Ver fichero

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

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

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

Cargando…
Cancelar
Guardar