陈昶聿
3 天以前 ec4be3ab73ccfcdc57a019ac146bd3147133b87d
smartor/src/main/resources/mapper/smartor/ServiceSubtaskPreachformMapper.xml
@@ -230,19 +230,19 @@
        </trim>
        where 1=1
            <if test="subid != null">and subid =
                #{subid},
                #{subid}
            </if>
            <if test="taskid != null">and taskid =
                #{taskid},
                #{taskid}
            </if>
            <if test="preachform != null">and preachform =
                #{preachform},
                #{preachform}
            </if>
            <if test="remark != null">and remark =
                #{remark},
                #{remark}
            </if>
            <if test="orgid != null">and orgid =
                #{orgid},
                #{orgid}
            </if>
    </update>
@@ -274,5 +274,16 @@
        </foreach>
    </update>
    <select id="selectBySubtask" parameterType="com.smartor.domain.ServiceSubtask" resultMap="ServiceSubtaskPreachformResult">
        <include refid="selectServiceSubtaskPreachformVo"/>
        WHERE del_flag = 0
        <!-- 其他条件 -->
        <if test="taskid != null">
            AND taskid = #{taskid}
        </if>
        <if test="orgid != null and orgid != ''">
            AND orgid = #{orgid}
        </if>
    </select>
</mapper>