|
@@ -15,6 +15,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="platformUavStr" column="platform_uav_str" />
|
|
|
<result property="fixedMultiTargetFormationStr" column="fixed_multi_target_formation_str" />
|
|
|
<result property="customizedMultiTargetFormationStr" column="customized_multi_target_formation_str" />
|
|
|
+ <result property="status" column="status" />
|
|
|
+ <result property="startTime" column="start_time" />
|
|
|
+ <result property="endTime" column="end_time" />
|
|
|
+ <result property="filePath" column="file_path" />
|
|
|
<result property="createBy" column="create_by" />
|
|
|
<result property="createTime" column="create_time" />
|
|
|
<result property="updateBy" column="update_by" />
|
|
@@ -22,13 +26,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectUavpsTaskVo">
|
|
|
- select biz_id, biz_name, biz_type, multi_target, nose_type, noise_variance, noise_mean, platform_uav_str, fixed_multi_target_formation_str, customized_multi_target_formation_str, create_by, create_time, update_by, update_time from uavps_task
|
|
|
+ select biz_id, biz_name, biz_type, multi_target, nose_type, noise_variance, noise_mean, platform_uav_str, fixed_multi_target_formation_str, customized_multi_target_formation_str, status, start_time, end_time, file_path, create_by, create_time, update_by, update_time from uavps_task
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectUavpsTaskList" parameterType="UavpsTask" resultMap="UavpsTaskResult">
|
|
|
<include refid="selectUavpsTaskVo"/>
|
|
|
<where>
|
|
|
<if test="bizName != null and bizName != ''"> and biz_name like concat('%', #{bizName}, '%')</if>
|
|
|
+ <if test="status != null and status != ''"> and status = #{status}</if>
|
|
|
+ <if test="startTime != null "> and start_time = #{startTime}</if>
|
|
|
+ <if test="endTime != null "> and end_time = #{endTime}</if>
|
|
|
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
|
|
|
</where>
|
|
|
</select>
|
|
@@ -50,6 +57,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="platformUavStr != null">platform_uav_str,</if>
|
|
|
<if test="fixedMultiTargetFormationStr != null">fixed_multi_target_formation_str,</if>
|
|
|
<if test="customizedMultiTargetFormationStr != null">customized_multi_target_formation_str,</if>
|
|
|
+ <if test="status != null">status,</if>
|
|
|
+ <if test="startTime != null">start_time,</if>
|
|
|
+ <if test="endTime != null">end_time,</if>
|
|
|
+ <if test="filePath != null">file_path,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
@@ -65,6 +76,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="platformUavStr != null">#{platformUavStr},</if>
|
|
|
<if test="fixedMultiTargetFormationStr != null">#{fixedMultiTargetFormationStr},</if>
|
|
|
<if test="customizedMultiTargetFormationStr != null">#{customizedMultiTargetFormationStr},</if>
|
|
|
+ <if test="status != null">#{status},</if>
|
|
|
+ <if test="startTime != null">#{startTime},</if>
|
|
|
+ <if test="endTime != null">#{endTime},</if>
|
|
|
+ <if test="filePath != null">#{filePath},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
@@ -84,6 +99,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="platformUavStr != null">platform_uav_str = #{platformUavStr},</if>
|
|
|
<if test="fixedMultiTargetFormationStr != null">fixed_multi_target_formation_str = #{fixedMultiTargetFormationStr},</if>
|
|
|
<if test="customizedMultiTargetFormationStr != null">customized_multi_target_formation_str = #{customizedMultiTargetFormationStr},</if>
|
|
|
+ <if test="status != null">status = #{status},</if>
|
|
|
+ <if test="startTime != null">start_time = #{startTime},</if>
|
|
|
+ <if test="endTime != null">end_time = #{endTime},</if>
|
|
|
+ <if test="filePath != null">file_path = #{filePath},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|