| | |
| | | <result property="operatorName" column="operator_name" /> |
| | | <result property="operationTime" column="operation_time" /> |
| | | <result property="ipAddress" column="ip_address" /> |
| | | <result property="latitude" column="latitude" /> |
| | | <result property="longitude" column="longitude" /> |
| | | <result property="locationAddress" column="location_address" /> |
| | | <result property="locationProvince" column="location_province" /> |
| | | <result property="locationCity" column="location_city" /> |
| | | <result property="locationDistrict" column="location_district" /> |
| | | <result property="gpsAccuracy" column="gps_accuracy" /> |
| | | <result property="altitude" column="altitude" /> |
| | | <result property="speed" column="speed" /> |
| | | <result property="heading" column="heading" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSysTaskLogVo"> |
| | | select log_id, task_id, operation_type, operation_desc, old_value, new_value, |
| | | operator_id, operator_name, operation_time, ip_address |
| | | operator_id, operator_name, operation_time, ip_address, |
| | | latitude, longitude, location_address, location_province, |
| | | location_city, location_district, gps_accuracy, altitude, speed, heading |
| | | from sys_task_log |
| | | </sql> |
| | | |
| | |
| | | <if test="operatorName != null and operatorName != ''">operator_name,</if> |
| | | <if test="operationTime != null">operation_time,</if> |
| | | <if test="ipAddress != null">ip_address,</if> |
| | | <if test="latitude != null">latitude,</if> |
| | | <if test="longitude != null">longitude,</if> |
| | | <if test="locationAddress != null">location_address,</if> |
| | | <if test="locationProvince != null">location_province,</if> |
| | | <if test="locationCity != null">location_city,</if> |
| | | <if test="locationDistrict != null">location_district,</if> |
| | | <if test="gpsAccuracy != null">gps_accuracy,</if> |
| | | <if test="altitude != null">altitude,</if> |
| | | <if test="speed != null">speed,</if> |
| | | <if test="heading != null">heading,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="taskId != null">#{taskId},</if> |
| | |
| | | <if test="operatorName != null and operatorName != ''">#{operatorName},</if> |
| | | <if test="operationTime != null">#{operationTime},</if> |
| | | <if test="ipAddress != null">#{ipAddress},</if> |
| | | <if test="latitude != null">#{latitude},</if> |
| | | <if test="longitude != null">#{longitude},</if> |
| | | <if test="locationAddress != null">#{locationAddress},</if> |
| | | <if test="locationProvince != null">#{locationProvince},</if> |
| | | <if test="locationCity != null">#{locationCity},</if> |
| | | <if test="locationDistrict != null">#{locationDistrict},</if> |
| | | <if test="gpsAccuracy != null">#{gpsAccuracy},</if> |
| | | <if test="altitude != null">#{altitude},</if> |
| | | <if test="speed != null">#{speed},</if> |
| | | <if test="heading != null">#{heading},</if> |
| | | </trim> |
| | | </insert> |
| | | |