md
This commit is contained in:
parent
d64d9b9c20
commit
e6e6604116
@ -51,7 +51,17 @@
|
||||
|
||||
<!-- 获取上一站点或下一站点-->
|
||||
<select id="selectPreOrNextSiteList" parameterType="EmisTmsTransPlanDtl" resultMap="EmisTmsTransPlanDtlResult">
|
||||
select distinct start_site,dest_site from emis_tms_trans_plan_dtl
|
||||
select
|
||||
distinct
|
||||
<if test="startSite != null and startSite != ''">
|
||||
#{startSite} as start_site, dest_site
|
||||
</if>
|
||||
<if test="destSite != null and destSite != ''">
|
||||
start_site, #{destSite} as dest_site
|
||||
</if>
|
||||
|
||||
|
||||
from emis_tms_trans_plan_dtl
|
||||
<where>
|
||||
del_flag='0'
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
@ -75,6 +85,8 @@
|
||||
order by order_num asc
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
<select id="selectEmisTmsTransPlanDtlList" parameterType="EmisTmsTransPlanDtl" resultMap="EmisTmsTransPlanDtlResult">
|
||||
<include refid="selectEmisTmsTransPlanDtlVo"/>
|
||||
<where>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user