|
@@ -11,6 +11,7 @@ import cn.hnthyy.thmz.entity.his.YpZdDosage;
|
|
|
import cn.hnthyy.thmz.entity.his.mz.YpZdClass;
|
|
|
import cn.hnthyy.thmz.entity.his.yp.YpZdChargeGroup;
|
|
|
import cn.hnthyy.thmz.entity.his.yp.YpZdDrugKind;
|
|
|
+import cn.hnthyy.thmz.entity.his.yp.YpZdKjywType;
|
|
|
import cn.hnthyy.thmz.service.his.mz.MzOrderFrequencyService;
|
|
|
import cn.hnthyy.thmz.service.his.mz.YpZdClassService;
|
|
|
import cn.hnthyy.thmz.service.his.yp.YpInfoService;
|
|
@@ -34,6 +35,28 @@ public class YpInfoController {
|
|
|
private YpZdClassService ypZdClassService;
|
|
|
@Autowired
|
|
|
private MzOrderFrequencyService mzOrderFrequencyService;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 查询抗菌药物列表
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @UserLoginToken
|
|
|
+ @RequestMapping(value = "/queryYpZdKjywType", method = {RequestMethod.GET})
|
|
|
+ public Map<String, Object> queryYpZdKjywType() {
|
|
|
+ Map<String, Object> resultMap = new HashMap<>();
|
|
|
+ try {
|
|
|
+ List<YpZdKjywType> ypZdKjywTypeList = ypInfoService.queryYpZdKjywType();
|
|
|
+ resultMap.put("code", 0);
|
|
|
+ resultMap.put("message", "查询抗菌药物列表成功");
|
|
|
+ resultMap.put("data", ypZdKjywTypeList);
|
|
|
+ return resultMap;
|
|
|
+ } catch (Exception e) {
|
|
|
+ resultMap.put("code", -1);
|
|
|
+ resultMap.put("message", "查询抗菌药物列表失败");
|
|
|
+ return resultMap;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 查询门诊费别列表
|
|
|
* @return
|
|
@@ -54,6 +77,7 @@ public class YpInfoController {
|
|
|
return resultMap;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
/**
|
|
|
* 查询药品类别列表
|
|
|
* @return
|