| | |
| | | |
| | | String format = DateUtil.format(patbirth, "yyyy.MM.dd"); |
| | | |
| | | List<Map<String, Object>> tjYxjcList = testMapper.getTjYxjcList(patname,sex,patage+patagename,format); |
| | | List<Map<String, Object>> tjYxjcList = testMapper.getTjYxjcList(patname,sex,null); |
| | | return AjaxResult.success(tjYxjcList); |
| | | } |
| | | |
| | |
| | | return toAjax(deptService.insertDept(dept)); |
| | | } |
| | | |
| | | |
| | | @Resource |
| | | private IDictHospService dictHospService; |
| | | |
| | | /** |
| | | * 修改科室部门 |
| | | */ |
| | |
| | | return error("该部门包含未停用的子部门!"); |
| | | } |
| | | dept.setUpdateBy(getUsername()); |
| | | |
| | | //查询院区名字赋值 |
| | | if (dept.getHospId()!=null){ |
| | | final DictHosp byId = dictHospService.getById(dept.getHospId()); |
| | | if (byId!=null){ |
| | | dept.setHospName(byId.getHospAreaName()); |
| | | } |
| | | } |
| | | |
| | | |
| | | return toAjax(deptService.updateDept(dept)); |
| | | } |
| | | |