交通一体化bug优化

dev
WenShiJun 2024-03-29 08:38:22 +08:00
parent 8f80812d53
commit 78e3a7aa32
4 changed files with 4 additions and 5 deletions

View File

@ -349,7 +349,6 @@
<if test="pd.ACCIDENTDATE != null and pd.ACCIDENTDATE != ''"><!-- 检索-处罚时间 -->
and f.ACCIDENTDATE = #{pd.ACCIDENTDATE}
</if>
ORDER BY OPERATTIME DESC
ORDER BY f.CREATETIME DESC
</select>

View File

@ -109,7 +109,7 @@
and f.CUSTOMERTYPE = #{pd.CUSTOMERTYPE}
</if>
<if test="pd.TRANSPORTATIONCOMPANY != null and pd.TRANSPORTATIONCOMPANY != ''"><!-- 关键词检索-运输企业 -->
and f.TRANSPORTATIONCOMPANY = #{pd.TRANSPORTATIONCOMPANY}
and i.CORP_NAME = #{pd.TRANSPORTATIONCOMPANY}
</if>
</select>
</mapper>

View File

@ -119,7 +119,7 @@
and f.LOCATIONTYPE = #{pd.LOCATIONTYPE}
</if>
<if test="pd.TRANSPORTATIONCOMPANY != null and pd.TRANSPORTATIONCOMPANY != ''"><!-- 关键词检索-运输企业 -->
and f.TRANSPORTATIONCOMPANY = #{pd.TRANSPORTATIONCOMPANY}
and i.CORP_NAME = #{pd.TRANSPORTATIONCOMPANY}
</if>
</select>
</mapper>

View File

@ -163,8 +163,8 @@
b2.LOCATIONNAME AS DESTINATION_NAME,
c.CUSTOMERNAME AS CLIENT_NAME,
c2.CUSTOMERNAME AS CONFIRMER_NAME,
t.OPERATTIME as STARTTIME,
p.OPERATTIME as STOPTIME
t.OPERATTIME AS STARTTIME,
p.OPERATTIME AS STOPTIME
from
<include refid="tableName"></include> f
left join bus_corp_info i on f.TRANSPORTATIONCOMPANY = i.CORPINFO_ID