wuxw
2022-07-19 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54
java110-db/src/main/resources/mapper/oa/OaWorkflowFormServiceDaoImplMapper.xml
@@ -175,20 +175,29 @@
        <foreach collection="columns" item="item" separator=",">
            ${item}
        </foreach>
        ,id,create_user_id,create_user_name,state
        ,id,create_user_id,create_user_name,state,store_id
        )values(
        <foreach collection="values" item="valueItem" separator=",">
            #{valueItem}
        </foreach>
        ,#{id},#{state},#{createUserId},#{createUserName}
        ,#{id},#{createUserId},#{createUserName},#{state},#{storeId}
        )
    </insert>
    <!-- 修改信息 -->
    <update id="updateOaWorkflowFormData" parameterType="Map">
        update set ${tableName} t set t.state = #{state}
        update ${tableName} t set t.state = #{state}
        where t.id = #{id}
    </update>
    <!-- 修改信息 -->
    <update id="updateOaWorkflowFormDataAll" parameterType="Map">
        update ${tableName} set
            <foreach collection="columns" item="item" separator=",">
                ${item}
            </foreach>
        where id = #{id}
    </update>
</mapper>