Commit f43f6e95 by 翁国栋

运营后台--

生成日志
parent df61dfb6
...@@ -823,7 +823,8 @@ public class InsureContorll { ...@@ -823,7 +823,8 @@ public class InsureContorll {
user.updateById(); user.updateById();
YgglMainEmp.builder().isInsure(1).build().update(new QueryWrapper<YgglMainEmp>().lambda().eq(YgglMainEmp::getId, user.getUserId())); YgglMainEmp.builder().isInsure(1).build().update(new QueryWrapper<YgglMainEmp>().lambda().eq(YgglMainEmp::getId, user.getUserId()));
}); });
Map companyApplicantMap = JSONObject.parseObject(JSONObject.toJSONString(map.get("company_applicant")), Map.class); List<Map> quotationsMap = JSONObject.parseObject(JSONObject.toJSONString(bodyMap.get("quotations")), List.class);
Map companyApplicantMap = JSONObject.parseObject(JSONObject.toJSONString(quotationsMap.get(0).get("company_applicant")), Map.class);
InsureLog.builder().requestParam(JSONObject.toJSONString(setParams(JSONObject.toJSONString(bodyMap), appid, secret))).type(1) InsureLog.builder().requestParam(JSONObject.toJSONString(setParams(JSONObject.toJSONString(bodyMap), appid, secret))).type(1)
.requestData(JSONObject.toJSONString(bodyMap)).createTime(new Date()).requestType(1).returnBody(JSONObject.toJSONString(dataMap)).requestPath(insuredUrl) .requestData(JSONObject.toJSONString(bodyMap)).createTime(new Date()).requestType(1).returnBody(JSONObject.toJSONString(dataMap)).requestPath(insuredUrl)
.returnCode(dataMap.get("errcode").toString()).returnMsg(dataMap.get("errmsg").toString()).policyId(i.getId()).fileUrl(companyApplicantMap.get("applicant_employee_list").toString()).build().insert(); .returnCode(dataMap.get("errcode").toString()).returnMsg(dataMap.get("errmsg").toString()).policyId(i.getId()).fileUrl(companyApplicantMap.get("applicant_employee_list").toString()).build().insert();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment