diff --git a/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityAccidentInvestigationMapper.xml b/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityAccidentInvestigationMapper.xml index ae400f2..523ee74 100644 --- a/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityAccidentInvestigationMapper.xml +++ b/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityAccidentInvestigationMapper.xml @@ -349,7 +349,6 @@ and f.ACCIDENTDATE = #{pd.ACCIDENTDATE} - ORDER BY OPERATTIME DESC ORDER BY f.CREATETIME DESC diff --git a/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityCustomerManagementMapper.xml b/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityCustomerManagementMapper.xml index 8bacaf9..999f8a1 100644 --- a/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityCustomerManagementMapper.xml +++ b/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityCustomerManagementMapper.xml @@ -109,7 +109,7 @@ and f.CUSTOMERTYPE = #{pd.CUSTOMERTYPE} - and f.TRANSPORTATIONCOMPANY = #{pd.TRANSPORTATIONCOMPANY} + and i.CORP_NAME = #{pd.TRANSPORTATIONCOMPANY} diff --git a/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityLocationManagementMapper.xml b/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityLocationManagementMapper.xml index 2f0714b..027ed8b 100644 --- a/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityLocationManagementMapper.xml +++ b/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityLocationManagementMapper.xml @@ -119,7 +119,7 @@ and f.LOCATIONTYPE = #{pd.LOCATIONTYPE} - and f.TRANSPORTATIONCOMPANY = #{pd.TRANSPORTATIONCOMPANY} + and i.CORP_NAME = #{pd.TRANSPORTATIONCOMPANY} diff --git a/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityWaybillRegistrationMapper.xml b/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityWaybillRegistrationMapper.xml index 3adef60..42e4938 100644 --- a/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityWaybillRegistrationMapper.xml +++ b/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityWaybillRegistrationMapper.xml @@ -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 f left join bus_corp_info i on f.TRANSPORTATIONCOMPANY = i.CORPINFO_ID