Procházet zdrojové kódy

Merge branch 'develop' of gitadmin/tuoheng_freeway into release

tags/v1.0.0^2
wanjing před 1 rokem
rodič
revize
6c6137b0dd
2 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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 Zobrazit soubor

@@ -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 Zobrazit soubor

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

Načítá se…
Zrušit
Uložit