| | |
| | | <result property="param2" column="param2"/> |
| | | <result property="param3" column="param3"/> |
| | | <result property="param5" column="param5"/> |
| | | <result property="param6" column="param6"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | |
| | | param2, |
| | | param3, |
| | | param5, |
| | | param6, |
| | | create_time, |
| | | update_time, |
| | | radix, |
| | |
| | | resultMap="ServiceOutPathResult"> |
| | | <include refid="selectServiceOutPathVo"/> |
| | | where 1=1 |
| | | and del_flag = 0 |
| | | and orgid is null |
| | | <if test="param1 != null "> |
| | | and param1 = #{param1} |
| | | </if> |
| | | <if test="param2 != null "> |
| | | and param2 = #{param2} |
| | | </if> |
| | | <if test="param3 != null and param3 != ''"> |
| | | and param3 = #{param3} |
| | | </if> |
| | | <if test="param5 != null and param5 != ''"> |
| | | and param5 = #{param5} |
| | | </if> |
| | | <if test="createTime != null"> |
| | | and create_time = #{createTime} |
| | | </if> |
| | | <if test="radix != null and radix != ''"> |
| | | and radix=#{radix} |
| | | </if> |
| | | and del_flag = 0 |
| | | and orgid is null |
| | | <if test="param1 != null "> |
| | | and param1 = #{param1} |
| | | </if> |
| | | <if test="param2 != null "> |
| | | and param2 = #{param2} |
| | | </if> |
| | | <if test="param3 != null and param3 != ''"> |
| | | and param3 = #{param3} |
| | | </if> |
| | | <if test="param5 != null and param5 != ''"> |
| | | and param5 = #{param5} |
| | | </if> |
| | | <if test="param6 != null and param6 != ''"> |
| | | and param6 = #{param6} |
| | | </if> |
| | | <if test="createTime != null"> |
| | | and create_time = #{createTime} |
| | | </if> |
| | | <if test="radix != null and radix != ''"> |
| | | and radix=#{radix} |
| | | </if> |
| | | |
| | | </select> |
| | | |
| | |
| | | <if test="param5 != null">param5 = |
| | | #{param5}, |
| | | </if> |
| | | <if test="param6 != null">param6 = |
| | | #{param6}, |
| | | </if> |
| | | <if test="radix != null">radix = |
| | | #{radix}, |
| | | </if> |
| | |
| | | #{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 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> |