Browse Source

国产化修改

qin 9 tháng trước cách đây
mục cha
commit
e032c2e4da
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      src/main/resources/mapper/statistics/OrderMapper.xml

+ 3 - 3
src/main/resources/mapper/statistics/OrderMapper.xml

@@ -198,7 +198,7 @@
     </select>
 
     <select id="getAllCategory" resultType="com.poteviohealth.cgp.common.integrated.ListParams">
-        select id,name,parent_id as `key` from ${dbName}_common.f_category where yn = 0
+        select id,name,parent_id as key from ${dbName}_common.f_category where yn = 0
     </select>
 
     <select id="integralTransactionList" resultType="com.poteviohealth.cgp.statistics.model.outdto.IntegralTransaction">
@@ -440,7 +440,7 @@
         <if test="queryParam.stationIds.size()>0">
             left join (SELECT d.id,
             SUBSTRING_INDEX( SUBSTRING_INDEX( d.station_ids, ',', b.id + 1 ), ',', -1 ) AS stationId
-            FROM ${dbName}_finance.c_card_acc_detail d INNER JOIN ${dbName}_finance.t_number b ON b.id &lt;(
+            FROM ${dbName}_finance.c_card_acc_detail d INNER JOIN t_number b ON b.id &lt;(
             LENGTH( d.station_ids ) - LENGTH( REPLACE(d.station_ids,',','') )  +  1
             )
             where d.yn = 0 and d.type = 1 and d.station_ids != '' and  ${ew.sqlSegment}  ) a
@@ -473,7 +473,7 @@
         <if test="queryParam.stationIds.size()>0">
             left join (SELECT d.id,
             SUBSTRING_INDEX( SUBSTRING_INDEX( d.station_ids, ',', b.id + 1 ), ',', -1 ) AS stationId
-            FROM ${dbName}_finance.c_card_acc_detail d INNER JOIN ${dbName}_finance.t_number b ON b.id &lt;(
+            FROM ${dbName}_finance.c_card_acc_detail d INNER JOIN t_number b ON b.id &lt;(
             LENGTH( d.station_ids ) - LENGTH( REPLACE(d.station_ids,',','') )  +  1
             )
             where d.yn = 0 and d.type = 1 and d.station_ids != '' and  ${ew.sqlSegment}  ) a