liusheng
2025-02-25 4cccaf33dd171c20b6c262467f24706e3d175aab
smartor/src/main/resources/mapper/smartor/ServiceTaskoperMapper.xml
@@ -10,9 +10,9 @@
            <result property="longtask" column="longtask"/>
            <result property="taskName" column="task_name"/>
            <result property="serviceType" column="service_type"/>
            <result property="deptId" column="dept_id"/>
            <result property="deptCode" column="dept_code"/>
            <result property="deptName" column="dept_name"/>
            <result property="opid" column="opid"/>
            <result property="opcode" column="opcode"/>
            <result property="opdesc" column="opdesc"/>
            <result property="delFlag" column="del_flag"/>
            <result property="createTime" column="create_time"/>
            <result property="updateTime" column="update_time"/>
@@ -23,7 +23,7 @@
    </resultMap>
    <sql id="selectServiceTaskoperVo">
        select id, task_id, longtask, task_name, service_type, dept_id, dept_code, dept_name, del_flag, create_time, update_time, orgid, guid, pguid, pid
        select id, task_id, longtask, task_name, service_type, opid, opcode, opdesc, del_flag, create_time, update_time, orgid, guid, pguid, pid
        from service_taskoper
    </sql>
@@ -43,14 +43,14 @@
                        <if test="serviceType != null  and serviceType != ''">
                            and service_type = #{serviceType}
                        </if>
                        <if test="deptId != null ">
                            and dept_id = #{deptId}
                        <if test="opid != null ">
                            and opid = #{opid}
                        </if>
                        <if test="deptCode != null  and deptCode != ''">
                            and dept_code = #{deptCode}
                        <if test="opcode != null  and opcode != ''">
                            and opcode = #{opcode}
                        </if>
                        <if test="deptName != null  and deptName != ''">
                            and dept_name like concat('%', #{deptName}, '%')
                        <if test="opdesc != null  and opdesc != ''">
                            and opdesc = #{opdesc}
                        </if>
                        <if test="orgid != null  and orgid != ''">
                            and orgid = #{orgid}
@@ -84,11 +84,11 @@
                    </if>
                    <if test="serviceType != null">service_type,
                    </if>
                    <if test="deptId != null">dept_id,
                    <if test="opid != null">opid,
                    </if>
                    <if test="deptCode != null">dept_code,
                    <if test="opcode != null">opcode,
                    </if>
                    <if test="deptName != null">dept_name,
                    <if test="opdesc != null">opdesc,
                    </if>
                    <if test="delFlag != null">del_flag,
                    </if>
@@ -114,11 +114,11 @@
                    </if>
                    <if test="serviceType != null">#{serviceType},
                    </if>
                    <if test="deptId != null">#{deptId},
                    <if test="opid != null">#{opid},
                    </if>
                    <if test="deptCode != null">#{deptCode},
                    <if test="opcode != null">#{opcode},
                    </if>
                    <if test="deptName != null">#{deptName},
                    <if test="opdesc != null">#{opdesc},
                    </if>
                    <if test="delFlag != null">#{delFlag},
                    </if>
@@ -152,14 +152,14 @@
                    <if test="serviceType != null">service_type =
                        #{serviceType},
                    </if>
                    <if test="deptId != null">dept_id =
                        #{deptId},
                    <if test="opid != null">opid =
                        #{opid},
                    </if>
                    <if test="deptCode != null">dept_code =
                        #{deptCode},
                    <if test="opcode != null">opcode =
                        #{opcode},
                    </if>
                    <if test="deptName != null">dept_name =
                        #{deptName},
                    <if test="opdesc != null">opdesc =
                        #{opdesc},
                    </if>
                    <if test="delFlag != null">del_flag =
                        #{delFlag},