Sfoglia il codice sorgente

Merge branch 'develop' of gitadmin/tuoheng_freeway into release

tags/v1.0.0^2
wanjing 1 anno fa
parent
commit
6c6137b0dd
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/update/status/UpdateExecuteTaskStatusService.java
  2. +1
    -0
      tuoheng-service/tuoheng-admin/src/main/resources/mapper/InspectionMapper.xml

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/update/status/UpdateExecuteTaskStatusService.java Vedi File

@@ -87,7 +87,7 @@ public class UpdateExecuteTaskStatusService {
inspection.setUpdateUser(userId);
inspection.setUpdateTime(DateUtils.now());
inspection.setExecutionStartTime(DateUtils.now());
inspectionMapper.update(inspection);
inspectionMapper.updateStatus(inspection);
}

/**

+ 1
- 0
tuoheng-service/tuoheng-admin/src/main/resources/mapper/InspectionMapper.xml Vedi File

@@ -194,6 +194,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="status != null"> status = #{status}, </if>
<if test="updateUser != null and updateUser != ''"> update_user = #{updateUser},</if>
<if test="updateTime != null"> update_time = #{updateTime},</if>
<if test="executionStartTime != null"> execution_start_time = #{executionStartTime},</if>
</trim>
where id = #{id}
</update>

Loading…
Annulla
Salva