ntc_pz_report配置命中总量业务查询语句中不取report_time列
This commit is contained in:
@@ -58,16 +58,33 @@
|
|||||||
resultMap="NtcPzReportMap">
|
resultMap="NtcPzReportMap">
|
||||||
SELECT
|
SELECT
|
||||||
<choose>
|
<choose>
|
||||||
<when test="page !=null and page.fields != null and page.fields != ''">
|
<when test="searchBusinessType !=null and searchBusinessType != '' and searchBusinessType == 1 ">
|
||||||
${page.fields}
|
<choose>
|
||||||
|
<when test="page !=null and page.fields != null and page.fields != ''">
|
||||||
|
${page.fields}
|
||||||
|
</when>
|
||||||
|
<otherwise>
|
||||||
|
CFG_ID,SERVICE,SUM
|
||||||
|
</otherwise>
|
||||||
|
</choose>
|
||||||
|
FROM (SELECT CFG_ID,SERVICE,SUM(SUM) SUM
|
||||||
|
FROM
|
||||||
</when>
|
</when>
|
||||||
<otherwise>
|
<otherwise>
|
||||||
CFG_ID,
|
<choose>
|
||||||
<include refid="commonPorperty" />
|
<when test="page !=null and page.fields != null and page.fields != ''">
|
||||||
|
${page.fields}
|
||||||
|
</when>
|
||||||
|
<otherwise>
|
||||||
|
CFG_ID,
|
||||||
|
<include refid="commonPorperty" />
|
||||||
|
</otherwise>
|
||||||
|
</choose>
|
||||||
|
FROM (SELECT CFG_ID, SERVICE, SUM(SUM) SUM ,REPORT_TIME
|
||||||
|
FROM
|
||||||
</otherwise>
|
</otherwise>
|
||||||
</choose>
|
</choose>
|
||||||
FROM (SELECT CFG_ID, SERVICE, SUM(SUM) SUM ,REPORT_TIME
|
|
||||||
FROM
|
|
||||||
<choose>
|
<choose>
|
||||||
<when test="searchBusinessType !=null and searchBusinessType != '' and searchBusinessType == 3 ">
|
<when test="searchBusinessType !=null and searchBusinessType != '' and searchBusinessType == 3 ">
|
||||||
NTC_PZ_STAT_HOUR
|
NTC_PZ_STAT_HOUR
|
||||||
|
|||||||
Reference in New Issue
Block a user