master
wangning 7 years ago
commit 74e955bca4

@ -74,8 +74,8 @@ public class PartnerCardDashboardController {
} }
@RequestMapping("/{client_id}/settlement_logs/{detailId}") @RequestMapping("/{client_id}/settlement_logs/{detailId}")
public JSONObject listClearingTransactions(@PathVariable int client_id, @PathVariable String detailId) { public JSONObject listClearingTransactions(@PathVariable int client_id, @PathVariable int detailId,@ModelAttribute(CommonConsts.MANAGER_STATUS) JSONObject manager) {
return cleanService.getCleanLogTransactions(client_id, detailId); return cleanService.getCleanLogTransactions(detailId, manager);
} }

@ -257,6 +257,7 @@ public class CleanServiceImpl implements CleanService, ManagerTodoNoticeProvider
channelsObj.put(channel.getString("channel"), channel); channelsObj.put(channel.getString("channel"), channel);
} }
cleanLog.put("channels", channelsObj); cleanLog.put("channels", channelsObj);
cleanLog.put("client_moniker", client.getString("client_moniker"));
return cleanLog; return cleanLog;
} }

@ -784,6 +784,10 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
if (!$scope.partner) { if (!$scope.partner) {
return; return;
} }
if(!$state.is('partners.detail')){
$scope.init.wechat_compliance = false;
return;
}
if (!$scope.init.wechat_compliance) { if (!$scope.init.wechat_compliance) {
$scope.init.wechat_compliance = true; $scope.init.wechat_compliance = true;
return; return;
@ -802,6 +806,10 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
if (!$scope.partner) { if (!$scope.partner) {
return; return;
} }
if(!$state.is('partners.detail')){
$scope.init.local_merchant = false;
return;
}
if (!$scope.init.local_merchant) { if (!$scope.init.local_merchant) {
$scope.init.local_merchant = true; $scope.init.local_merchant = true;
return; return;

Loading…
Cancel
Save