This commit is contained in:
linfso 2024-05-30 12:06:27 +08:00
parent cd3ae1ae1e
commit d64d9b9c20

View File

@ -51,8 +51,7 @@
<!-- 获取上一站点或下一站点-->
<select id="selectPreOrNextSiteList" parameterType="EmisTmsTransPlanDtl" resultMap="EmisTmsTransPlanDtlResult">
select distinct start_site , dest_site
from emis_site
select distinct start_site,dest_site from emis_tms_trans_plan_dtl
<where>
del_flag='0'
<if test="id != null "> and id = #{id}</if>
@ -64,7 +63,7 @@
<if test="estCostDay != null "> and est_cost_day like concat('%', #{estCostDay}, '%')</if>
<if test="orderNum != null "> and order_num = #{orderNum}</if>
<if test="status != null and status != ''"> and status=#{status}</if>
<if test="delFlag != null and delFlag != ''"> and del_flag like concat('%', #{delFlag}, '%')</if>
<if test="delFlag != null and delFlag != ''"> and del_flag=#{delFlag}</if>
<if test="createBy != null and createBy != ''"> and create_by like concat('%', #{createBy}, '%')</if>
<if test="createTime != null "> and create_time = #{createTime}</if>
<if test="updateBy != null and updateBy != ''"> and update_by like concat('%', #{updateBy}, '%')</if>