| | |
| | | * |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "获取全部/区域/医疗机构/处置单位/监管单位树-搜索框用", notes = "0:全部 1:区域 2:医疗机构 3:处置单位 4:监管单位") |
| | | @ApiOperation(value = "获取全部/区域/医疗机构/处置单位/监管单位树-搜索框用", notes = "0:全部 1:区域 2:医疗机构 3:处置单位 4:监管单位 5:医疗机构、监管单位") |
| | | @GetMapping("/departmentSearchTree") |
| | | @ApiImplicitParam(name = "type", value = "查询类型", required = true) |
| | | public R<List<SysDepartmentVO>> getDepartmentSearchTree(@RequestParam(value = "type", required = true) @NotNull(message = "类型不能为空") Integer type) { |
| | |
| | | case 4: |
| | | childrenMap = getChildrenDepartmentByOrgType(myDepartment, Arrays.asList(DepartmentEnum.REGION.getCode(), DepartmentEnum.REGULATORY_UNIT.getCode())); |
| | | break; |
| | | case 5: |
| | | childrenMap = getChildrenDepartmentByOrgType(myDepartment, Arrays.asList(DepartmentEnum.REGION.getCode(), DepartmentEnum.MEDICAL_INSTITUTION.getCode(), DepartmentEnum.DISPOSAL_UNIT.getCode())); |
| | | break; |
| | | default: |
| | | childrenMap = getChildrenDepartmentByOrgType(myDepartment, null); |
| | | } |
| | |
| | | AND MC.CONTRACT_NAME LIKE CONCAT('%',#{query.contractName},'%') |
| | | </if> |
| | | </where> |
| | | ORDER BY MC.CREATE_TIME DESC |
| | | </select> |
| | | <select id="queryListTerminationDateBeforeNow" resultType="com.sinata.system.domain.vo.MwContractVO" |
| | | parameterType="java.util.Date"> |