liusheng
19 小时以前 18f876d637cf1e9b0b264a4586e4a676a21f8166
ruoyi-task/src/main/resources/mapper/task/ServiceTaskMapper.xml
@@ -63,6 +63,8 @@
        <result property="appltype" column="appltype"/>
        <result property="patCycle" column="pat_cycle"/>
        <result property="diagType" column="diag_type"/>
        <!-- 2026-11:点位编码(同德「按点位」需求),建子任务时原样拷到 service_subtask -->
        <result property="pointLocation" column="point_location"/>
    </resultMap>
    <sql id="selectServiceTaskVo">
@@ -122,7 +124,8 @@
               nexttaskflag,
               nexttaskid,
               nexttaskname,
               diag_type
               diag_type,
               point_location
        from service_task
    </sql>
@@ -259,7 +262,8 @@
        service_task.nexttaskid,
        service_task.nexttaskname,
        service_task.orgid,
        service_task.campusid from service_task
        service_task.campusid,
        service_task.point_location from service_task
        where 1=1
        and service_task.del_flag = 0
        <!--            and taskid in (-->
@@ -495,6 +499,7 @@
            <if test="appltype != null  ">appltype,</if>
            <if test="patCycle != null  ">pat_cycle,</if>
            <if test="diagType != null and diagType != ''">diag_type,</if>
            <if test="pointLocation != null and pointLocation != ''">point_location,</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="taskName != null">#{taskName},</if>
@@ -553,6 +558,7 @@
            <if test="appltype != null  ">#{appltype},</if>
            <if test="patCycle != null  ">#{patCycle},</if>
            <if test="diagType != null and diagType != ''">#{diagType},</if>
            <if test="pointLocation != null and pointLocation != ''">#{pointLocation},</if>
        </trim>
    </insert>
@@ -617,6 +623,7 @@
            <if test="appltype != null  ">appltype = #{appltype},</if>
            <if test="patCycle != null  ">pat_cycle = #{patCycle},</if>
            <if test="diagType != null and diagType != ''">diag_type = #{diagType},</if>
            <if test="pointLocation != null and pointLocation != ''">point_location = #{pointLocation},</if>
        </trim>
        where taskid = #{taskid}
    </update>