| | |
| | | <result property="radix" column="radix"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="url" column="url"/> |
| | | <result property="wardCode" column="ward_code"/> |
| | | <result property="wardName" column="ward_name"/> |
| | | <result property="deptCode" column="dept_code"/> |
| | | <result property="deptName" column="dept_name"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceOutPathVo"> |
| | |
| | | radix, |
| | | guid, |
| | | orgid, |
| | | url, |
| | | ward_code, |
| | | ward_name, |
| | | dept_code, |
| | | dept_name, |
| | | del_flag |
| | | from service_out_path |
| | | </sql> |
| | |
| | | <include refid="selectServiceOutPathVo"/> |
| | | where 1=1 |
| | | and del_flag = 0 |
| | | and orgid is null |
| | | <if test="param1 != null "> |
| | | and param1 = #{param1} |
| | | </if> |
| | |
| | | <if test="radix != null and radix != ''"> |
| | | and radix=#{radix} |
| | | </if> |
| | | <if test="url != null and url != ''"> |
| | | and url=#{url} |
| | | </if> |
| | | <if test="wardCode != null and wardCode != ''"> |
| | | and ward_code=#{wardCode} |
| | | </if> |
| | | |
| | | <if test="wardName != null and wardName != ''"> |
| | | and ward_name=#{wardName} |
| | | </if> |
| | | <if test="deptCode != null and deptCode != ''"> |
| | | and dept_code=#{deptCode} |
| | | </if> |
| | | <if test="deptName != null and deptName != ''"> |
| | | and dept_name=#{deptName} |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectServiceOutPathById" parameterType="Long" |
| | |
| | | </if> |
| | | <if test="radix != null">radix, |
| | | </if> |
| | | <if test="orgid != null">orgid, |
| | | </if> |
| | | <if test="createTime != null">create_time, |
| | | </if> |
| | | <if test="url != null">url, |
| | | </if> |
| | | <if test="wardCode != null">ward_code, |
| | | </if> |
| | | <if test="wardName != null">ward_name, |
| | | </if> |
| | | <if test="deptCode != null">dept_code, |
| | | </if> |
| | | <if test="deptName != null">dept_name, |
| | | </if> |
| | | |
| | | </trim> |
| | |
| | | </if> |
| | | <if test="radix != null">#{radix}, |
| | | </if> |
| | | <if test="orgid != null">#{orgid}, |
| | | </if> |
| | | <if test="createTime != null">#{createTime}, |
| | | </if> |
| | | <if test="url != null">#{url}, |
| | | </if> |
| | | <if test="wardCode != null">#{wardCode}, |
| | | </if> |
| | | <if test="wardName != null">#{wardName}, |
| | | </if> |
| | | <if test="deptCode != null">#{deptCode}, |
| | | </if> |
| | | <if test="deptName != null">#{deptName}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | |
| | | <if test="orgid != null">orgid = |
| | | #{orgid}, |
| | | </if> |
| | | <if test="updateTime != null">update_time = |
| | | #{updateTime}, |
| | | </if> |
| | | <if test="url != null">url = |
| | | #{url}, |
| | | </if> |
| | | <if test="wardCode != null">ward_code = |
| | | #{wardCode}, |
| | | </if> |
| | | <if test="wardName != null">ward_name = |
| | | #{wardName}, |
| | | </if> |
| | | <if test="deptCode != null">dept_code = |
| | | #{deptCode}, |
| | | </if> |
| | | <if test="deptName != null">dept_name = |
| | | #{deptName}, |
| | | </if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |