| | |
| | | </select> |
| | | |
| | | |
| | | <update id="updateById" parameterType="com.wgcloud.entity.FailureLogging"> |
| | | UPDATE FAILURE_LOGGING |
| | | <set> |
| | | <if test="oldDeviceName != null"> |
| | | OLD_DEVICE_NAME = #{oldDeviceName}, |
| | | </if> |
| | | <if test="oldDeviceIp != null"> |
| | | OLD_DEVICE_IP = #{oldDeviceIp}, |
| | | </if> |
| | | <if test="oldDeviceModel != null"> |
| | | OLD_DEVICE_MODEL = #{oldDeviceModel}, |
| | | </if> |
| | | <if test="newDeviceName != null"> |
| | | NEW_DEVICE_NAME = #{newDeviceName}, |
| | | </if> |
| | | <if test="newDeviceIp != null"> |
| | | NEW_DEVICE_IP = #{newDeviceIp}, |
| | | </if> |
| | | <if test="newDeviceModel != null"> |
| | | NEW_DEVICE_MODEL = #{newDeviceModel}, |
| | | </if> |
| | | <if test="personName != null"> |
| | | PERSON_NAME = #{personName}, |
| | | </if> |
| | | <if test="personDate != null"> |
| | | PERSON_DATE = #{personDate} |
| | | </if> |
| | | </set> |
| | | WHERE ID = #{id} |
| | | </update> |
| | | |
| | | |
| | | </mapper> |