|
|
@@ -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 <(
|
|
|
+ FROM ${dbName}_finance.c_card_acc_detail d INNER JOIN t_number b ON b.id <(
|
|
|
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 <(
|
|
|
+ FROM ${dbName}_finance.c_card_acc_detail d INNER JOIN t_number b ON b.id <(
|
|
|
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
|