| | |
| | | secureRegistry.excludePathPatterns("/experience/**"); |
| | | secureRegistry.excludePathPatterns("/jurisdiction/**"); |
| | | secureRegistry.excludePathPatterns("/permit/**"); |
| | | secureRegistry.excludePathPatterns("/blade-resource/oss/endpoint/put-file-attach/**"); |
| | | return secureRegistry; |
| | | } |
| | | |
| | |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("blade-permit/permit") |
| | | @RequestMapping("/permit") |
| | | @Api(value = "", tags = "接口") |
| | | public class PermitController extends BladeController { |
| | | |
| | |
| | | CacheUtil.clear(SYS_CACHE); |
| | | return R.status(deptService.removeDept(ids)); |
| | | } |
| | | |
| | | @GetMapping("/selectIn") |
| | | public R selectIn() { |
| | | return R.data(deptService.selectIn()); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | <select id="selectIn" resultType="java.util.HashMap"> |
| | | SELECT |
| | | id, |
| | | dept_name |
| | | id as deptid, |
| | | dept_name as deptname |
| | | FROM |
| | | blade_dept |
| | | blade_dept where is_deleted = 0 |
| | | </select> |
| | | |
| | | <!--统计单位类型数量--> |
| | |
| | | List<Map<Object,String>> selectCount(String name); |
| | | List<Map<Object,String>> selectId(String id); |
| | | Map<Object,Integer> selectHold(String deptid); |
| | | List<String> selectIn(); |
| | | } |
| | |
| | | return baseMapper.selectHold(deptid); |
| | | } |
| | | |
| | | @Override |
| | | public List<String> selectIn() { |
| | | return baseMapper.selectIn(); |
| | | } |
| | | |
| | | } |