liusheng
2 天以前 da026a34bcc97b2eb49607a3b02d94d8f683f997
smartor/src/main/resources/mapper/smartor/ServiceSubtaskPreachformMapper.xml
@@ -42,8 +42,8 @@
    <select id="selectServiceSubtaskPreachformList" parameterType="com.smartor.domain.ServiceSubtaskPreachform"
            resultMap="ServiceSubtaskPreachformResult">
        <include refid="selectServiceSubtaskPreachformVo"/>
        <where>
            del_flag=0
        where 1=1
            and del_flag = 0
            <if test="subid != null ">
                and subid = #{subid}
            </if>
@@ -65,7 +65,6 @@
            <if test="compensateTime != null ">
                and compensate_time = #{compensateTime}
            </if>
        </where>
    </select>
    <select id="selectServiceSubtaskPreachformById" parameterType="Long"
@@ -229,23 +228,22 @@
                #{compensateTime},
            </if>
        </trim>
        <where>
            <if test="subid != null">subid =
        where 1=1
            <if test="subid != null">and subid =
                #{subid},
            </if>
            <if test="taskid != null">taskid =
            <if test="taskid != null">and taskid =
                #{taskid},
            </if>
            <if test="preachform != null">preachform =
            <if test="preachform != null">and preachform =
                #{preachform},
            </if>
            <if test="remark != null">remark =
            <if test="remark != null">and remark =
                #{remark},
            </if>
            <if test="orgid != null">orgid =
            <if test="orgid != null">and orgid =
                #{orgid},
            </if>
        </where>
    </update>