Merge remote-tracking branch 'origin/develop' into develop

master
eason.qian 7 years ago
commit 9b1f6fa399

@ -53,6 +53,8 @@ public class RiskMerchantServiceImpl implements RiskMerchantService {
detail.put("auditor_id", account.getString("manager_id")); detail.put("auditor_id", account.getString("manager_id"));
detail.put("create_time", new Date()); detail.put("create_time", new Date());
riskMerchantDetailLogMapper.save(detail); riskMerchantDetailLogMapper.save(detail);
record.put("status",2);
riskMerchantRecordMapper.update(record);
} }
@Override @Override

@ -78,7 +78,7 @@ public class RiskController {
@RequestMapping(value = "/records/uploadFiles", method = RequestMethod.POST) @RequestMapping(value = "/records/uploadFiles", method = RequestMethod.POST)
public void addRecordLog(@ModelAttribute(CommonConsts.MANAGER_STATUS) JSONObject manager,@RequestBody AddRiskDetailLog addRiskDetailLog) { public void addRecordLog(@ModelAttribute(CommonConsts.MANAGER_STATUS) JSONObject manager,@RequestBody AddRiskDetailLog addRiskDetailLog) {
riskMerchantService.addDetailLog(addRiskDetailLog,manager); // riskMerchantService.addDetailLog(addRiskDetailLog,manager);
} }
@RequestMapping(value = "/details", method = RequestMethod.GET) @RequestMapping(value = "/details", method = RequestMethod.GET)

Loading…
Cancel
Save