LAPTOP-5NTQJPUS\LT 7 months ago
parent
commit
0aa62cff5c
1 changed files with 14 additions and 0 deletions
  1. 14 0
      DataFusion/src/com/zskk/control/ViewController.java

+ 14 - 0
DataFusion/src/com/zskk/control/ViewController.java

@@ -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;