|
|
@ -16,6 +16,7 @@ import au.com.royalpay.payment.manage.merchants.beans.ClientUpdateInfo;
|
|
|
|
import au.com.royalpay.payment.manage.riskbusiness.bean.RiskEventQuery;
|
|
|
|
import au.com.royalpay.payment.manage.riskbusiness.bean.RiskEventQuery;
|
|
|
|
import au.com.royalpay.payment.manage.riskbusiness.core.RiskBusinessService;
|
|
|
|
import au.com.royalpay.payment.manage.riskbusiness.core.RiskBusinessService;
|
|
|
|
import au.com.royalpay.payment.manage.riskbusiness.core.RiskUploadService;
|
|
|
|
import au.com.royalpay.payment.manage.riskbusiness.core.RiskUploadService;
|
|
|
|
|
|
|
|
import au.com.royalpay.payment.manage.riskbusiness.enums.RiskResultTypeEnum;
|
|
|
|
import au.com.royalpay.payment.manage.settlement.core.ManualSettleSupport;
|
|
|
|
import au.com.royalpay.payment.manage.settlement.core.ManualSettleSupport;
|
|
|
|
import au.com.royalpay.payment.manage.signin.beans.ChangePwdBean;
|
|
|
|
import au.com.royalpay.payment.manage.signin.beans.ChangePwdBean;
|
|
|
|
import au.com.royalpay.payment.manage.signin.core.SignInStatusManager;
|
|
|
|
import au.com.royalpay.payment.manage.signin.core.SignInStatusManager;
|
|
|
@ -44,6 +45,7 @@ import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
import java.text.ParseException;
|
|
|
|
import java.text.ParseException;
|
|
|
|
|
|
|
|
import java.util.Arrays;
|
|
|
|
import java.util.Date;
|
|
|
|
import java.util.Date;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Map;
|
|
|
@ -592,9 +594,17 @@ public class RetailAppController {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@GetMapping(value = "/risk/business/events")
|
|
|
|
@GetMapping(value = "/risk/business/events")
|
|
|
|
public JSONObject getRiskEvents(RiskEventQuery riskEventQuery) {
|
|
|
|
public JSONObject getRiskEvents(RiskEventQuery riskEventQuery) {
|
|
|
|
JSONObject param = riskEventQuery.toJSON();
|
|
|
|
JSONObject params = riskEventQuery.toJSON();
|
|
|
|
param.put("client_moniker", riskEventQuery.getClientMoniker());
|
|
|
|
params.put("client_moniker", riskEventQuery.getClientMoniker());
|
|
|
|
return riskBusinessService.getRiskEventsByPage(param, null);
|
|
|
|
params.put("is_send_client", 1);
|
|
|
|
|
|
|
|
params.putIfAbsent("page", 1);
|
|
|
|
|
|
|
|
List<Integer> resultTypes = Arrays.asList(RiskResultTypeEnum.SEND_EMAIL_TO_BD.getResultType(),
|
|
|
|
|
|
|
|
RiskResultTypeEnum.WAIT_FOR_AUDIT.getResultType(),
|
|
|
|
|
|
|
|
RiskResultTypeEnum.MATERIAL_AUDIT_PASS.getResultType(),
|
|
|
|
|
|
|
|
RiskResultTypeEnum.MATERIAL_NOT_PASS.getResultType(),
|
|
|
|
|
|
|
|
RiskResultTypeEnum.ALREADY_HANDLED.getResultType());
|
|
|
|
|
|
|
|
params.put("result_types", resultTypes);
|
|
|
|
|
|
|
|
return riskBusinessService.getRiskEventsByPage(params, null);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|