Commit c038baba824eef249a6d6eec94a80c39f8635b71
1 parent
94eb5b599d
Exists in
master
修改获取疫苗名称详细信息
Showing 1 changed file with 1 additions and 1 deletions
webApi/src/main/java/com/lyms/yimiao/web/controller/v1/VaccineNamesController.java
View file @
c038bab
... | ... | @@ -36,7 +36,7 @@ |
36 | 36 | public void getVaccineNames(HttpServletResponse response, |
37 | 37 | @RequestParam("id") String id){ |
38 | 38 | MedVaccineName medVaccineName = medVaccineNameService.getMedVaccineName(id); |
39 | - if (medVaccineName==null){ | |
39 | + if (medVaccineName==null || !"1".equals(medVaccineName.getIsDelete())){ | |
40 | 40 | ResultUtils.buildParameterErrorResultAndWrite(response,"疫苗名称信息不存在"); |
41 | 41 | return; |
42 | 42 | } |