|
@@ -73,7 +73,11 @@ public class DataTask implements ITask {
|
|
|
//患者身份证号
|
|
|
params.put("card_num", record.getStr("IDCARD")==null?"":record.getStr("IDCARD"));
|
|
|
//检查结果1阴2阳
|
|
|
- params.put("report_result", record.getStr("RESULT").equals("1")?"2":"1");
|
|
|
+ if (record.getStr("RESULT")==null) {
|
|
|
+ params.put("report_result", "0");
|
|
|
+ }else {
|
|
|
+ params.put("report_result", record.getStr("RESULT").equals("1")?"2":"1");
|
|
|
+ }
|
|
|
//住院号
|
|
|
params.put("hopitalized_no", record.getStr("INPATIENTNUM")==null?"":record.getStr("INPATIENTNUM"));
|
|
|
//门诊号
|