Wechat HTML5 改为In-APP H5

master
dalong306 3 years ago
parent 99bd99e16b
commit 1d83d816f6

@ -241,7 +241,7 @@ public class DashboardServiceImpl implements DashboardService,DashboardAnalysisT
@Override @Override
public List<JSONObject> getTradeAnalysisInTime(JSONObject params) { public List<JSONObject> getTradeAnalysisInTime(JSONObject params) {
//"Online API", "QR Code", "Retail API", "Retail In-Store", "WeChat HTML5" //"Online API", "QR Code", "Retail API", "Retail In-Store", "In-APP H5"
List<JSONObject> analysis = new ArrayList<>(); List<JSONObject> analysis = new ArrayList<>();
params.put("trade_type", "Online API"); params.put("trade_type", "Online API");
List<JSONObject> onlineApi_ordedrs = transactionAnalysisMapper.getOrdersByGateway(params); List<JSONObject> onlineApi_ordedrs = transactionAnalysisMapper.getOrdersByGateway(params);
@ -269,10 +269,10 @@ public class DashboardServiceImpl implements DashboardService,DashboardAnalysisT
if (!retailInStore_orders.isEmpty()) { if (!retailInStore_orders.isEmpty()) {
analysis.add(retailInStore); analysis.add(retailInStore);
} }
params.put("trade_type", "WeChat HTML5"); params.put("trade_type", "In-APP H5");
List<JSONObject> wechatHtml5_orders = transactionAnalysisMapper.getOrdersByGateway(params); List<JSONObject> wechatHtml5_orders = transactionAnalysisMapper.getOrdersByGateway(params);
JSONObject wechatHtml5 = new JSONObject(); JSONObject wechatHtml5 = new JSONObject();
wechatHtml5.put("name", "WeChat HTML5"); wechatHtml5.put("name", "In-APP H5");
wechatHtml5.put("data", wechatHtml5_orders); wechatHtml5.put("data", wechatHtml5_orders);
analysis.add(wechatHtml5); analysis.add(wechatHtml5);
return analysis; return analysis;

@ -245,7 +245,7 @@
WHEN 3 WHEN 3
THEN 'Online API' THEN 'Online API'
WHEN 4 WHEN 4
THEN 'WeChat HTML5' THEN 'In-APP H5'
WHEN 5 WHEN 5
THEN 'Retail API' THEN 'Retail API'
WHEN 6 WHEN 6
@ -519,7 +519,7 @@
WHEN 3 WHEN 3
THEN 'Online API' THEN 'Online API'
WHEN 4 WHEN 4
THEN 'WeChat HTML5' THEN 'In-APP H5'
WHEN 5 WHEN 5
THEN 'Retail API' THEN 'Retail API'
WHEN 6 WHEN 6
@ -588,7 +588,7 @@
<if test="trade_type=='Online API'"> <if test="trade_type=='Online API'">
and o.gateway=3 and o.gateway=3
</if> </if>
<if test="trade_type=='WeChat HTML5'"> <if test="trade_type=='In-APP H5'">
and o.gateway=4 and o.gateway=4
</if> </if>
<if test="trade_type=='Retail API'"> <if test="trade_type=='Retail API'">
@ -658,7 +658,7 @@
<!--<if test="trade_type=='Online API'">--> <!--<if test="trade_type=='Online API'">-->
<!--and o.gateway=3--> <!--and o.gateway=3-->
<!--</if>--> <!--</if>-->
<!--<if test="trade_type=='WeChat HTML5'">--> <!--<if test="trade_type=='In-APP H5'">-->
<!--and o.gateway=4--> <!--and o.gateway=4-->
<!--</if>--> <!--</if>-->
<!--<if test="trade_type=='Retail API'">--> <!--<if test="trade_type=='Retail API'">-->
@ -690,7 +690,7 @@
<if test="trade_type=='Online API'"> <if test="trade_type=='Online API'">
and po.gateway=3 and po.gateway=3
</if> </if>
<if test="trade_type=='WeChat HTML5'"> <if test="trade_type=='In-APP H5'">
and po.gateway=4 and po.gateway=4
</if> </if>
<if test="trade_type=='Mobile H5'"> <if test="trade_type=='Mobile H5'">

@ -78,7 +78,7 @@
WHEN 3 WHEN 3
THEN 'Online API' THEN 'Online API'
WHEN 4 WHEN 4
THEN 'WeChat HTML5' THEN 'In-APP H5'
WHEN 5 WHEN 5
THEN 'Retail API' THEN 'Retail API'
WHEN 6 WHEN 6

@ -48,7 +48,7 @@
WHEN 3 WHEN 3
THEN 'Online API' THEN 'Online API'
WHEN 4 WHEN 4
THEN 'WeChat HTML5' THEN 'In-APP H5'
WHEN 5 WHEN 5
THEN 'Retail API' THEN 'Retail API'
WHEN 6 WHEN 6
@ -202,7 +202,7 @@
WHEN 3 WHEN 3
THEN 'Online API' THEN 'Online API'
WHEN 4 WHEN 4
THEN 'WeChat HTML5' THEN 'In-APP H5'
WHEN 5 WHEN 5
THEN 'Retail API' THEN 'Retail API'
WHEN 6 WHEN 6

@ -139,7 +139,7 @@ define(['angular', 'static/commons/commons', 'static/commons/angular-ueditor', '
orient: 'vertical', orient: 'vertical',
y: '450px', y: '450px',
left: 'right', left: 'right',
//data: ["Online API", "QR Code", "Retail API", "Retail In-Store", "WeChat HTML5"] //data: ["Online API", "QR Code", "Retail API", "Retail In-Store", "In-APP H5"]
data: legend data: legend
} }
}, },

@ -122,7 +122,7 @@ define(['angular', 'uiBootstrap', 'uiRouter', 'angularEcharts','./org/analysis-o
orient: 'vertical', orient: 'vertical',
y: '450px', y: '450px',
left: 'right', left: 'right',
//data: ["Online API", "QR Code", "Retail API", "Retail In-Store", "WeChat HTML5"] //data: ["Online API", "QR Code", "Retail API", "Retail In-Store", "In-APP H5"]
data: legend data: legend
} }
}, },

@ -255,7 +255,7 @@ define(['angular', 'uiBootstrap', 'uiRouter', 'angularEcharts','./transaction/an
orient: 'vertical', orient: 'vertical',
y: '450px', y: '450px',
left: 'right', left: 'right',
//data: ["Online API", "QR Code", "Retail API", "Retail In-Store", "WeChat HTML5"] //data: ["Online API", "QR Code", "Retail API", "Retail In-Store", "In-APP H5"]
data: legend data: legend
} }
}, },

@ -310,7 +310,7 @@ define(['angular', 'uiBootstrap', 'uiRouter', 'angularEcharts','echarts'], funct
orient: 'vertical', orient: 'vertical',
y: '450px', y: '450px',
left: 'right', left: 'right',
//data: ["Online API", "QR Code", "Retail API", "Retail In-Store", "WeChat HTML5"] //data: ["Online API", "QR Code", "Retail API", "Retail In-Store", "In-APP H5"]
data: legend data: legend
} }
}, },

@ -564,7 +564,7 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
case '3': case '3':
return 'Online API'; return 'Online API';
case '4': case '4':
return 'WeChat HTML5'; return 'In-APP H5';
case '5': case '5':
return 'Retail API'; return 'Retail API';
case '6': case '6':

@ -447,7 +447,7 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
case '3': case '3':
return '线上网关'; return '线上网关';
case '4': case '4':
return 'WeChat HTML5'; return 'In-APP H5';
case '5': case '5':
return '线下网关(C端付款码)'; return '线下网关(C端付款码)';
case '6': case '6':

@ -468,7 +468,7 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
case '3': case '3':
return '线上网关'; return '线上网关';
case '4': case '4':
return 'WeChat HTML5'; return 'In-APP H5';
case '5': case '5':
return '线下网关(C端付款码)'; return '线下网关(C端付款码)';
case '6': case '6':

@ -610,7 +610,7 @@ define(['angular', 'uiRouter', 'jstz', 'uiBootstrap', 'angularEcharts'], functio
orient: 'vertical', orient: 'vertical',
y: '450px', y: '450px',
left: 'right', left: 'right',
//data: ["Online API", "QR Code", "Retail API", "Retail In-Store", "WeChat HTML5"] //data: ["Online API", "QR Code", "Retail API", "Retail In-Store", "In-APP H5"]
data: legend data: legend
} }
}, },

@ -175,7 +175,7 @@ define(['angular','decimal', 'uiRouter', 'uiBootstrap', 'angularEcharts'], funct
legend: { legend: {
data: ['Total Amount', 'Total Count', 'Retail In-Store Amount', 'Retail In-Store Count', 'Retail API Amount', 'Retail API Count', data: ['Total Amount', 'Total Count', 'Retail In-Store Amount', 'Retail In-Store Count', 'Retail API Amount', 'Retail API Count',
'QR Code Amount', 'QR Code Count', 'QR Code Amount', 'QR Code Count',
'Online API Amount', 'Online API Count', 'WeChat HTML5 Amount', 'WeChat HTML5 Count'], 'Online API Amount', 'Online API Count', 'In-APP H5 Amount', 'In-APP H5 Count'],
bottom: 0, bottom: 0,
height: '15%', height: '15%',
width: '80%', width: '80%',
@ -295,7 +295,7 @@ define(['angular','decimal', 'uiRouter', 'uiBootstrap', 'angularEcharts'], funct
}, },
{ {
basic: { basic: {
name: 'WeChat HTML5 Amount', name: 'In-APP H5 Amount',
type: 'line', type: 'line',
symbol: 'triangle', symbol: 'triangle',
areaStyle: {normal: {}}, areaStyle: {normal: {}},
@ -305,7 +305,7 @@ define(['angular','decimal', 'uiRouter', 'uiBootstrap', 'angularEcharts'], funct
}, },
{ {
basic: { basic: {
name: 'WeChat HTML5 Count', name: 'In-APP H5 Count',
type: 'line', type: 'line',
yAxisIndex: 1 yAxisIndex: 1
}, },

@ -92,7 +92,7 @@
<a role="button" ng-class="{'bg-primary':gatewaySelected([3])}" <a role="button" ng-class="{'bg-primary':gatewaySelected([3])}"
ng-click="params.gateway=[3];loadTradeLogs(1)">Online API</a> | ng-click="params.gateway=[3];loadTradeLogs(1)">Online API</a> |
<a role="button" ng-class="{'bg-primary':gatewaySelected([4])}" <a role="button" ng-class="{'bg-primary':gatewaySelected([4])}"
ng-click="params.gateway=[4];loadTradeLogs(1)">WeChat HTML5</a> | ng-click="params.gateway=[4];loadTradeLogs(1)">In-APP H5</a> |
<a role="button" ng-class="{'bg-primary':gatewaySelected([8])}" <a role="button" ng-class="{'bg-primary':gatewaySelected([8])}"
ng-click="params.gateway=[8];loadTradeLogs(1)">Mobile H5</a> | ng-click="params.gateway=[8];loadTradeLogs(1)">Mobile H5</a> |
<a role="button" ng-class="{'bg-primary':gatewaySelected([9])}" <a role="button" ng-class="{'bg-primary':gatewaySelected([9])}"

@ -245,7 +245,7 @@
<a role="button" ng-class="{'bg-primary':gatewaySelected([3])}" <a role="button" ng-class="{'bg-primary':gatewaySelected([3])}"
ng-click="params.gateway=[3];loadTradeLogs(1)">Online API</a> | ng-click="params.gateway=[3];loadTradeLogs(1)">Online API</a> |
<a role="button" ng-class="{'bg-primary':gatewaySelected([4])}" <a role="button" ng-class="{'bg-primary':gatewaySelected([4])}"
ng-click="params.gateway=[4];loadTradeLogs(1)">WeChat HTML5</a> | ng-click="params.gateway=[4];loadTradeLogs(1)">In-APP H5</a> |
<a role="button" ng-class="{'bg-primary':gatewaySelected([8])}" <a role="button" ng-class="{'bg-primary':gatewaySelected([8])}"
ng-click="params.gateway=[8];loadTradeLogs(1)">Mobile H5</a> | ng-click="params.gateway=[8];loadTradeLogs(1)">Mobile H5</a> |
<a role="button" ng-class="{'bg-primary':gatewaySelected([9])}" <a role="button" ng-class="{'bg-primary':gatewaySelected([9])}"

@ -235,7 +235,7 @@
<a role="button" ng-class="{'bg-primary':gatewaySelected([3])}" <a role="button" ng-class="{'bg-primary':gatewaySelected([3])}"
ng-click="params.gateway=[3];loadTradeLogs(1)">Online API</a> | ng-click="params.gateway=[3];loadTradeLogs(1)">Online API</a> |
<a role="button" ng-class="{'bg-primary':gatewaySelected([4])}" <a role="button" ng-class="{'bg-primary':gatewaySelected([4])}"
ng-click="params.gateway=[4];loadTradeLogs(1)">WeChat HTML5</a> | ng-click="params.gateway=[4];loadTradeLogs(1)">In-APP H5</a> |
<a role="button" ng-class="{'bg-primary':gatewaySelected([8])}" <a role="button" ng-class="{'bg-primary':gatewaySelected([8])}"
ng-click="params.gateway=[8];loadTradeLogs(1)">Mobile H5</a> | ng-click="params.gateway=[8];loadTradeLogs(1)">Mobile H5</a> |
<a role="button" ng-class="{'bg-primary':gatewaySelected([9])}" <a role="button" ng-class="{'bg-primary':gatewaySelected([9])}"

Loading…
Cancel
Save