优化
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.dpkj.modules.print.service.impl;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.dpkj.common.config.PrinterConfig;
|
||||
@@ -362,7 +363,9 @@ public class MS439PrintServiceImpl implements MS439PrintService {
|
||||
item.put("loitemRv", range);// 参考区间
|
||||
item.put("loitemUnit", unit);// 单位
|
||||
item.put("inspectionMethod", method);// 测试方法
|
||||
item.put("oaflag", oaflag);// 结果异常标志|-1-不计算改指标的参考、1-正常、2-偏低、3-偏高、4-阳性(异常)、5-警戒下限、6-警戒上限、7-复查下限、8-复查上限、9-线性异常
|
||||
item.put("oaflag", StrUtil.equals(oaflag,"0") || StrUtil.equals(oaflag,"1"));// 结果异常标志|-1-不计算改指标的参考、1-正常、2-偏低、3-偏高、4-阳性(异常)、5-警戒下限、6-警戒上限、7-复查下限、8-复查上限、9-线性异常
|
||||
item.put("oaflagLow", StrUtil.equals(oaflag,"2"));// 2显示下箭头
|
||||
item.put("oaflagHigh", StrUtil.equals(oaflag,"3"));// 3显示上箭头
|
||||
items.add(item);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user