陈昶聿
4 天以前 be738537e87f8e71f22a0b284904ba063c7f8fe3
smartor/src/main/resources/mapper/smartor/ServiceOutPathMapper.xml
@@ -36,7 +36,9 @@
    <select id="selectServiceOutPathList" parameterType="com.smartor.domain.ServiceOutPath"
            resultMap="ServiceOutPathResult">
        <include refid="selectServiceOutPathVo"/>
        <where>
        where 1=1
            and del_flag = 0
            and orgid is null
            <if test="param1 != null ">
                and param1 = #{param1}
            </if>
@@ -52,14 +54,10 @@
            <if test="createTime != null">
                and create_time = #{createTime}
            </if>
            <if test="param5 != null  and param5 != ''">
                and param5 = #{param5}
            </if>
            <if test="radix != null  and radix != ''">
                and radix=#{radix}
            </if>
        </where>
    </select>
    <select id="selectServiceOutPathById" parameterType="Long"
@@ -152,6 +150,9 @@
            #{id}
        </foreach>
    </update>
    <select id="selectAutoId" resultType="Integer" >
        SELECT AUTO_INCREMENT FROM  INFORMATION_SCHEMA.TABLES
         WHERE  TABLE_NAME  = 'service_out_path'  AND table_schema = DATABASE() and onorgid
    </select>
</mapper>