|
|
|
@ -53,11 +53,6 @@ public class RiskMerchantServiceImpl implements RiskMerchantService {
|
|
|
|
|
detail.put("auditor_id", account.getString("manager_id"));
|
|
|
|
|
detail.put("create_time", new Date());
|
|
|
|
|
riskMerchantDetailLogMapper.save(detail);
|
|
|
|
|
record.put("status", 2);
|
|
|
|
|
JSONObject recordUpdate = new JSONObject();
|
|
|
|
|
recordUpdate.put("record_id", record.getString("record_id"));
|
|
|
|
|
recordUpdate.put("status", 2);
|
|
|
|
|
riskMerchantRecordMapper.update(recordUpdate);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@ -140,6 +135,7 @@ public class RiskMerchantServiceImpl implements RiskMerchantService {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
@Transactional
|
|
|
|
|
public void dealRiskRecordDirectly(JSONObject account, String record_id) {
|
|
|
|
|
JSONObject record = riskMerchantRecordMapper.findById(record_id);
|
|
|
|
|
if (record == null) {
|
|
|
|
@ -157,9 +153,9 @@ public class RiskMerchantServiceImpl implements RiskMerchantService {
|
|
|
|
|
detail.put("create_time", new Date());
|
|
|
|
|
riskMerchantDetailLogMapper.save(detail);
|
|
|
|
|
JSONObject recordUpdate = new JSONObject();
|
|
|
|
|
recordUpdate.put("record_id",record_id);
|
|
|
|
|
recordUpdate.put("id",record_id);
|
|
|
|
|
recordUpdate.put("status", 1);
|
|
|
|
|
riskMerchantRecordMapper.update(record);
|
|
|
|
|
riskMerchantRecordMapper.update(recordUpdate);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|