|
@@ -236,7 +236,7 @@ public class SetlListUpldService {
|
|
|
|
|
|
|
|
|
public void dealDrgGroup(String patNo, Integer times, Integer ledgerSn, SetlinfoUpld setlinfo) {
|
|
|
- SiLog siLog = null;
|
|
|
+ SiLog siLog = new SiLog(SiUtil.makeMsgId(), SiFunction.DRG_GROUP_INFO.getCode(), setlinfo.getInsuplc(), redisLikeService.getUserInfoByToken().getCode(), null, null, patNo, times, ledgerSn, 1, setlinfo.getPsnNo());
|
|
|
try {
|
|
|
int flag = getModifyFlag(patNo, times);
|
|
|
List<YbZyDisDiag> ybZyDisDiags = dao.zhenDuanXinXi(patNo, times, flag == 1 ? "zy_dis_diag_yb_modify" : "zy_dis_diag_yb");
|
|
@@ -250,7 +250,8 @@ public class SetlListUpldService {
|
|
|
Map<String, Object> temp = getDrgQualityResult(param, setlinfo);
|
|
|
JSONObject resultInfo = (JSONObject) temp.get("result");
|
|
|
Object drgParam = temp.get("param");
|
|
|
- siLog = new SiLog(SiUtil.makeMsgId(), SiFunction.DRG_GROUP_INFO.getCode(), setlinfo.getInsuplc(), redisLikeService.getUserInfoByToken().getCode(), JSON.toJSONString(drgParam), JSON.toJSONString(resultInfo), patNo, times, ledgerSn, 1, setlinfo.getPsnNo());
|
|
|
+ siLog.setBody(JSON.toJSONString(drgParam));
|
|
|
+ siLog.setResult(JSON.toJSONString(resultInfo));
|
|
|
if (resultInfo.getBooleanValue("isSuccess")) {
|
|
|
JSONObject groupInfo = resultInfo.getJSONObject("result").getJSONObject("group_info");
|
|
|
GroupInfoVO groupInfoVO = JSON.parseObject(JSON.toJSONString(groupInfo), GroupInfoVO.class);
|
|
@@ -275,6 +276,7 @@ public class SetlListUpldService {
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
siLog.setInfcode(-1);
|
|
|
+ siLog.setBody("{\"errMsg\":\"处理分组结果报错\"}");
|
|
|
log.error("处理分组结果报错", e);
|
|
|
}
|
|
|
siLogService.delAndSave(siLog);
|