|
@@ -510,7 +510,7 @@
|
|
|
|
|
|
|
|
<select id="goldSendListSize" resultType="int">
|
|
<select id="goldSendListSize" resultType="int">
|
|
|
select count(*)
|
|
select count(*)
|
|
|
- from ${dbName}_cutomer.c_gold_send d where d.yn = 0
|
|
|
|
|
|
|
+ from ${dbName}_customer.c_gold_send d where d.yn = 0
|
|
|
and ${ew.sqlSegment}
|
|
and ${ew.sqlSegment}
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
@@ -528,7 +528,7 @@
|
|
|
case when d.gold_type = 0 then '80-89周岁'
|
|
case when d.gold_type = 0 then '80-89周岁'
|
|
|
when d.gold_type = 1 then '90-99周岁'
|
|
when d.gold_type = 1 then '90-99周岁'
|
|
|
when d.gold_type = 2 then '100周岁以上' end as goldTypeStr
|
|
when d.gold_type = 2 then '100周岁以上' end as goldTypeStr
|
|
|
- from ${dbName}_cutomer.c_gold_send d
|
|
|
|
|
|
|
+ from ${dbName}_customer.c_gold_send d
|
|
|
where d.yn = 0
|
|
where d.yn = 0
|
|
|
and d.id > #{start}
|
|
and d.id > #{start}
|
|
|
and ${ew.sqlSegment}
|
|
and ${ew.sqlSegment}
|