md
This commit is contained in:
parent
1bfc1c4a75
commit
5af5dc231b
@ -17,7 +17,7 @@
|
||||
<result property="city" column="city" />
|
||||
<result property="county" column="county" />
|
||||
<result property="town" column="town" />
|
||||
<result property="isHinterland" column="is_ hinterland" />
|
||||
<result property="isHinterland" column="is_hinterland" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="tenantId" column="tenant_id" />
|
||||
<result property="delFlag" column="del_flag" />
|
||||
@ -30,7 +30,7 @@
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectEmisDestinationVo">
|
||||
select id, dest_code, dest_name, dest_name_en, status, country, site_code, site_name, province, city, county, town, is_ hinterland, remark, tenant_id, del_flag, create_by, create_site, create_time, update_by, update_site, update_time from emis_destination
|
||||
select id, dest_code, dest_name, dest_name_en, status, country, site_code, site_name, province, city, county, town, is_hinterland, remark, tenant_id, del_flag, create_by, create_site, create_time, update_by, update_site, update_time from emis_destination
|
||||
</sql>
|
||||
|
||||
<select id="selectEmisDestinationList" parameterType="EmisDestination" resultMap="EmisDestinationResult">
|
||||
@ -48,7 +48,7 @@
|
||||
<if test="city != null and city != ''"> and city like concat('%', #{city}, '%')</if>
|
||||
<if test="county != null and county != ''"> and county like concat('%', #{county}, '%')</if>
|
||||
<if test="town != null and town != ''"> and town like concat('%', #{town}, '%')</if>
|
||||
<if test="isHinterland != null "> and is_ hinterland = #{isHinterland}</if>
|
||||
<if test="isHinterland != null "> and is_hinterland = #{isHinterland}</if>
|
||||
<if test="remark != null and remark != ''"> and remark like concat('%', #{remark}, '%')</if>
|
||||
<if test="tenantId != null and tenantId != ''"> and tenant_id like concat('%', #{tenantId}, '%')</if>
|
||||
<if test="delFlag != null and delFlag != ''"> and del_flag like concat('%', #{delFlag}, '%')</if>
|
||||
@ -63,7 +63,7 @@
|
||||
</select>
|
||||
|
||||
<select id="selectEmisDestinationById" parameterType="Long" resultMap="EmisDestinationResult">
|
||||
select id, dest_code, dest_name, dest_name_en, status, country, site_code, site_name, province, city, county, town, is_ hinterland, remark, tenant_id, del_flag, create_by, create_site, create_time, update_by, update_site, update_time
|
||||
select id, dest_code, dest_name, dest_name_en, status, country, site_code, site_name, province, city, county, town, is_hinterland, remark, tenant_id, del_flag, create_by, create_site, create_time, update_by, update_site, update_time
|
||||
from emis_destination a
|
||||
where a.id = #{id}
|
||||
</select>
|
||||
@ -83,7 +83,7 @@
|
||||
<if test="city != null and city != ''">city,</if>
|
||||
<if test="county != null and county != ''">county,</if>
|
||||
<if test="town != null and town != ''">town,</if>
|
||||
<if test="isHinterland != null">is_ hinterland,</if>
|
||||
<if test="isHinterland != null">is_hinterland,</if>
|
||||
<if test="remark != null and remark != ''">remark,</if>
|
||||
<if test="tenantId != null and tenantId != ''">tenant_id,</if>
|
||||
<if test="delFlag != null and delFlag != ''">del_flag,</if>
|
||||
@ -134,7 +134,7 @@
|
||||
<if test="city != null and city != ''">city = #{city},</if>
|
||||
<if test="county != null and county != ''">county = #{county},</if>
|
||||
<if test="town != null and town != ''">town = #{town},</if>
|
||||
<if test="isHinterland != null">is_ hinterland = #{isHinterland},</if>
|
||||
<if test="isHinterland != null">is_hinterland = #{isHinterland},</if>
|
||||
<if test="remark != null and remark != ''">remark = #{remark},</if>
|
||||
<if test="tenantId != null and tenantId != ''">tenant_id = #{tenantId},</if>
|
||||
<if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user