liusheng
3 小时以前 18f876d637cf1e9b0b264a4586e4a676a21f8166
ruoyi-task/src/main/resources/mapper/task/ServiceTaskdeptMapper.xml
@@ -14,6 +14,8 @@
        <result property="deptId" column="dept_id"/>
        <result property="deptCode" column="dept_code"/>
        <result property="deptName" column="dept_name"/>
        <!-- 2026-11:点位编码(dept_type='3' 的行走这一列,dept_code/dept_name 留空) -->
        <result property="pointLocation" column="point_location"/>
        <result property="delFlag" column="del_flag"/>
        <result property="createTime" column="create_time"/>
        <result property="updateTime" column="update_time"/>
@@ -31,6 +33,7 @@
               dept_type,
               dept_id,
               dept_code,
               point_location,
               del_flag,
               create_time,
               update_time
@@ -65,6 +68,9 @@
            </if>
            <if test="deptName != null  and deptCode != ''">
                and dept_name = #{deptName}
            </if>
            <if test="pointLocation != null  and pointLocation != ''">
                and point_location = #{pointLocation}
            </if>
            <if test="orgid != null  and orgid != ''">
                and orgid = #{orgid}
@@ -103,6 +109,8 @@
            </if>
            <if test="deptName != null">dept_name,
            </if>
            <if test="pointLocation != null">point_location,
            </if>
            <if test="orgid != null">orgid,
            </if>
        </trim>
@@ -128,6 +136,8 @@
            <if test="taskName != null">#{taskName},
            </if>
            <if test="deptName != null">#{deptName},
            </if>
            <if test="pointLocation != null">#{pointLocation},
            </if>
            <if test="orgid != null">#{orgid},
            </if>
@@ -168,6 +178,8 @@
            </if>
            <if test="deptName != null">dept_name = #{deptName},
            </if>
            <if test="pointLocation != null">point_location = #{pointLocation},
            </if>
            <if test="orgid != null">orgid = #{orgid},
            </if>
        </trim>