Parcourir la source

修改机场平台回调状态

tags/v1.0.0^2
wanjing il y a 1 an
Parent
révision
c97d11a3e8
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  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 Voir le fichier

inspection.setUpdateUser(userId); inspection.setUpdateUser(userId);
inspection.setUpdateTime(DateUtils.now()); inspection.setUpdateTime(DateUtils.now());
inspection.setExecutionStartTime(DateUtils.now()); inspection.setExecutionStartTime(DateUtils.now());
inspectionMapper.update(inspection);
inspectionMapper.updateStatus(inspection);
} }


/** /**

+ 1
- 0
tuoheng-service/tuoheng-admin/src/main/resources/mapper/InspectionMapper.xml Voir le fichier

<if test="status != null"> status = #{status}, </if> <if test="status != null"> status = #{status}, </if>
<if test="updateUser != null and updateUser != ''"> update_user = #{updateUser},</if> <if test="updateUser != null and updateUser != ''"> update_user = #{updateUser},</if>
<if test="updateTime != null"> update_time = #{updateTime},</if> <if test="updateTime != null"> update_time = #{updateTime},</if>
<if test="executionStartTime != null"> execution_start_time = #{executionStartTime},</if>
</trim> </trim>
where id = #{id} where id = #{id}
</update> </update>

Chargement…
Annuler
Enregistrer