| | |
| | | public TableDataInfo list(@RequestBody DictSfxm dictSfxm) { |
| | | startPage(); |
| | | String pym = dictSfxm.getPym(); |
| | | if(null !=pym && !"".equals(pym)) { |
| | | if(null !=pym && !pym.isEmpty()) { |
| | | pym=dictSfxm.getPym().toUpperCase(Locale.ROOT); |
| | | dictSfxm.setPym(pym); |
| | | } |
| | | List<DictSfxm> list = dictSfxmService.selectDictSfxmList(dictSfxm); |
| | | if (null != list && list.size() > 0) { |
| | | if (null != list && !list.isEmpty()) { |
| | | for (DictSfxm sfxm : list) { |
| | | DictHosp hosp = dictHospService.getById(sfxm.getYqid()); |
| | | if (null != hosp) { |
| | |
| | | map.put("date", sfxmList); |
| | | map.put("total", sfxms.size()); |
| | | } else { |
| | | map.put("date", 0); |
| | | map.put("date", null); |
| | | map.put("total", 0); |
| | | } |
| | | return AjaxResult.success(map); |
| | |
| | | map.put("date", sfxmList); |
| | | map.put("total", sfx.size()); |
| | | } else { |
| | | map.put("date", 0); |
| | | map.put("date", null); |
| | | map.put("total", 0); |
| | | } |
| | | return AjaxResult.success(map); |