|
|
|
@ -7,6 +7,7 @@ import au.com.royalpay.payment.manage.mappers.system.ClientMapper;
|
|
|
|
|
import au.com.royalpay.payment.manage.notice.core.MailService;
|
|
|
|
|
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.enums.RiskResultTypeEnum;
|
|
|
|
|
import au.com.royalpay.payment.tools.exceptions.BadRequestException;
|
|
|
|
|
import au.com.royalpay.payment.tools.threadpool.RoyalThreadPoolExecutor;
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
@ -44,7 +45,7 @@ public class RiskUploadServiceIpml implements RiskUploadService {
|
|
|
|
|
public void submitMaterial(JSONObject material) {
|
|
|
|
|
riskMaterialMapper.save(material);
|
|
|
|
|
JSONObject event = riskEventMapper.findById(material.getString("risk_id"));
|
|
|
|
|
event.put("result_type",2);
|
|
|
|
|
event.put("result_type", RiskResultTypeEnum.WAIT_FOR_AUDIT.getResultType());
|
|
|
|
|
riskEventMapper.update(event);
|
|
|
|
|
JSONObject operator = riskMaterialMapper.findOperatorById(material.getString("risk_id"));
|
|
|
|
|
if(operator.containsKey("email")){
|
|
|
|
|