|
|
@@ -61,7 +61,7 @@ public class SiMzFeeService {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.NETWORK_ERROR);
|
|
|
}
|
|
|
Integer infcode = result.getInteger(RESULT_CODE);
|
|
|
- logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode));
|
|
|
+ logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode, regstrtn.getPsnNo()));
|
|
|
if (null == infcode) {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "医保中心报错:" + result.getString("message"));
|
|
|
}
|
|
|
@@ -96,7 +96,7 @@ public class SiMzFeeService {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.NETWORK_ERROR);
|
|
|
}
|
|
|
Integer infcode = result.getInteger(RESULT_CODE);
|
|
|
- logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode));
|
|
|
+ logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode, siPatInfo.getPsnNo()));
|
|
|
if (null == infcode) {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "医保中心报错:" + result.getString("message"));
|
|
|
}
|
|
|
@@ -141,7 +141,7 @@ public class SiMzFeeService {
|
|
|
JSONObject result = exec.executeTrade(input, SiFunction.UPLOAD_OUTPATIENT_INFO);
|
|
|
log.info("【操作员:{}】门诊就诊信息上传:\n参数:{},\n结果:{}", staffId, input, result);
|
|
|
Integer infcode = result.getInteger(RESULT_CODE);
|
|
|
- logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode));
|
|
|
+ logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode, siPatInfo.getPsnNo()));
|
|
|
return SiUtil.makeReturnWithoutOutput(result, "门诊就诊信息上传成功。");
|
|
|
}
|
|
|
|
|
|
@@ -185,7 +185,7 @@ public class SiMzFeeService {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.NETWORK_ERROR);
|
|
|
}
|
|
|
Integer infcode = result.getInteger(RESULT_CODE);
|
|
|
- logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode));
|
|
|
+ logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode, siPatInfo.getPsnNo()));
|
|
|
if (null == infcode) {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "医保中心报错:" + result.getString("message"));
|
|
|
}
|
|
|
@@ -243,7 +243,7 @@ public class SiMzFeeService {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.NETWORK_ERROR);
|
|
|
}
|
|
|
Integer infcode = result.getInteger(RESULT_CODE);
|
|
|
- logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode));
|
|
|
+ logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode, siPatInfo.getPsnNo()));
|
|
|
if (null == infcode) {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "医保中心报错:" + result.getString("message"));
|
|
|
}
|
|
|
@@ -276,7 +276,7 @@ public class SiMzFeeService {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.NETWORK_ERROR);
|
|
|
}
|
|
|
Integer infcode = result.getInteger(RESULT_CODE);
|
|
|
- logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode));
|
|
|
+ logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode, mzPreSetlmt.getPsnNo()));
|
|
|
if (null == infcode) {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "医保中心报错:" + result.getString("message"));
|
|
|
}
|
|
|
@@ -331,7 +331,7 @@ public class SiMzFeeService {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.NETWORK_ERROR, "与医保中心的连接出现网络异常!");
|
|
|
}
|
|
|
Integer infcode = result.getInteger(RESULT_CODE);
|
|
|
- logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode));
|
|
|
+ logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode, setlmt.getPsnNo()));
|
|
|
if (null == infcode) {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "医保中心报错:" + result.getString("message"));
|
|
|
}
|
|
|
@@ -390,7 +390,7 @@ public class SiMzFeeService {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.NETWORK_ERROR);
|
|
|
}
|
|
|
Integer infcode = result.getInteger(RESULT_CODE);
|
|
|
- logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode));
|
|
|
+ logDao.insert(new SiLog(input, result, p.getPatNo(), p.getTimes(), infcode, setlinfo.getPsnNo()));
|
|
|
if (null == infcode) {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "医保中心报错:" + result.getString("message"));
|
|
|
}
|
|
|
@@ -413,7 +413,7 @@ public class SiMzFeeService {
|
|
|
input.getJSONObject("input").put("data", data);
|
|
|
JSONObject result = exec.executeTrade(input, SiFunction.REVOKE_OUTPATIENT_SETTLEMENT);
|
|
|
Integer infcode = result.getInteger(RESULT_CODE);
|
|
|
- logDao.insert(new SiLog(input, result, setlinfo.getPatNo(), setlinfo.getTimes(), infcode));
|
|
|
+ logDao.insert(new SiLog(input, result, setlinfo.getPatNo(), setlinfo.getTimes(), infcode, setlinfo.getPsnNo()));
|
|
|
if (null != infcode && infcode == 0) {
|
|
|
mzDao.deleteSetlInfo(setlinfo.getPatNo(), setlinfo.getTimes());
|
|
|
mzDao.deleteSetlDetail(setlinfo.getPatNo(), setlinfo.getTimes());
|