交通一体化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 != ''"><!-- 检索-处罚时间 --> <if test="pd.ACCIDENTDATE != null and pd.ACCIDENTDATE != ''"><!-- 检索-处罚时间 -->
and f.ACCIDENTDATE = #{pd.ACCIDENTDATE} and f.ACCIDENTDATE = #{pd.ACCIDENTDATE}
</if> </if>
ORDER BY OPERATTIME DESC
ORDER BY f.CREATETIME DESC ORDER BY f.CREATETIME DESC
</select> </select>

View File

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

View File

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

View File

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