|
@@ -142,6 +142,20 @@ public class ViewController extends Controller {
|
|
params.put("exam_project", record.getStr("ExamItem"));
|
|
params.put("exam_project", record.getStr("ExamItem"));
|
|
|
|
|
|
dService.saveReport(params);
|
|
dService.saveReport(params);
|
|
|
|
+
|
|
|
|
+ //匹配支付状态
|
|
|
|
+ if (record.getStr("ExamItem").contains("无片")) {
|
|
|
|
+ JSONObject jsonObject = new JSONObject();
|
|
|
|
+ //机构ID
|
|
|
|
+ jsonObject.put("institution_id", PropKit.get("institution_id"));
|
|
|
|
+ jsonObject.put("patient_num", record.getStr("PatientId"));
|
|
|
|
+ //机构类型:1:accession_num:patient_num
|
|
|
|
+ jsonObject.put("ins_type", "2");
|
|
|
|
+ JSONObject pJsonObject = new JSONObject();
|
|
|
|
+ pJsonObject.put("params", jsonObject.toJSONString());
|
|
|
|
+ dService.fee(pJsonObject);
|
|
|
|
+ }
|
|
|
|
+
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
// TODO: handle exception
|
|
// TODO: handle exception
|
|
continue;
|
|
continue;
|