| | |
| | | @Autowired |
| | | private RedisTemplate<String, String> redisTemplate; |
| | | |
| | | @PreAuthorize("@ss.hasPermi('monitor:cache:list')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:cache:list')") |
| | | @GetMapping() |
| | | public AjaxResult getInfo() throws Exception |
| | | { |
| | |
| | | @RequestMapping("/monitor/server") |
| | | public class ServerController |
| | | { |
| | | @PreAuthorize("@ss.hasPermi('monitor:server:list')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:server:list')") |
| | | @GetMapping() |
| | | public AjaxResult getInfo() throws Exception |
| | | { |
| | |
| | | @Autowired |
| | | private ISysLogininforService logininforService; |
| | | |
| | | @PreAuthorize("@ss.hasPermi('monitor:logininfor:list')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:logininfor:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysLogininfor logininfor) |
| | | { |
| | |
| | | } |
| | | |
| | | @Log(title = "登录日志", businessType = BusinessType.EXPORT) |
| | | @PreAuthorize("@ss.hasPermi('monitor:logininfor:export')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:logininfor:export')") |
| | | @GetMapping("/export") |
| | | public AjaxResult export(SysLogininfor logininfor) |
| | | { |
| | |
| | | return util.exportExcel(list, "登录日志"); |
| | | } |
| | | |
| | | @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')") |
| | | @Log(title = "登录日志", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{infoIds}") |
| | | public AjaxResult remove(@PathVariable Long[] infoIds) |
| | |
| | | return toAjax(logininforService.deleteLogininforByIds(infoIds)); |
| | | } |
| | | |
| | | @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')") |
| | | @Log(title = "登录日志", businessType = BusinessType.CLEAN) |
| | | @GetMapping("/clean") |
| | | public AjaxResult clean() |
| | |
| | | @Autowired |
| | | private ISysOperLogService operLogService; |
| | | |
| | | @PreAuthorize("@ss.hasPermi('monitor:operlog:list')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:operlog:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysOperLog operLog) |
| | | { |
| | |
| | | } |
| | | |
| | | @Log(title = "操作日志", businessType = BusinessType.EXPORT) |
| | | @PreAuthorize("@ss.hasPermi('monitor:operlog:export')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:operlog:export')") |
| | | @GetMapping("/export") |
| | | public AjaxResult export(SysOperLog operLog) |
| | | { |
| | |
| | | } |
| | | |
| | | @Log(title = "操作日志", businessType = BusinessType.DELETE) |
| | | @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')") |
| | | @GetMapping("/remove/{operIds}") |
| | | public AjaxResult remove(@PathVariable Long[] operIds) |
| | | { |
| | |
| | | } |
| | | |
| | | @Log(title = "操作日志", businessType = BusinessType.CLEAN) |
| | | @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')") |
| | | @GetMapping("/clean") |
| | | public AjaxResult clean() |
| | | { |
| | |
| | | @Autowired |
| | | private RedisCache redisCache; |
| | | |
| | | @PreAuthorize("@ss.hasPermi('monitor:online:list')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:online:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(String ipaddr, String userName) |
| | | { |
| | |
| | | /** |
| | | * 强退用户 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:online:forceLogout')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:online:forceLogout')") |
| | | @Log(title = "在线用户", businessType = BusinessType.FORCE) |
| | | @GetMapping("/forceLogout/{tokenId}") |
| | | public AjaxResult forceLogout(@PathVariable String tokenId) |
| | |
| | | * 查询捐献附件列表 |
| | | */ |
| | | @ApiOperation("查询捐献附件列表") |
| | | @PreAuthorize("@ss.hasPermi('system:annextype:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:annextype:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(BaseAnnextype baseAnnextype) { |
| | | startPage(); |
| | |
| | | * 导出捐献附件列表 |
| | | */ |
| | | @ApiOperation("导出捐献附件列表") |
| | | @PreAuthorize("@ss.hasPermi('system:annextype:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:annextype:export')") |
| | | @Log(title = "捐献附件", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(BaseAnnextype baseAnnextype) { |
| | |
| | | * 获取捐献附件详细信息 |
| | | */ |
| | | @ApiOperation("获取捐献附件详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:annextype:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:annextype:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("获取捐献附件详细信息{}:", id); |
| | |
| | | * 新增捐献附件 |
| | | */ |
| | | @ApiOperation("新增捐献附件") |
| | | @PreAuthorize("@ss.hasPermi('system:annextype:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:annextype:add')") |
| | | @Log(title = "捐献附件", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献附件 |
| | | */ |
| | | @ApiOperation("修改捐献附件") |
| | | @PreAuthorize("@ss.hasPermi('system:annextype:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:annextype:edit')") |
| | | @Log(title = "捐献附件", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献附件 |
| | | */ |
| | | @ApiOperation("删除捐献附件") |
| | | @PreAuthorize("@ss.hasPermi('system:annextype:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:annextype:remove')") |
| | | @Log(title = "捐献附件", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询收入费用科目列表 |
| | | */ |
| | | @ApiOperation("查询收入费用科目列表") |
| | | //@PreAuthorize("@ss.hasPermi('project::list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project::list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(BaseFinancesubject baseFinancesubject) { |
| | | log.info("查询收入费用科目列表{}:", baseFinancesubject); |
| | |
| | | * 导出收入费用科目列表 |
| | | */ |
| | | @ApiOperation("导出收入费用科目列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:financesubject:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:financesubject:export')") |
| | | @Log(title = "收入费用科目", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(BaseFinancesubject baseFinancesubject) { |
| | |
| | | * 获取收入费用科目详细信息 |
| | | */ |
| | | @ApiOperation("获取收入费用科目详细信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:financesubject:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:financesubject:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("获取收入费用科目详细信息{}:", id); |
| | |
| | | * 新增收入费用科目 |
| | | */ |
| | | @ApiOperation("新增收入费用科目") |
| | | //@PreAuthorize("@ss.hasPermi('project:financesubject:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:financesubject:add')") |
| | | @Log(title = "收入费用科目", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改收入费用科目 |
| | | */ |
| | | @ApiOperation("修改收入费用科目") |
| | | //@PreAuthorize("@ss.hasPermi('project:financesubject:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:financesubject:edit')") |
| | | @Log(title = "收入费用科目", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除收入费用科目 |
| | | */ |
| | | @ApiOperation("删除收入费用科目") |
| | | //@PreAuthorize("@ss.hasPermi('project:financesubject:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:financesubject:remove')") |
| | | @Log(title = "收入费用科目", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询人体器官获取费用列表 |
| | | */ |
| | | @ApiOperation("查询人体器官获取费用列表") |
| | | @PreAuthorize("@ss.hasPermi('project:organcharge:list')") |
| | | // @PreAuthorize("@ss.hasPermi('project:organcharge:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(BaseOrgancharge baseOrgancharge) { |
| | | log.info("查询人体器官获取费用列表{}:", baseOrgancharge); |
| | |
| | | * 导出人体器官获取费用列表 |
| | | */ |
| | | @ApiOperation("导出人体器官获取费用列表") |
| | | @PreAuthorize("@ss.hasPermi('project:organcharge:export')") |
| | | // @PreAuthorize("@ss.hasPermi('project:organcharge:export')") |
| | | @Log(title = "人体器官获取费用", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(BaseOrgancharge baseOrgancharge) { |
| | |
| | | * 获取人体器官获取费用详细信息 |
| | | */ |
| | | @ApiOperation("获取人体器官获取费用详细信息") |
| | | @PreAuthorize("@ss.hasPermi('project:organcharge:query')") |
| | | // @PreAuthorize("@ss.hasPermi('project:organcharge:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("获取人体器官获取费用详细信息{}:", id); |
| | |
| | | * 新增人体器官获取费用 |
| | | */ |
| | | @ApiOperation("新增人体器官获取费用") |
| | | @PreAuthorize("@ss.hasPermi('project:organcharge:add')") |
| | | // @PreAuthorize("@ss.hasPermi('project:organcharge:add')") |
| | | @Log(title = "人体器官获取费用", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改人体器官获取费用 |
| | | */ |
| | | @ApiOperation("修改人体器官获取费用") |
| | | @PreAuthorize("@ss.hasPermi('project:organcharge:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('project:organcharge:edit')") |
| | | @Log(title = "人体器官获取费用", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除人体器官获取费用 |
| | | */ |
| | | @ApiOperation("删除人体器官获取费用") |
| | | @PreAuthorize("@ss.hasPermi('project:organcharge:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('project:organcharge:remove')") |
| | | @GetMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | log.info("删除人体器官获取费用{}:", ids); |
| | |
| | | * 查询机构管理列表 |
| | | */ |
| | | @ApiOperation("获取机构列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:organization:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organization:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(BaseOrganization baseOrganization) { |
| | | log.info("获取机构列表{}:", baseOrganization); |
| | |
| | | * 导出机构管理列表 |
| | | */ |
| | | @ApiOperation("导出机构信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organization:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organization:export')") |
| | | @Log(title = "机构管理", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(BaseOrganization baseOrganization) { |
| | |
| | | * 获取机构管理详细信息 |
| | | */ |
| | | @ApiOperation("通过机构id获取机构信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organization:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organization:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("获取机构管理详细信息{}:", id); |
| | |
| | | * 新增机构管理 |
| | | */ |
| | | @ApiOperation("新增机构信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organization:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organization:add')") |
| | | @Log(title = "机构管理", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改机构管理 |
| | | */ |
| | | @ApiOperation("修改机构信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organization:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organization:edit')") |
| | | @Log(title = "机构管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除机构管理 |
| | | */ |
| | | @ApiOperation("删除机构信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organization:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organization:remove')") |
| | | @Log(title = "机构管理", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询省市区管理列表 |
| | | */ |
| | | @ApiOperation("获取省市区列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:dict:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:dict:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(BasePrcaddressDict basePrcaddressDict) { |
| | | log.info("查询省市区管理列表{}:", basePrcaddressDict); |
| | |
| | | * 导出省市区管理列表 |
| | | */ |
| | | @ApiOperation("导出省市区列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:dict:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:dict:export')") |
| | | @Log(title = "省市区管理", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(BasePrcaddressDict basePrcaddressDict) { |
| | |
| | | * 获取省市区管理详细信息 |
| | | */ |
| | | @ApiOperation("通过id获得省市区") |
| | | //@PreAuthorize("@ss.hasPermi('project:dict:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:dict:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("获取省市区管理详细信息{}:", id); |
| | |
| | | * 新增省市区管理 |
| | | */ |
| | | @ApiOperation("新增省市区") |
| | | //@PreAuthorize("@ss.hasPermi('project:dict:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:dict:add')") |
| | | @Log(title = "省市区管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @RepeatSubmit |
| | |
| | | * 修改省市区管理 |
| | | */ |
| | | @ApiOperation("修改省市区") |
| | | //@PreAuthorize("@ss.hasPermi('project:dict:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:dict:edit')") |
| | | @Log(title = "省市区管理", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @RepeatSubmit |
| | |
| | | * 删除省市区管理 |
| | | */ |
| | | @ApiOperation("删除省市区") |
| | | //@PreAuthorize("@ss.hasPermi('project:dict:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:dict:remove')") |
| | | @Log(title = "省市区管理", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询差旅城市和补贴标准列表 |
| | | */ |
| | | @ApiOperation("查询差旅城市和补贴标准列表") |
| | | @PreAuthorize("@ss.hasPermi('project:travelcity:list')") |
| | | // @PreAuthorize("@ss.hasPermi('project:travelcity:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(BaseTravelcity baseTravelcity) { |
| | | log.info("查询差旅城市和补贴标准列表{}:", baseTravelcity); |
| | |
| | | * 导出差旅城市和补贴标准列表 |
| | | */ |
| | | @ApiOperation("导出差旅城市和补贴标准列表") |
| | | @PreAuthorize("@ss.hasPermi('project:travelcity:export')") |
| | | // @PreAuthorize("@ss.hasPermi('project:travelcity:export')") |
| | | @Log(title = "差旅城市和补贴标准", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(BaseTravelcity baseTravelcity) { |
| | |
| | | * 获取差旅城市和补贴标准详细信息 |
| | | */ |
| | | @ApiOperation("获取差旅城市和补贴标准详细信息") |
| | | @PreAuthorize("@ss.hasPermi('project:travelcity:query')") |
| | | // @PreAuthorize("@ss.hasPermi('project:travelcity:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("获取差旅城市和补贴标准详细信息{}:", id); |
| | |
| | | * 新增差旅城市和补贴标准 |
| | | */ |
| | | @ApiOperation("新增差旅城市和补贴标准") |
| | | @PreAuthorize("@ss.hasPermi('project:travelcity:add')") |
| | | // @PreAuthorize("@ss.hasPermi('project:travelcity:add')") |
| | | @Log(title = "差旅城市和补贴标准", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改差旅城市和补贴标准 |
| | | */ |
| | | @ApiOperation("修改差旅城市和补贴标准") |
| | | @PreAuthorize("@ss.hasPermi('project:travelcity:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('project:travelcity:edit')") |
| | | @Log(title = "差旅城市和补贴标准", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @RepeatSubmit |
| | |
| | | * 删除差旅城市和补贴标准 |
| | | */ |
| | | @ApiOperation("删除差旅城市和补贴标准") |
| | | @PreAuthorize("@ss.hasPermi('project:travelcity:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('project:travelcity:remove')") |
| | | @Log(title = "差旅城市和补贴标准", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 根据区域获取伙食补助、公杂要补助 |
| | | */ |
| | | @ApiOperation("根据区域获取补助") |
| | | // @PreAuthorize("@ss.hasPermi('project:travelcity:list')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:travelcity:list')") |
| | | @GetMapping("/getSubsidy/{cityCode}") |
| | | public AjaxResult getSubsidy(@PathVariable String cityCode) { |
| | | log.info("根据区域获取伙食补助、公杂要补助{}:", cityCode); |
| | |
| | | * 查询捐献附件列表 |
| | | */ |
| | | @ApiOperation("附件管理列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannex:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannex:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonateannex serviceDonateannex) { |
| | | log.info("附件管理列表:{}", serviceDonateannex); |
| | |
| | | * 导出捐献附件列表 |
| | | */ |
| | | @ApiOperation("导出捐献附件列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannex:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannex:export')") |
| | | @Log(title = "捐献附件", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonateannex serviceDonateannex) { |
| | |
| | | * 获取捐献附件详细信息 |
| | | */ |
| | | @ApiOperation("通过id获得捐献附件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannex:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannex:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("通过id获得捐献附件信息:{}", id); |
| | |
| | | * 新增捐献附件 |
| | | */ |
| | | @ApiOperation("新增捐献附件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannex:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannex:add')") |
| | | @Log(title = "捐献附件", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献附件 |
| | | */ |
| | | @ApiOperation("修改捐献附件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannex:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannex:edit')") |
| | | @Log(title = "捐献附件", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献附件 |
| | | */ |
| | | @ApiOperation("修改潜在捐献、伦理审查、完成登记、医学评估附件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannex:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannex:edit')") |
| | | @Log(title = "捐献附件", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/editannexfiles") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献附件 |
| | | */ |
| | | @ApiOperation("删除捐献文件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannex:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannex:remove')") |
| | | @Log(title = "捐献附件", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询捐献附件要求列表 |
| | | */ |
| | | @ApiOperation("捐献要求附件管理列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonateannexrequirement serviceDonateannexrequirement) { |
| | | log.info("捐献要求附件管理列表:{}", serviceDonateannexrequirement); |
| | |
| | | * 导出捐献附件要求列表 |
| | | */ |
| | | @ApiOperation("导出捐献要求附件管理列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:export')") |
| | | @Log(title = "捐献附件要求", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonateannexrequirement serviceDonateannexrequirement) { |
| | |
| | | * 获取捐献附件要求详细信息 |
| | | */ |
| | | @ApiOperation("通过id获取捐献要求附件") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("通过id获取捐献要求附件:{}", id); |
| | |
| | | * 新增捐献附件要求 |
| | | */ |
| | | @ApiOperation("新增捐献要求附件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:add')") |
| | | @Log(title = "捐献附件要求", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献附件要求 |
| | | */ |
| | | @ApiOperation("修改捐献要求附件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:edit')") |
| | | @Log(title = "捐献附件要求", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献附件要求 |
| | | */ |
| | | @ApiOperation("删除捐献要求附件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:remove')") |
| | | @Log(title = "捐献附件要求", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询捐献基础列表 |
| | | */ |
| | | @ApiOperation("潜在捐献信息列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatebaseinfo:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatebaseinfo:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonatebaseinfo serviceDonatebaseinfo) { |
| | | log.info("潜在捐献信息列表:{}", serviceDonatebaseinfo); |
| | |
| | | * 导出捐献基础列表 |
| | | */ |
| | | @ApiOperation("导出潜在捐献信息列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatebaseinfo:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatebaseinfo:export')") |
| | | @Log(title = "捐献基础", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonatebaseinfo serviceDonatebaseinfo) { |
| | |
| | | * 获取捐献基础详细信息 |
| | | */ |
| | | @ApiOperation("通过id获得潜在捐献信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatebaseinfo:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatebaseinfo:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("通过id获得潜在捐献信息:{}", id); |
| | |
| | | * 新增捐献基础 |
| | | */ |
| | | @ApiOperation("新增潜在捐献信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatebaseinfo:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatebaseinfo:add')") |
| | | @Log(title = "捐献基础", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献基础 |
| | | */ |
| | | @ApiOperation("修改潜在捐献信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatebaseinfo:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatebaseinfo:edit')") |
| | | @Log(title = "捐献基础", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献基础 |
| | | */ |
| | | @ApiOperation("删除潜在捐献信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatebaseinfo:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatebaseinfo:remove')") |
| | | @Log(title = "捐献基础", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询捐献完成列表 |
| | | */ |
| | | @ApiOperation("查询捐献完成列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonatecompletioninfo serviceDonatecompletioninfo) { |
| | | log.info("查询捐献完成列表:{}", serviceDonatecompletioninfo); |
| | |
| | | * 导出捐献完成列表 |
| | | */ |
| | | @ApiOperation("导出捐献完成列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:export')") |
| | | @Log(title = "捐献完成", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonatecompletioninfo serviceDonatecompletioninfo) { |
| | |
| | | * 获取捐献完成详细信息 |
| | | */ |
| | | @ApiOperation("通过id获取某一条捐献完成信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("通过id获取某一条捐献完成信息:{}", id); |
| | |
| | | * 新增捐献完成 |
| | | */ |
| | | @ApiOperation("新增捐献完成") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") |
| | | @Log(title = "捐献完成", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit(interval = 5000) |
| | |
| | | // * 新增捐献完成详情 |
| | | // */ |
| | | // @ApiOperation("新增捐献完成详情") |
| | | // //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") |
| | | // //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") |
| | | // @Log(title = "新增捐献完成详情", businessType = BusinessType.INSERT) |
| | | // @PostMapping |
| | | // @RepeatSubmit(interval = 5000) |
| | |
| | | |
| | | @RepeatSubmit |
| | | @ApiOperation("新增或修改捐献完成") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") |
| | | @Log(title = "捐献完成", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/saveOrUpdateDonatecompletioninfo") |
| | | public AjaxResult saveOrUpdateDonatecompletioninfo(@RequestBody List<ServiceDonatecompletioninfo> serviceDonatecompletioninfoList) { |
| | |
| | | */ |
| | | @RepeatSubmit |
| | | @ApiOperation("修改捐献完成") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") |
| | | @Log(title = "捐献完成", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody ServiceDonatecompletioninfo serviceDonatecompletioninfo) { |
| | |
| | | * 删除捐献完成 |
| | | */ |
| | | @ApiOperation("删除捐献完成") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:remove')") |
| | | @Log(title = "捐献完成", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询捐献器官移植列表 |
| | | */ |
| | | @ApiOperation("查询捐献器官移植列表") |
| | | // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:list')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonatecomporgan serviceDonatecomporgan) { |
| | | startPage(); |
| | |
| | | * 导出捐献器官移植列表 |
| | | */ |
| | | @ApiOperation("导出捐献器官移植列表") |
| | | // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:export')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:export')") |
| | | @Log(title = "捐献器官移植", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonatecomporgan serviceDonatecomporgan) { |
| | |
| | | * 获取捐献器官移植详细信息 |
| | | */ |
| | | @ApiOperation("获取捐献器官移植详细信息") |
| | | // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:query')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceDonatecomporganService.getById(id)); |
| | |
| | | * 新增捐献器官移植 |
| | | */ |
| | | @ApiOperation("新增捐献器官移植") |
| | | // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:add')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:add')") |
| | | @Log(title = "捐献器官移植", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献器官移植 |
| | | */ |
| | | @ApiOperation("修改捐献器官移植") |
| | | // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:edit')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:edit')") |
| | | @Log(title = "捐献器官移植", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献器官移植 |
| | | */ |
| | | @ApiOperation("删除捐献器官移植") |
| | | // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:remove')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:remove')") |
| | | @Log(title = "捐献器官移植", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询捐献流程列表 |
| | | */ |
| | | @ApiOperation("查询捐献流程") |
| | | //@PreAuthorize("@ss.hasPermi('system:donateflowchart:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonateflowchart serviceDonateflowchart) { |
| | | startPage(); |
| | |
| | | * 导出捐献流程列表 |
| | | */ |
| | | @ApiOperation("导出捐献流程") |
| | | //@PreAuthorize("@ss.hasPermi('system:donateflowchart:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:export')") |
| | | @Log(title = "捐献流程", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonateflowchart serviceDonateflowchart) { |
| | |
| | | * 获取捐献流程详细信息 |
| | | */ |
| | | @ApiOperation("通过id获取捐献流程") |
| | | //@PreAuthorize("@ss.hasPermi('system:donateflowchart:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceDonateflowchartService.getById(id)); |
| | |
| | | * 新增捐献流程 |
| | | */ |
| | | @ApiOperation("新增捐献流程") |
| | | //@PreAuthorize("@ss.hasPermi('system:donateflowchart:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:add')") |
| | | @Log(title = "捐献流程", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献流程 |
| | | */ |
| | | @ApiOperation("修改捐献流程") |
| | | //@PreAuthorize("@ss.hasPermi('system:donateflowchart:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:edit')") |
| | | @Log(title = "捐献流程", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献流程 |
| | | */ |
| | | @ApiOperation("删除捐献流程") |
| | | //@PreAuthorize("@ss.hasPermi('system:donateflowchart:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:remove')") |
| | | @Log(title = "捐献流程", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询捐献随访列表 |
| | | */ |
| | | @ApiOperation("查询捐献随访列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatefollowup:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatefollowup:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonatefollowup serviceDonatefollowup) { |
| | | startPage(); |
| | |
| | | * 导出捐献随访列表 |
| | | */ |
| | | @ApiOperation("导出捐献随访列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatefollowup:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatefollowup:export')") |
| | | @Log(title = "捐献随访", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonatefollowup serviceDonatefollowup) { |
| | |
| | | * 获取捐献随访详细信息 |
| | | */ |
| | | @ApiOperation("获取捐献随访详细信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatefollowup:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatefollowup:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | //return AjaxResult.success(serviceDonatefollowupService.getById(id)); |
| | |
| | | * 新增捐献随访 |
| | | */ |
| | | @ApiOperation("新增捐献随访") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatefollowup:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatefollowup:add')") |
| | | @Log(title = "捐献随访", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献随访 |
| | | */ |
| | | @ApiOperation("修改捐献随访") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatefollowup:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatefollowup:edit')") |
| | | @Log(title = "捐献随访", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献随访 |
| | | */ |
| | | @ApiOperation("删除捐献随访") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatefollowup:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatefollowup:remove')") |
| | | @Log(title = "捐献随访", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询捐献器官管理列表 |
| | | */ |
| | | @ApiOperation("捐献器官列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateorgan:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateorgan:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonateorgan serviceDonateorgan) { |
| | | startPage(); |
| | |
| | | * 导出捐献器官管理列表 |
| | | */ |
| | | @ApiOperation("导出捐献器官列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateorgan:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateorgan:export')") |
| | | @Log(title = "捐献器官管理", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonateorgan serviceDonateorgan) { |
| | |
| | | * 获取捐献器官管理详细信息 |
| | | */ |
| | | @ApiOperation("通过id获得捐献器官信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateorgan:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateorgan:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceDonateorganService.getById(id)); |
| | |
| | | * 新增捐献器官管理 |
| | | */ |
| | | @ApiOperation("新增捐献器官信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateorgan:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateorgan:add')") |
| | | @Log(title = "捐献器官管理", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 新增捐献器官管理 |
| | | */ |
| | | @ApiOperation("新增捐献器官信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateorgan:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateorgan:add')") |
| | | @Log(title = "捐献器官管理", businessType = BusinessType.INSERT) |
| | | @PostMapping("/addData") |
| | | @RepeatSubmit |
| | |
| | | * 修改器官分配 |
| | | */ |
| | | @ApiOperation("修改器官分配信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organallocation:edit')") |
| | | @Log(title = "器官分配", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/editarraydata") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献器官管理 |
| | | */ |
| | | @ApiOperation("修改捐献器官信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateorgan:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateorgan:edit')") |
| | | @Log(title = "捐献器官管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献器官管理 |
| | | */ |
| | | @ApiOperation("删除捐献器官信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateorgan:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateorgan:remove')") |
| | | @Log(title = "捐献器官管理", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询捐献案例器官列列表 |
| | | */ |
| | | @ApiOperation("查询捐献案例器官列列表") |
| | | @PreAuthorize("@ss.hasPermi('project:donateorganstatics:list')") |
| | | // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonateorganstatics serviceDonateorganstatics) { |
| | | startPage(); |
| | |
| | | * 导出捐献案例器官列列表 |
| | | */ |
| | | @ApiOperation("导出捐献案例器官列列表") |
| | | @PreAuthorize("@ss.hasPermi('project:donateorganstatics:export')") |
| | | // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:export')") |
| | | @Log(title = "捐献案例器官列", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonateorganstatics serviceDonateorganstatics) { |
| | |
| | | * 获取捐献案例器官列详细信息 |
| | | */ |
| | | @ApiOperation("获取捐献案例器官列详细信息") |
| | | @PreAuthorize("@ss.hasPermi('project:donateorganstatics:query')") |
| | | // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceDonateorganstaticsService.getById(id)); |
| | |
| | | * 新增捐献案例器官列 |
| | | */ |
| | | @ApiOperation("新增捐献案例器官列") |
| | | @PreAuthorize("@ss.hasPermi('project:donateorganstatics:add')") |
| | | // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:add')") |
| | | @Log(title = "捐献案例器官列", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献案例器官列 |
| | | */ |
| | | @ApiOperation("修改捐献案例器官列") |
| | | @PreAuthorize("@ss.hasPermi('project:donateorganstatics:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:edit')") |
| | | @Log(title = "捐献案例器官列", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献案例器官列 |
| | | */ |
| | | @ApiOperation("删除捐献案例器官列") |
| | | @PreAuthorize("@ss.hasPermi('project:donateorganstatics:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:remove')") |
| | | @Log(title = "捐献案例器官列", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询捐献见证列表 |
| | | */ |
| | | @ApiOperation("获取捐献见证列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donationwitness:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donationwitness:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonationwitness serviceDonationwitness) { |
| | | startPage(); |
| | |
| | | * 导出捐献见证列表 |
| | | */ |
| | | @ApiOperation("导出捐献见证列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donationwitness:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donationwitness:export')") |
| | | @Log(title = "捐献见证", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonationwitness serviceDonationwitness) { |
| | |
| | | * 获取捐献见证详细信息 |
| | | */ |
| | | @ApiOperation("通过id获取见证信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donationwitness:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donationwitness:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceDonationwitnessService.getById(id)); |
| | |
| | | * 新增捐献见证 |
| | | */ |
| | | @ApiOperation("新增捐献见证") |
| | | //@PreAuthorize("@ss.hasPermi('project:donationwitness:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donationwitness:add')") |
| | | @Log(title = "捐献见证", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献见证 |
| | | */ |
| | | @ApiOperation("修改捐献见证") |
| | | //@PreAuthorize("@ss.hasPermi('project:donationwitness:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donationwitness:edit')") |
| | | @Log(title = "捐献见证", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献见证 |
| | | */ |
| | | @ApiOperation("删除捐献见证") |
| | | //@PreAuthorize("@ss.hasPermi('project:donationwitness:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donationwitness:remove')") |
| | | @Log(title = "捐献见证", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询捐献器官获取列表 |
| | | */ |
| | | @ApiOperation("查询捐献器官获取列表") |
| | | // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:list')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonationwitnessorgan serviceDonationwitnessorgan) { |
| | | startPage(); |
| | |
| | | * 导出捐献器官获取列表 |
| | | */ |
| | | @ApiOperation("导出捐献器官获取列表") |
| | | // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:export')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:export')") |
| | | @Log(title = "捐献器官获取", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonationwitnessorgan serviceDonationwitnessorgan) { |
| | |
| | | * 获取捐献器官获取详细信息 |
| | | */ |
| | | @ApiOperation("获取捐献器官获取详细信息") |
| | | // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:query')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceDonationwitnessorganService.getById(id)); |
| | |
| | | * 新增捐献器官获取 |
| | | */ |
| | | @ApiOperation("新增捐献器官获取") |
| | | // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:add')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:add')") |
| | | @Log(title = "捐献器官获取", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献器官获取 |
| | | */ |
| | | @ApiOperation("修改捐献器官获取") |
| | | // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:edit')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:edit')") |
| | | @Log(title = "捐献器官获取", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献器官获取 |
| | | */ |
| | | @ApiOperation("删除捐献器官获取") |
| | | // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:remove')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:remove')") |
| | | @Log(title = "捐献器官获取", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询捐献案例器官列列表 |
| | | */ |
| | | @ApiOperation("查询捐献案例器官列列表") |
| | | @PreAuthorize("@ss.hasPermi('project:donorcharge:list')") |
| | | // @PreAuthorize("@ss.hasPermi('project:donorcharge:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonorcharge serviceDonorcharge) { |
| | | startPage(); |
| | |
| | | * 导出捐献案例器官列列表 |
| | | */ |
| | | @ApiOperation("导出捐献案例器官列列表") |
| | | @PreAuthorize("@ss.hasPermi('project:donorcharge:export')") |
| | | // @PreAuthorize("@ss.hasPermi('project:donorcharge:export')") |
| | | @Log(title = "捐献案例器官列", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonorcharge serviceDonorcharge) { |
| | |
| | | * 获取捐献案例器官列详细信息 |
| | | */ |
| | | @ApiOperation("获取捐献案例器官列详细信息") |
| | | @PreAuthorize("@ss.hasPermi('project:donorcharge:query')") |
| | | // @PreAuthorize("@ss.hasPermi('project:donorcharge:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceDonorchargeService.getById(id)); |
| | |
| | | * 新增捐献案例器官列 |
| | | */ |
| | | @ApiOperation("新增捐献案例器官列") |
| | | @PreAuthorize("@ss.hasPermi('project:donorcharge:add')") |
| | | // @PreAuthorize("@ss.hasPermi('project:donorcharge:add')") |
| | | @Log(title = "捐献案例器官列", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献案例器官列 |
| | | */ |
| | | @ApiOperation("修改捐献案例器官列") |
| | | @PreAuthorize("@ss.hasPermi('project:donorcharge:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('project:donorcharge:edit')") |
| | | @Log(title = "捐献案例器官列", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献案例器官列 |
| | | */ |
| | | @ApiOperation("删除捐献案例器官列") |
| | | @PreAuthorize("@ss.hasPermi('project:donorcharge:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('project:donorcharge:remove')") |
| | | @Log(title = "捐献案例器官列", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询捐献器官列表 |
| | | */ |
| | | @ApiOperation("查询捐献器官列表") |
| | | // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:list')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonorchargeorgan serviceDonorchargeorgan) { |
| | | log.info("查询捐献器官列表的入参:{}", serviceDonorchargeorgan); |
| | |
| | | * 导出捐献器官列表 |
| | | */ |
| | | @ApiOperation("导出捐献器官列表") |
| | | // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:export')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:export')") |
| | | @Log(title = "捐献器官", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonorchargeorgan serviceDonorchargeorgan) { |
| | |
| | | * 获取捐献器官详细信息 |
| | | */ |
| | | @ApiOperation("获取捐献器官详细信息") |
| | | // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:query')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceDonorchargeorganService.getById(id)); |
| | |
| | | * 新增捐献器官 |
| | | */ |
| | | @ApiOperation("新增捐献器官") |
| | | // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:add')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:add')") |
| | | @Log(title = "捐献器官", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献器官 |
| | | */ |
| | | @ApiOperation("修改捐献器官") |
| | | // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:edit')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:edit')") |
| | | @Log(title = "捐献器官", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献器官 |
| | | */ |
| | | @ApiOperation("删除捐献器官") |
| | | // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:remove')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:remove')") |
| | | @Log(title = "捐献器官", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询费用收款单列表 |
| | | */ |
| | | @ApiOperation("查询费用收款单列表") |
| | | @PreAuthorize("@ss.hasPermi('system:donorpayment:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonorpayment serviceDonorpayment) { |
| | | startPage(); |
| | |
| | | * 导出费用收款单列表 |
| | | */ |
| | | @ApiOperation("导出费用收款单列表") |
| | | @PreAuthorize("@ss.hasPermi('system:donorpayment:export')") |
| | | @Log(title = "费用收款单", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonorpayment serviceDonorpayment) { |
| | |
| | | * 获取费用收款单详细信息 |
| | | */ |
| | | @ApiOperation("获取费用收款单详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:donorpayment:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceDonorpaymentService.getById(id)); |
| | |
| | | * 新增费用收款单 |
| | | */ |
| | | @ApiOperation("新增费用收款单") |
| | | @PreAuthorize("@ss.hasPermi('system:donorpayment:add')") |
| | | @Log(title = "费用收款单", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改费用收款单 |
| | | */ |
| | | @ApiOperation("修改费用收款单") |
| | | @PreAuthorize("@ss.hasPermi('system:donorpayment:edit')") |
| | | @Log(title = "费用收款单", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除费用收款单 |
| | | */ |
| | | @ApiOperation("删除费用收款单") |
| | | @PreAuthorize("@ss.hasPermi('system:donorpayment:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:donorpayment:remove')") |
| | | @Log(title = "费用收款单", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | /** |
| | | * 查询伦理审查专家意见列表 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceEthicalreviewopinions serviceEthicalreviewopinions) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 导出伦理审查专家意见列表 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:export')") |
| | | @Log(title = "伦理审查专家意见", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceEthicalreviewopinions serviceEthicalreviewopinions) { |
| | |
| | | /** |
| | | * 获取伦理审查专家意见详细信息 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceEthicalreviewopinionsService.getById(id)); |
| | |
| | | /** |
| | | * 新增伦理审查专家意见 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:add')") |
| | | @Log(title = "伦理审查专家意见", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | // @NotRepeatCommit(key = "param:arg[1]", value = 30000) |
| | |
| | | /** |
| | | * 修改伦理审查专家意见 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:edit')") |
| | | @Log(title = "伦理审查专家意见", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | // @RepeatSubmit |
| | |
| | | /** |
| | | * 删除伦理审查专家意见 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:remove')") |
| | | @Log(title = "伦理审查专家意见", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | /** |
| | | * 查询外围单位人员列表 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:externalperson:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:externalperson:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceExternalperson serviceExternalperson) { |
| | | logger.info("询外围单位人员列表的入参为 :{}", serviceExternalperson); |
| | |
| | | /** |
| | | * 导出外围单位人员列表 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:externalperson:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:externalperson:export')") |
| | | @Log(title = "外围单位人员", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceExternalperson serviceExternalperson) { |
| | |
| | | /** |
| | | * 获取外围单位人员详细信息 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:externalperson:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:externalperson:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceExternalpersonService.getById(id)); |
| | |
| | | /** |
| | | * 新增外围单位人员 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:externalperson:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:externalperson:add')") |
| | | @Log(title = "外围单位人员", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | /** |
| | | * 修改外围单位人员 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:externalperson:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:externalperson:edit')") |
| | | @Log(title = "外围单位人员", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/editZJInfo") |
| | | @RepeatSubmit |
| | |
| | | /** |
| | | * 删除外围单位人员 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:externalperson:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:externalperson:remove')") |
| | | @Log(title = "外围单位人员", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | // * 查询人员和分组组别关联列表 |
| | | // */ |
| | | // @ApiOperation("查询人员和分组组别关联列表") |
| | | // @PreAuthorize("@ss.hasPermi('system:group:list')") |
| | | // // @PreAuthorize("@ss.hasPermi('system:group:list')") |
| | | // @GetMapping("/list") |
| | | // public TableDataInfo list(ServiceExternalpersonGroup serviceExternalpersonGroup) { |
| | | // startPage(); |
| | |
| | | * 导出人员和分组组别关联列表 |
| | | */ |
| | | @ApiOperation("导出人员和分组组别关联列表") |
| | | @PreAuthorize("@ss.hasPermi('system:group:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:group:export')") |
| | | @Log(title = "人员和分组组别关联", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceExternalpersonGroup serviceExternalpersonGroup) { |
| | |
| | | * 获取人员和分组组别关联详细信息 |
| | | */ |
| | | @ApiOperation("获取人员和分组组别关联详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:group:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:group:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceExternalpersonGroupService.getById(id)); |
| | |
| | | * 新增人员和分组组别关联 |
| | | */ |
| | | @ApiOperation("新增人员和分组组别关联") |
| | | @PreAuthorize("@ss.hasPermi('system:group:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:group:add')") |
| | | @Log(title = "人员和分组组别关联", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改人员和分组组别关联 |
| | | */ |
| | | @ApiOperation("修改人员和分组组别关联") |
| | | @PreAuthorize("@ss.hasPermi('system:group:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:group:edit')") |
| | | @Log(title = "人员和分组组别关联", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除人员和分组组别关联 |
| | | */ |
| | | @ApiOperation("删除人员和分组组别关联") |
| | | @PreAuthorize("@ss.hasPermi('system:group:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:group:remove')") |
| | | @Log(title = "人员和分组组别关联", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询费用申请主列表 |
| | | */ |
| | | @ApiOperation("查询费用申请主列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:fund:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:fund:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceFund serviceFund) { |
| | | startPage(); |
| | |
| | | } |
| | | |
| | | @ApiOperation("查询费用申请主列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:fund:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:fund:list')") |
| | | @GetMapping(value = "/getInfo/{infoid}") |
| | | public AjaxResult getInfoByInfoId(@PathVariable("infoid") Long infoid) { |
| | | return AjaxResult.success(serviceFundService.getInfoByInfoId(infoid)); |
| | |
| | | * 导出费用申请主列表 |
| | | */ |
| | | @ApiOperation("导出费用申请主列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:fund:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:fund:export')") |
| | | @Log(title = "费用申请主", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceFund serviceFund) { |
| | |
| | | * 获取费用申请主详细信息 |
| | | */ |
| | | @ApiOperation("获取费用申请主详细信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:fund:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:fund:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceFundService.getById(id)); |
| | |
| | | * 新增费用申请主 |
| | | */ |
| | | @ApiOperation("新增费用申请主") |
| | | //@PreAuthorize("@ss.hasPermi('project:fund:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:fund:add')") |
| | | @Log(title = "费用申请主", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 删除费用申请主 |
| | | */ |
| | | @ApiOperation("删除费用申请主") |
| | | //@PreAuthorize("@ss.hasPermi('project:fund:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:fund:remove')") |
| | | @Log(title = "费用申请主", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询费用申请主列表 |
| | | */ |
| | | @ApiOperation("查询费用申请主列表") |
| | | @PreAuthorize("@ss.hasPermi('system:shared:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:shared:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceFundShared serviceFundShared) { |
| | | startPage(); |
| | |
| | | * 导出费用申请主列表 |
| | | */ |
| | | @ApiOperation("导出费用申请主列表") |
| | | @PreAuthorize("@ss.hasPermi('system:shared:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:shared:export')") |
| | | @Log(title = "费用申请主", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceFundShared serviceFundShared) { |
| | |
| | | * 获取费用申请主详细信息 |
| | | */ |
| | | @ApiOperation("获取费用申请主详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:shared:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:shared:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceFundSharedService.getById(id)); |
| | |
| | | * 新增费用申请主 |
| | | */ |
| | | @ApiOperation("新增费用申请主") |
| | | @PreAuthorize("@ss.hasPermi('system:shared:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:shared:add')") |
| | | @Log(title = "费用申请主", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改费用申请主 |
| | | */ |
| | | @ApiOperation("修改费用申请主") |
| | | @PreAuthorize("@ss.hasPermi('system:shared:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:shared:edit')") |
| | | @Log(title = "费用申请主", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @RepeatSubmit |
| | |
| | | * 删除费用申请主 |
| | | */ |
| | | @ApiOperation("删除费用申请主") |
| | | @PreAuthorize("@ss.hasPermi('system:shared:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:shared:remove')") |
| | | @Log(title = "费用申请主", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询费用申请明细列表 |
| | | */ |
| | | @ApiOperation("查询费用申请明细列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:funddetail:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:funddetail:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceFunddetail serviceFunddetail) { |
| | | startPage(); |
| | |
| | | * 导出费用申请明细列表 |
| | | */ |
| | | @ApiOperation("导出费用申请明细列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:funddetail:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:funddetail:export')") |
| | | @Log(title = "费用申请明细", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceFunddetail serviceFunddetail) { |
| | |
| | | * 获取费用申请明细详细信息 |
| | | */ |
| | | @ApiOperation("获取费用申请明细详细信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:funddetail:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:funddetail:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceFunddetailService.getById(id)); |
| | |
| | | * 新增费用申请明细 |
| | | */ |
| | | @ApiOperation("新增费用申请明细") |
| | | //@PreAuthorize("@ss.hasPermi('project:funddetail:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:funddetail:add')") |
| | | @Log(title = "费用申请明细", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @NotRepeatCommit(key = "param:arg[1]", value = 30000) |
| | |
| | | * 修改费用申请明细 |
| | | */ |
| | | @ApiOperation("修改费用申请明细") |
| | | //@PreAuthorize("@ss.hasPermi('project:funddetail:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:funddetail:edit')") |
| | | @Log(title = "费用申请明细", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @NotRepeatCommit(key = "param:arg[1]", value = 30000) |
| | |
| | | * 删除费用申请明细 |
| | | */ |
| | | @ApiOperation("删除费用申请明细") |
| | | //@PreAuthorize("@ss.hasPermi('project:funddetail:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:funddetail:remove')") |
| | | @Log(title = "费用申请明细", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询费用申请明细列表 |
| | | */ |
| | | @ApiOperation("查询费用申请明细列表") |
| | | @PreAuthorize("@ss.hasPermi('project:funddetailshared:list')") |
| | | // @PreAuthorize("@ss.hasPermi('project:funddetailshared:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceFunddetailShared serviceFunddetailShared) |
| | | { |
| | |
| | | * 导出费用申请明细列表 |
| | | */ |
| | | @ApiOperation("导出费用申请明细列表") |
| | | @PreAuthorize("@ss.hasPermi('project:funddetailshared:export')") |
| | | // @PreAuthorize("@ss.hasPermi('project:funddetailshared:export')") |
| | | @Log(title = "费用申请明细", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceFunddetailShared serviceFunddetailShared) |
| | |
| | | * 获取费用申请明细详细信息 |
| | | */ |
| | | @ApiOperation("获取费用申请明细详细信息") |
| | | @PreAuthorize("@ss.hasPermi('project:funddetailshared:query')") |
| | | // @PreAuthorize("@ss.hasPermi('project:funddetailshared:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | * 新增费用申请明细 |
| | | */ |
| | | @ApiOperation("新增费用申请明细") |
| | | @PreAuthorize("@ss.hasPermi('project:funddetailshared:add')") |
| | | // @PreAuthorize("@ss.hasPermi('project:funddetailshared:add')") |
| | | @Log(title = "费用申请明细", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改费用申请明细 |
| | | */ |
| | | @ApiOperation("修改费用申请明细") |
| | | @PreAuthorize("@ss.hasPermi('project:funddetailshared:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('project:funddetailshared:edit')") |
| | | @Log(title = "费用申请明细", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除费用申请明细 |
| | | */ |
| | | @ApiOperation("删除费用申请明细") |
| | | @PreAuthorize("@ss.hasPermi('project:funddetailshared:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('project:funddetailshared:remove')") |
| | | @Log(title = "费用申请明细", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | |
| | | // * 导出专家费用算税申请主列表 |
| | | // */ |
| | | // @ApiOperation("导出专家费用算税申请主列表") |
| | | // @PreAuthorize("@ss.hasPermi('system:fundtax:export')") |
| | | // // @PreAuthorize("@ss.hasPermi('system:fundtax:export')") |
| | | // @Log(title = "专家费用算税申请主", businessType = BusinessType.EXPORT) |
| | | // @GetMapping("/export") |
| | | // public AjaxResult export(ServiceFundtax serviceFundtax) { |
| | |
| | | * 查询医学评估列表 |
| | | */ |
| | | @ApiOperation("获取医疗评估列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:medicalevaluation:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:medicalevaluation:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceMedicalevaluation serviceMedicalevaluation) { |
| | | startPage(); |
| | |
| | | * 导出医学评估列表 |
| | | */ |
| | | @ApiOperation("导出医疗评估列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:medicalevaluation:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:medicalevaluation:export')") |
| | | @Log(title = "医学评估", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceMedicalevaluation serviceMedicalevaluation) { |
| | |
| | | * 获取医学评估详细信息 |
| | | */ |
| | | @ApiOperation("通过id获取医疗评估信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:medicalevaluation:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:medicalevaluation:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceMedicalevaluationService.getById(id)); |
| | |
| | | * 新增医学评估 |
| | | */ |
| | | @ApiOperation("新增医学评估") |
| | | //@PreAuthorize("@ss.hasPermi('project:medicalevaluation:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:medicalevaluation:add')") |
| | | @Log(title = "医学评估", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | // @NotRepeatCommit(key = "param:arg[1]", value = 30000) |
| | |
| | | * 修改医学评估 |
| | | */ |
| | | @ApiOperation("修改医学评估") |
| | | //@PreAuthorize("@ss.hasPermi('project:medicalevaluation:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:medicalevaluation:edit')") |
| | | @Log(title = "医学评估", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | // @NotRepeatCommit(key = "param:arg[1]", value = 30000) |
| | |
| | | * 删除医学评估 |
| | | */ |
| | | @ApiOperation("删除医学评估") |
| | | //@PreAuthorize("@ss.hasPermi('project:medicalevaluation:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:medicalevaluation:remove')") |
| | | @Log(title = "医学评估", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询器官分配列表 |
| | | */ |
| | | @ApiOperation("器官分配信息列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organallocation:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceOrganallocation serviceOrganallocation) { |
| | | startPage(); |
| | |
| | | * 导出器官分配列表 |
| | | */ |
| | | @ApiOperation("导出器官分配信息列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organallocation:export')") |
| | | @Log(title = "器官分配", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceOrganallocation serviceOrganallocation) { |
| | |
| | | * 获取器官分配详细信息 |
| | | */ |
| | | @ApiOperation("通过id获取器官分配信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organallocation:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceOrganallocationService.getById(id)); |
| | |
| | | * 新增器官分配 |
| | | */ |
| | | @ApiOperation("新增器官分配信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organallocation:add')") |
| | | @Log(title = "器官分配", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @NotRepeatCommit(key = "param:arg[1]", value = 30000) |
| | |
| | | * 修改器官分配 |
| | | */ |
| | | @ApiOperation("修改器官分配信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organallocation:edit')") |
| | | @Log(title = "器官分配", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 修改器官分配 |
| | | */ |
| | | @ApiOperation("修改器官分配信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organallocation:edit')") |
| | | @Log(title = "器官分配", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/editarraydata") |
| | | @RepeatSubmit |
| | |
| | | * 删除器官分配 |
| | | */ |
| | | @ApiOperation("删除器官分配信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organallocation:remove')") |
| | | @Log(title = "器官分配", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询报销申请列表 |
| | | */ |
| | | @ApiOperation("查询报销申请列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursement:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursement:list')") |
| | | @Log(title = "查询报销申请列表", businessType = BusinessType.OTHER) |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceReimbursement serviceReimbursement) { |
| | |
| | | * 导出报销申请列表 |
| | | */ |
| | | @ApiOperation("导出报销申请列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursement:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursement:export')") |
| | | @Log(title = "报销申请", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceReimbursement serviceReimbursement) { |
| | |
| | | * 获取报销申请详细信息 |
| | | */ |
| | | @ApiOperation("获取报销申请详细信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursement:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursement:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceReimbursementService.getById(id)); |
| | |
| | | * 新增报销申请 |
| | | */ |
| | | @ApiOperation("新增报销申请") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursement:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursement:add')") |
| | | @Log(title = "报销申请", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改报销申请 |
| | | */ |
| | | @ApiOperation("修改报销申请") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursement:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursement:edit')") |
| | | @Log(title = "报销申请", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/reimbursementEdit") |
| | | @RepeatSubmit |
| | |
| | | * 修改报销申请 |
| | | */ |
| | | @ApiOperation("修改报销申请") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursement:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursement:edit')") |
| | | @Log(title = "审核费用", businessType = BusinessType.OTHER) |
| | | @PostMapping("/editMoney") |
| | | public AjaxResult editMoney(@RequestBody List<ReimbursementService> serviceReimbursement) { |
| | |
| | | * 删除报销申请 |
| | | */ |
| | | @ApiOperation("删除报销申请") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursement:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursement:remove')") |
| | | @Log(title = "报销申请") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询报销申请列表 |
| | | */ |
| | | @ApiOperation("查询报销申请列表") |
| | | //@PreAuthorize("@ss.hasPermi('system:shared:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('system:shared:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceReimbursementShared serviceReimbursementShared) |
| | | { |
| | |
| | | * 导出报销申请列表 |
| | | */ |
| | | @ApiOperation("导出报销申请列表") |
| | | //@PreAuthorize("@ss.hasPermi('system:shared:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('system:shared:export')") |
| | | @Log(title = "报销申请", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceReimbursementShared serviceReimbursementShared) |
| | |
| | | * 获取报销申请详细信息 |
| | | */ |
| | | @ApiOperation("获取报销申请详细信息") |
| | | //@PreAuthorize("@ss.hasPermi('system:shared:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('system:shared:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | // * 新增报销申请 |
| | | // */ |
| | | // @ApiOperation("新增报销申请") |
| | | // //@PreAuthorize("@ss.hasPermi('system:shared:add')") |
| | | // //// @PreAuthorize("@ss.hasPermi('system:shared:add')") |
| | | // @Log(title = "报销申请", businessType = BusinessType.INSERT) |
| | | // @PostMapping |
| | | // @RepeatSubmit |
| | |
| | | * 修改报销申请 |
| | | */ |
| | | @ApiOperation("修改报销申请") |
| | | //@PreAuthorize("@ss.hasPermi('system:shared:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('system:shared:edit')") |
| | | @Log(title = "报销申请", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @RepeatSubmit |
| | |
| | | * 删除报销申请 |
| | | */ |
| | | @ApiOperation("删除报销申请") |
| | | @PreAuthorize("@ss.hasPermi('system:shared:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:shared:remove')") |
| | | @Log(title = "报销申请", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | |
| | | * 查询报销申请明细列表 |
| | | */ |
| | | @ApiOperation("查询报销申请明细列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursementdetail:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceReimbursementdetail serviceReimbursementdetail) { |
| | | startPage(); |
| | |
| | | * 导出报销申请明细列表 |
| | | */ |
| | | @ApiOperation("导出报销申请明细列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursementdetail:export')") |
| | | @Log(title = "报销申请明细", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceReimbursementdetail serviceReimbursementdetail) { |
| | |
| | | * 获取报销申请明细详细信息 |
| | | */ |
| | | @ApiOperation("获取报销申请明细详细信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursementdetail:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceReimbursementdetailService.getById(id)); |
| | |
| | | * 新增报销申请明细 |
| | | */ |
| | | @ApiOperation("新增报销申请明细") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursementdetail:add')") |
| | | @Log(title = "报销申请明细", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改报销申请明细 |
| | | */ |
| | | @ApiOperation("修改报销申请明细") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursementdetail:edit')") |
| | | @Log(title = "修改申请明细", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/updateRDlList") |
| | | public AjaxResult updateRDlList(@RequestBody List<ServiceReimbursementdetail> serviceReimbursementdetails) { |
| | |
| | | * 修改报销申请明细 |
| | | */ |
| | | @ApiOperation("修改报销申请明细") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursementdetail:edit')") |
| | | @Log(title = "报销申请明细", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/reimbursementdetailEdit") |
| | | //@RepeatSubmit |
| | |
| | | * 删除报销申请明细 |
| | | */ |
| | | @ApiOperation("删除报销申请明细") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursementdetail:remove')") |
| | | @Log(title = "报销申请明细", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询报销申请明细列表 |
| | | */ |
| | | @ApiOperation("查询报销申请明细列表") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:list')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceReimbursementdetailShared serviceReimbursementdetailShared) |
| | | { |
| | |
| | | * 导出报销申请明细列表 |
| | | */ |
| | | @ApiOperation("导出报销申请明细列表") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:export')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:export')") |
| | | @Log(title = "报销申请明细", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceReimbursementdetailShared serviceReimbursementdetailShared) |
| | |
| | | * 获取报销申请明细详细信息 |
| | | */ |
| | | @ApiOperation("获取报销申请明细详细信息") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:query')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | * 新增报销申请明细 |
| | | */ |
| | | @ApiOperation("新增报销申请明细") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:add')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:add')") |
| | | @Log(title = "报销申请明细", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改报销申请明细 |
| | | */ |
| | | @ApiOperation("修改报销申请明细") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:edit')") |
| | | @Log(title = "报销申请明细", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除报销申请明细 |
| | | */ |
| | | @ApiOperation("删除报销申请明细") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:remove')") |
| | | @Log(title = "报销申请明细", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | |
| | | * 查询差旅报销付款信息列表 |
| | | */ |
| | | @ApiOperation("查询差旅报销付款信息列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursementpayee:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody ServiceReimbursementpayee serviceReimbursementpayee) { |
| | | startPage(); |
| | |
| | | * 导出差旅报销付款信息列表 |
| | | */ |
| | | @ApiOperation("导出差旅报销付款信息列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursementpayee:export')") |
| | | @Log(title = "差旅报销付款信息", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceReimbursementpayee serviceReimbursementpayee) { |
| | |
| | | * 获取差旅报销付款信息详细信息 |
| | | */ |
| | | @ApiOperation("获取差旅报销付款信息详细信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursementpayee:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") String id) { |
| | | return AjaxResult.success(serviceReimbursementpayeeService.getById(id)); |
| | |
| | | * 新增差旅报销付款信息 |
| | | */ |
| | | @ApiOperation("新增差旅报销付款信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursementpayee:add')") |
| | | @Log(title = "差旅报销付款信息", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改差旅报销付款信息 |
| | | */ |
| | | @ApiOperation("修改差旅报销付款信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursementpayee:edit')") |
| | | @Log(title = "差旅报销付款信息", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/reimbursementpayeeEdit") |
| | | @RepeatSubmit |
| | |
| | | * 删除差旅报销付款信息 |
| | | */ |
| | | @ApiOperation("删除差旅报销付款信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursementpayee:remove')") |
| | | @Log(title = "差旅报销付款信息", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable String[] ids) { |
| | |
| | | * 查询差旅报销付款信息列表 |
| | | */ |
| | | @ApiOperation("查询差旅报销付款信息列表") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:list')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceReimbursementpayeeShared serviceReimbursementpayeeShared) |
| | | { |
| | |
| | | * 导出差旅报销付款信息列表 |
| | | */ |
| | | @ApiOperation("导出差旅报销付款信息列表") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:export')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:export')") |
| | | @Log(title = "差旅报销付款信息", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceReimbursementpayeeShared serviceReimbursementpayeeShared) |
| | |
| | | * 获取差旅报销付款信息详细信息 |
| | | */ |
| | | @ApiOperation("获取差旅报销付款信息详细信息") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:query')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | * 新增差旅报销付款信息 |
| | | */ |
| | | @ApiOperation("新增差旅报销付款信息") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:add')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:add')") |
| | | @Log(title = "差旅报销付款信息", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改差旅报销付款信息 |
| | | */ |
| | | @ApiOperation("修改差旅报销付款信息") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:edit')") |
| | | @Log(title = "差旅报销付款信息", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除差旅报销付款信息 |
| | | */ |
| | | @ApiOperation("删除差旅报销付款信息") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:remove')") |
| | | @Log(title = "差旅报销付款信息", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | |
| | | * 查询捐献亲属确认列表 |
| | | */ |
| | | @ApiOperation("获取亲属确认列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceRelativesconfirmation serviceRelativesconfirmation) { |
| | | startPage(); |
| | |
| | | * 导出捐献亲属确认列表 |
| | | */ |
| | | @ApiOperation("导出亲属确认列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:export')") |
| | | @Log(title = "捐献亲属确认", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceRelativesconfirmation serviceRelativesconfirmation) { |
| | |
| | | * 获取捐献亲属确认详细信息 |
| | | */ |
| | | @ApiOperation("通过id获取亲属确认信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceRelativesconfirmationService.getById(id)); |
| | |
| | | * 新增捐献亲属确认 |
| | | */ |
| | | @ApiOperation("新增亲属确认") |
| | | //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:add')") |
| | | @Log(title = "捐献亲属确认", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献亲属确认 |
| | | */ |
| | | @ApiOperation("修改亲属确认") |
| | | //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:edit')") |
| | | @Log(title = "捐献亲属确认", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献亲属确认 |
| | | */ |
| | | @ApiOperation("删除亲属确认") |
| | | //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:remove')") |
| | | @Log(title = "捐献亲属确认", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 导出系统消息列表 |
| | | */ |
| | | @ApiOperation("导出系统消息列表") |
| | | @PreAuthorize("@ss.hasPermi('project:systemmessage:export')") |
| | | // @PreAuthorize("@ss.hasPermi('project:systemmessage:export')") |
| | | @Log(title = "系统消息", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceSystemmessage serviceSystemmessage) { |
| | |
| | | * 新增系统消息 |
| | | */ |
| | | @ApiOperation("新增系统消息") |
| | | @PreAuthorize("@ss.hasPermi('project:systemmessage:add')") |
| | | // @PreAuthorize("@ss.hasPermi('project:systemmessage:add')") |
| | | @Log(title = "系统消息", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 删除系统消息 |
| | | */ |
| | | @ApiOperation("删除系统消息") |
| | | @PreAuthorize("@ss.hasPermi('project:systemmessage:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('project:systemmessage:remove')") |
| | | @Log(title = "系统消息", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 查询VIEW列表 |
| | | */ |
| | | @ApiOperation("查询VIEW列表") |
| | | @PreAuthorize("@ss.hasPermi('system:expert:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:expert:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(VExpertfeeExpert vExpertfeeExpert) |
| | | { |
| | |
| | | * 导出VIEW列表 |
| | | */ |
| | | @ApiOperation("导出VIEW列表") |
| | | @PreAuthorize("@ss.hasPermi('system:expert:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:expert:export')") |
| | | @Log(title = "VIEW", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(VExpertfeeExpert vExpertfeeExpert) |
| | |
| | | * 获取VIEW详细信息 |
| | | */ |
| | | @ApiOperation("获取VIEW详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:expert:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:expert:query')") |
| | | @GetMapping(value = "/{fundTaxId}") |
| | | public AjaxResult getInfo(@PathVariable("fundTaxId") Long fundTaxId) |
| | | { |
| | |
| | | * 新增VIEW |
| | | */ |
| | | @ApiOperation("新增VIEW") |
| | | @PreAuthorize("@ss.hasPermi('system:expert:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:expert:add')") |
| | | @Log(title = "VIEW", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @RepeatSubmit |
| | |
| | | * 修改VIEW |
| | | */ |
| | | @ApiOperation("修改VIEW") |
| | | @PreAuthorize("@ss.hasPermi('system:expert:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:expert:edit')") |
| | | @Log(title = "VIEW", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @RepeatSubmit |
| | |
| | | * 删除VIEW |
| | | */ |
| | | @ApiOperation("删除VIEW") |
| | | @PreAuthorize("@ss.hasPermi('system:expert:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:expert:remove')") |
| | | @Log(title = "VIEW", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{fundTaxIds}") |
| | | public AjaxResult remove(@PathVariable Long[] fundTaxIds) |
| | |
| | | * 查询VIEW列表 |
| | | */ |
| | | @ApiOperation("查询VIEW列表") |
| | | @PreAuthorize("@ss.hasPermi('system:total:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:total:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(VExpertfeeTotal vExpertfeeTotal) |
| | | { |
| | |
| | | * 导出VIEW列表 |
| | | */ |
| | | @ApiOperation("导出VIEW列表") |
| | | @PreAuthorize("@ss.hasPermi('system:total:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:total:export')") |
| | | @Log(title = "VIEW", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(VExpertfeeTotal vExpertfeeTotal) |
| | |
| | | * 获取VIEW详细信息 |
| | | */ |
| | | @ApiOperation("获取VIEW详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:total:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:total:query')") |
| | | @GetMapping(value = "/{fundTaxId}") |
| | | public AjaxResult getInfo(@PathVariable("fundTaxId") Long fundTaxId) |
| | | { |
| | |
| | | * 新增VIEW |
| | | */ |
| | | @ApiOperation("新增VIEW") |
| | | @PreAuthorize("@ss.hasPermi('system:total:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:total:add')") |
| | | @Log(title = "VIEW", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @RepeatSubmit |
| | |
| | | * 修改VIEW |
| | | */ |
| | | @ApiOperation("修改VIEW") |
| | | @PreAuthorize("@ss.hasPermi('system:total:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:total:edit')") |
| | | @Log(title = "VIEW", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @RepeatSubmit |
| | |
| | | * 删除VIEW |
| | | */ |
| | | @ApiOperation("删除VIEW") |
| | | @PreAuthorize("@ss.hasPermi('system:total:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:total:remove')") |
| | | @Log(title = "VIEW", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{fundTaxIds}") |
| | | public AjaxResult remove(@PathVariable Long[] fundTaxIds) |
| | |
| | | * 查询器官信息登记新列表 |
| | | */ |
| | | @ApiOperation("获取器官登记列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:register:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:register:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(VServiceDonateorganRegister vServiceDonateorganRegister) |
| | | { |
| | |
| | | * 导出器官信息登记新列表 |
| | | */ |
| | | @ApiOperation("导出器官登记列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:register:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:register:export')") |
| | | @Log(title = "器官信息登记新", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(VServiceDonateorganRegister vServiceDonateorganRegister) |
| | |
| | | * 获取器官信息登记新详细信息 |
| | | */ |
| | | @ApiOperation("通过id获取器官登记信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:register:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:register:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | * 新增器官信息登记新 |
| | | */ |
| | | @ApiOperation("新增器官登记") |
| | | //@PreAuthorize("@ss.hasPermi('project:register:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:register:add')") |
| | | @Log(title = "器官信息登记新", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改器官信息登记新 |
| | | */ |
| | | @ApiOperation("修改器官登记") |
| | | //@PreAuthorize("@ss.hasPermi('project:register:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:register:edit')") |
| | | @Log(title = "器官信息登记新", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @RepeatSubmit |
| | |
| | | * 删除器官信息登记新 |
| | | */ |
| | | @ApiOperation("删除器官登记") |
| | | //@PreAuthorize("@ss.hasPermi('project:register:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:register:remove')") |
| | | @Log(title = "器官信息登记新", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | |
| | | /** |
| | | * 查询班级信息列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:class:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:class:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysClass sysClass) |
| | | { |
| | |
| | | /** |
| | | * 导出班级信息列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:class:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:class:export')") |
| | | @Log(title = "班级信息", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(SysClass sysClass) |
| | |
| | | /** |
| | | * 获取班级信息详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:class:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:class:query')") |
| | | @GetMapping(value = "/{classId}") |
| | | public AjaxResult getInfo(@PathVariable("classId") Long classId) |
| | | { |
| | |
| | | /** |
| | | * 新增班级信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:class:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:class:add')") |
| | | @Log(title = "班级信息", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @RepeatSubmit |
| | |
| | | /** |
| | | * 修改班级信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:class:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:class:edit')") |
| | | @Log(title = "班级信息", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | /** |
| | | * 删除班级信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:class:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:class:remove')") |
| | | @Log(title = "班级信息", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{classIds}") |
| | | public AjaxResult remove(@PathVariable Long[] classIds) |
| | |
| | | /** |
| | | * 获取参数配置列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:config:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:config:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysConfig config) |
| | | { |
| | |
| | | } |
| | | |
| | | @Log(title = "参数管理", businessType = BusinessType.EXPORT) |
| | | @PreAuthorize("@ss.hasPermi('system:config:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:config:export')") |
| | | @GetMapping("/export") |
| | | public AjaxResult export(SysConfig config) |
| | | { |
| | |
| | | /** |
| | | * 根据参数编号获取详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:config:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:config:query')") |
| | | @GetMapping(value = "/{configId}") |
| | | public AjaxResult getInfo(@PathVariable Long configId) |
| | | { |
| | |
| | | /** |
| | | * 新增参数配置 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:config:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:config:add')") |
| | | @Log(title = "参数管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @RepeatSubmit |
| | |
| | | /** |
| | | * 修改参数配置 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:config:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:config:edit')") |
| | | @Log(title = "参数管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@Validated @RequestBody SysConfig config) |
| | |
| | | /** |
| | | * 删除参数配置 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:config:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:config:remove')") |
| | | @Log(title = "参数管理", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{configIds}") |
| | | public AjaxResult remove(@PathVariable Long[] configIds) |
| | |
| | | /** |
| | | * 刷新参数缓存 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:config:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:config:remove')") |
| | | @Log(title = "参数管理", businessType = BusinessType.CLEAN) |
| | | @GetMapping("/refreshCache") |
| | | public AjaxResult refreshCache() |
| | |
| | | /** |
| | | * 获取部门列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:dept:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dept:list')") |
| | | @GetMapping("/list") |
| | | public AjaxResult list(SysDept dept) |
| | | { |
| | |
| | | /** |
| | | * 查询部门列表(排除节点) |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:dept:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dept:list')") |
| | | @GetMapping("/list/exclude/{deptId}") |
| | | public AjaxResult excludeChild(@PathVariable(value = "deptId", required = false) Long deptId) |
| | | { |
| | |
| | | /** |
| | | * 根据部门编号获取详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:dept:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dept:query')") |
| | | @GetMapping(value = "/{deptId}") |
| | | public AjaxResult getInfo(@PathVariable Long deptId) |
| | | { |
| | |
| | | /** |
| | | * 新增部门 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:dept:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dept:add')") |
| | | @Log(title = "部门管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@Validated @RequestBody SysDept dept) |
| | |
| | | /** |
| | | * 修改部门 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:dept:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dept:edit')") |
| | | @Log(title = "部门管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@Validated @RequestBody SysDept dept) |
| | |
| | | /** |
| | | * 删除部门 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:dept:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dept:remove')") |
| | | @Log(title = "部门管理", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{deptId}") |
| | | public AjaxResult remove(@PathVariable Long deptId) |
| | |
| | | @Autowired |
| | | private ISysDictTypeService dictTypeService; |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:dict:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dict:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysDictData dictData) |
| | | { |
| | |
| | | } |
| | | |
| | | @Log(title = "字典数据", businessType = BusinessType.EXPORT) |
| | | @PreAuthorize("@ss.hasPermi('system:dict:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dict:export')") |
| | | @GetMapping("/export") |
| | | public AjaxResult export(SysDictData dictData) |
| | | { |
| | |
| | | /** |
| | | * 查询字典数据详细 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:dict:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dict:query')") |
| | | @GetMapping(value = "/{dictCode}") |
| | | public AjaxResult getInfo(@PathVariable Long dictCode) |
| | | { |
| | |
| | | /** |
| | | * 新增字典类型 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:dict:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dict:add')") |
| | | @Log(title = "字典数据", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@Validated @RequestBody SysDictData dict) |
| | |
| | | /** |
| | | * 修改保存字典类型 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:dict:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dict:edit')") |
| | | @Log(title = "字典数据", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@Validated @RequestBody SysDictData dict) |
| | |
| | | /** |
| | | * 删除字典类型 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:dict:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dict:remove')") |
| | | @Log(title = "字典类型", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{dictCodes}") |
| | | public AjaxResult remove(@PathVariable Long[] dictCodes) |
| | |
| | | @Autowired |
| | | private ISysDictTypeService dictTypeService; |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:dict:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dict:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysDictType dictType) |
| | | { |
| | |
| | | } |
| | | |
| | | @Log(title = "字典类型", businessType = BusinessType.EXPORT) |
| | | @PreAuthorize("@ss.hasPermi('system:dict:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dict:export')") |
| | | @GetMapping("/export") |
| | | public AjaxResult export(SysDictType dictType) |
| | | { |
| | |
| | | /** |
| | | * 查询字典类型详细 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:dict:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dict:query')") |
| | | @GetMapping(value = "/{dictId}") |
| | | public AjaxResult getInfo(@PathVariable Long dictId) |
| | | { |
| | |
| | | /** |
| | | * 新增字典类型 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:dict:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dict:add')") |
| | | @Log(title = "字典类型", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@Validated @RequestBody SysDictType dict) |
| | |
| | | /** |
| | | * 修改字典类型 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:dict:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dict:edit')") |
| | | @Log(title = "字典类型", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@Validated @RequestBody SysDictType dict) |
| | |
| | | /** |
| | | * 删除字典类型 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:dict:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dict:remove')") |
| | | @Log(title = "字典类型", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{dictIds}") |
| | | public AjaxResult remove(@PathVariable Long[] dictIds) |
| | |
| | | /** |
| | | * 刷新字典缓存 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:dict:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:dict:remove')") |
| | | @Log(title = "字典类型", businessType = BusinessType.CLEAN) |
| | | @GetMapping("/refreshCache") |
| | | public AjaxResult refreshCache() |
| | |
| | | /** |
| | | * 查询年级信息列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:grade:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:grade:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysGrade sysGrade) |
| | | { |
| | |
| | | /** |
| | | * 导出年级信息列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:grade:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:grade:export')") |
| | | @Log(title = "年级信息", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(SysGrade sysGrade) |
| | |
| | | /** |
| | | * 获取年级信息详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:grade:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:grade:query')") |
| | | @GetMapping(value = "/{gradeId}") |
| | | public AjaxResult getInfo(@PathVariable("gradeId") Long gradeId) |
| | | { |
| | |
| | | /** |
| | | * 新增年级信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:grade:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:grade:add')") |
| | | @Log(title = "年级信息", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @RepeatSubmit |
| | |
| | | /** |
| | | * 修改年级信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:grade:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:grade:edit')") |
| | | @Log(title = "年级信息", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | /** |
| | | * 删除年级信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:grade:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:grade:remove')") |
| | | @Log(title = "年级信息", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{gradeIds}") |
| | | public AjaxResult remove(@PathVariable Long[] gradeIds) |
| | |
| | | * 获取菜单列表 |
| | | */ |
| | | @ApiOperation("获取菜单列表") |
| | | /*@PreAuthorize("@ss.hasPermi('system:menu:list')")*/ |
| | | /*// @PreAuthorize("@ss.hasPermi('system:menu:list')")*/ |
| | | @GetMapping("/list") |
| | | public AjaxResult list(SysMenu menu) |
| | | { |
| | |
| | | /** |
| | | * 根据菜单编号获取详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:menu:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:menu:query')") |
| | | @GetMapping(value = "/{menuId}") |
| | | public AjaxResult getInfo(@PathVariable Long menuId) |
| | | { |
| | |
| | | /** |
| | | * 新增菜单 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:menu:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:menu:add')") |
| | | @Log(title = "菜单管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@Validated @RequestBody SysMenu menu) |
| | |
| | | /** |
| | | * 修改菜单 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:menu:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:menu:edit')") |
| | | @Log(title = "菜单管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@Validated @RequestBody SysMenu menu) |
| | |
| | | /** |
| | | * 删除菜单 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:menu:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:menu:remove')") |
| | | @Log(title = "菜单管理", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{menuId}") |
| | | public AjaxResult remove(@PathVariable("menuId") Long menuId) |
| | |
| | | /** |
| | | * 获取通知公告列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:notice:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:notice:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysNotice notice) |
| | | { |
| | |
| | | /** |
| | | * 根据通知公告编号获取详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:notice:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:notice:query')") |
| | | @GetMapping(value = "/{noticeId}") |
| | | public AjaxResult getInfo(@PathVariable Long noticeId) |
| | | { |
| | |
| | | /** |
| | | * 新增通知公告 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:notice:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:notice:add')") |
| | | @Log(title = "通知公告", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@Validated @RequestBody SysNotice notice) |
| | |
| | | /** |
| | | * 修改通知公告 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:notice:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:notice:edit')") |
| | | @Log(title = "通知公告", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@Validated @RequestBody SysNotice notice) |
| | |
| | | /** |
| | | * 删除通知公告 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:notice:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:notice:remove')") |
| | | @Log(title = "通知公告", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{noticeIds}") |
| | | public AjaxResult remove(@PathVariable Long[] noticeIds) |
| | |
| | | /** |
| | | * 获取岗位列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:post:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:post:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysPost post) |
| | | { |
| | |
| | | } |
| | | |
| | | @Log(title = "岗位管理", businessType = BusinessType.EXPORT) |
| | | @PreAuthorize("@ss.hasPermi('system:post:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:post:export')") |
| | | @GetMapping("/export") |
| | | public AjaxResult export(SysPost post) |
| | | { |
| | |
| | | /** |
| | | * 根据岗位编号获取详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:post:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:post:query')") |
| | | @GetMapping(value = "/{postId}") |
| | | public AjaxResult getInfo(@PathVariable Long postId) |
| | | { |
| | |
| | | /** |
| | | * 新增岗位 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:post:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:post:add')") |
| | | @Log(title = "岗位管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@Validated @RequestBody SysPost post) |
| | |
| | | /** |
| | | * 修改岗位 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:post:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:post:edit')") |
| | | @Log(title = "岗位管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@Validated @RequestBody SysPost post) |
| | |
| | | /** |
| | | * 删除岗位 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:post:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:post:remove')") |
| | | @Log(title = "岗位管理", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{postIds}") |
| | | public AjaxResult remove(@PathVariable Long[] postIds) |
| | |
| | | @Autowired |
| | | private ISysUserService userService; |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:role:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:role:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysRole role) |
| | | { |
| | |
| | | } |
| | | |
| | | @Log(title = "角色管理", businessType = BusinessType.EXPORT) |
| | | @PreAuthorize("@ss.hasPermi('system:role:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:role:export')") |
| | | @GetMapping("/export") |
| | | public AjaxResult export(SysRole role) |
| | | { |
| | |
| | | /** |
| | | * 根据角色编号获取详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:role:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:role:query')") |
| | | @GetMapping(value = "/{roleId}") |
| | | public AjaxResult getInfo(@PathVariable Long roleId) |
| | | { |
| | |
| | | /** |
| | | * 新增角色 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:role:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:role:add')") |
| | | @Log(title = "角色管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@Validated @RequestBody SysRole role) |
| | |
| | | /** |
| | | * 修改保存角色 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:role:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:role:edit')") |
| | | @Log(title = "角色管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@Validated @RequestBody SysRole role) |
| | |
| | | /** |
| | | * 修改保存数据权限 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:role:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:role:edit')") |
| | | @Log(title = "角色管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/dataScope") |
| | | public AjaxResult dataScope(@RequestBody SysRole role) |
| | |
| | | /** |
| | | * 状态修改 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:role:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:role:edit')") |
| | | @Log(title = "角色管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/changeStatus") |
| | | public AjaxResult changeStatus(@RequestBody SysRole role) |
| | |
| | | /** |
| | | * 删除角色 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:role:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:role:remove')") |
| | | @Log(title = "角色管理", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{roleIds}") |
| | | public AjaxResult remove(@PathVariable Long[] roleIds) |
| | |
| | | /** |
| | | * 获取角色选择框列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:role:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:role:query')") |
| | | @GetMapping("/optionselect") |
| | | public AjaxResult optionselect() |
| | | { |
| | |
| | | /** |
| | | * 查询已分配用户角色列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:role:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:role:list')") |
| | | @GetMapping("/authUser/allocatedList") |
| | | public TableDataInfo allocatedList(SysUser user) |
| | | { |
| | |
| | | /** |
| | | * 查询未分配用户角色列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:role:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:role:list')") |
| | | @GetMapping("/authUser/unallocatedList") |
| | | public TableDataInfo unallocatedList(SysUser user) |
| | | { |
| | |
| | | /** |
| | | * 取消授权用户 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:role:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:role:edit')") |
| | | @Log(title = "角色管理", businessType = BusinessType.GRANT) |
| | | @PostMapping("/authUser/cancel/cancelAuthUser") |
| | | public AjaxResult cancelAuthUser(@RequestBody SysUserRole userRole) |
| | |
| | | /** |
| | | * 批量取消授权用户 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:role:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:role:edit')") |
| | | @Log(title = "角色管理", businessType = BusinessType.GRANT) |
| | | @PostMapping("/authUser/cancelAll/cancelAuthUserAll") |
| | | public AjaxResult cancelAuthUserAll(Long roleId, Long[] userIds) |
| | |
| | | /** |
| | | * 批量选择用户授权 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:role:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:role:edit')") |
| | | @Log(title = "角色管理", businessType = BusinessType.GRANT) |
| | | @PostMapping("/authUser/selectAll/selectAuthUserAll") |
| | | public AjaxResult selectAuthUserAll(Long roleId, Long[] userIds) |
| | |
| | | /** |
| | | * 查询学生信息列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:student:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:student:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysStudent sysStudent) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 导出学生信息列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:student:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:student:export')") |
| | | @Log(title = "学生信息", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(SysStudent sysStudent) { |
| | |
| | | /** |
| | | * 获取学生信息详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:student:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:student:query')") |
| | | @GetMapping(value = "/{studentId}") |
| | | public AjaxResult getInfo(@PathVariable("studentId") Long studentId) { |
| | | return AjaxResult.success(sysStudentService.getById(studentId)); |
| | |
| | | /** |
| | | * 新增学生信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:student:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:student:add')") |
| | | @Log(title = "学生信息", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @RepeatSubmit |
| | |
| | | /** |
| | | * 修改学生信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:student:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:student:edit')") |
| | | @Log(title = "学生信息", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | /** |
| | | * 删除学生信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:student:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:student:remove')") |
| | | @Log(title = "学生信息", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{studentIds}") |
| | | public AjaxResult remove(@PathVariable Long[] studentIds) { |
| | |
| | | /** |
| | | * 获取用户列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:user:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:user:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysUser user) |
| | | { |
| | |
| | | } |
| | | |
| | | @Log(title = "用户管理", businessType = BusinessType.EXPORT) |
| | | @PreAuthorize("@ss.hasPermi('system:user:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:user:export')") |
| | | @GetMapping("/export") |
| | | public AjaxResult export(SysUser user) |
| | | { |
| | |
| | | } |
| | | |
| | | @Log(title = "用户管理", businessType = BusinessType.IMPORT) |
| | | @PreAuthorize("@ss.hasPermi('system:user:import')") |
| | | // @PreAuthorize("@ss.hasPermi('system:user:import')") |
| | | @PostMapping("/importData") |
| | | public AjaxResult importData(MultipartFile file, boolean updateSupport) throws Exception |
| | | { |
| | |
| | | /** |
| | | * 根据用户编号获取详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:user:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:user:query')") |
| | | @GetMapping(value = { "/", "/{userId}" }) |
| | | public AjaxResult getInfo(@PathVariable(value = "userId", required = false) Long userId) |
| | | { |
| | |
| | | /** |
| | | * 新增用户 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:user:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:user:add')") |
| | | @Log(title = "用户管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@Validated @RequestBody SysUser user) |
| | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:user:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:user:edit')") |
| | | @Log(title = "用户管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@Validated @RequestBody SysUser user) |
| | |
| | | /** |
| | | * 删除用户 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:user:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:user:remove')") |
| | | @Log(title = "用户管理", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{userIds}") |
| | | public AjaxResult remove(@PathVariable Long[] userIds) |
| | |
| | | /** |
| | | * 重置密码 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:user:resetPwd')") |
| | | // @PreAuthorize("@ss.hasPermi('system:user:resetPwd')") |
| | | @Log(title = "用户管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/resetPwd") |
| | | public AjaxResult resetPwd(@RequestBody SysUser user) |
| | |
| | | /** |
| | | * 状态修改 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:user:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:user:edit')") |
| | | @Log(title = "用户管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/changeStatus") |
| | | public AjaxResult changeStatus(@RequestBody SysUser user) |
| | |
| | | /** |
| | | * 根据用户编号获取授权角色 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:user:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:user:query')") |
| | | @GetMapping("/authRole/{userId}") |
| | | public AjaxResult authRole(@PathVariable("userId") Long userId) |
| | | { |
| | |
| | | /** |
| | | * 用户授权角色 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:user:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:user:edit')") |
| | | @Log(title = "用户管理", businessType = BusinessType.GRANT) |
| | | @PostMapping("/authRole/insertAuthRole") |
| | | public AjaxResult insertAuthRole(@RequestBody SysUser user) |
| | |
| | | @RequestMapping("/tool/swagger") |
| | | public class SwaggerController extends BaseController |
| | | { |
| | | @PreAuthorize("@ss.hasPermi('tool:swagger:view')") |
| | | // @PreAuthorize("@ss.hasPermi('tool:swagger:view')") |
| | | @GetMapping() |
| | | public String index() |
| | | { |
| | |
| | | /** |
| | | * 查询代码生成列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('tool:gen:list')") |
| | | // @PreAuthorize("@ss.hasPermi('tool:gen:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo genList(GenTable genTable) |
| | | { |
| | |
| | | /** |
| | | * 修改代码生成业务 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('tool:gen:query')") |
| | | // @PreAuthorize("@ss.hasPermi('tool:gen:query')") |
| | | @GetMapping(value = "/{talbleId}") |
| | | public AjaxResult getInfo(@PathVariable Long talbleId) |
| | | { |
| | |
| | | /** |
| | | * 查询数据库列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('tool:gen:list')") |
| | | // @PreAuthorize("@ss.hasPermi('tool:gen:list')") |
| | | @GetMapping("/db/list") |
| | | public TableDataInfo dataList(GenTable genTable) |
| | | { |
| | |
| | | /** |
| | | * 查询数据表字段列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('tool:gen:list')") |
| | | // @PreAuthorize("@ss.hasPermi('tool:gen:list')") |
| | | @GetMapping(value = "/column/{talbleId}") |
| | | public TableDataInfo columnList(Long tableId) |
| | | { |
| | |
| | | /** |
| | | * 导入表结构(保存) |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('tool:gen:import')") |
| | | // @PreAuthorize("@ss.hasPermi('tool:gen:import')") |
| | | @Log(title = "代码生成", businessType = BusinessType.IMPORT) |
| | | @PostMapping("/importTable") |
| | | public AjaxResult importTableSave(String tables) |
| | |
| | | /** |
| | | * 修改保存代码生成业务 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('tool:gen:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('tool:gen:edit')") |
| | | @Log(title = "代码生成", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/editSave") |
| | | public AjaxResult editSave(@Validated @RequestBody GenTable genTable) |
| | |
| | | /** |
| | | * 删除代码生成 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('tool:gen:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('tool:gen:remove')") |
| | | @Log(title = "代码生成", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{tableIds}") |
| | | public AjaxResult remove(@PathVariable Long[] tableIds) |
| | |
| | | /** |
| | | * 预览代码 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('tool:gen:preview')") |
| | | // @PreAuthorize("@ss.hasPermi('tool:gen:preview')") |
| | | @GetMapping("/preview/{tableId}") |
| | | public AjaxResult preview(@PathVariable("tableId") Long tableId) throws IOException |
| | | { |
| | |
| | | /** |
| | | * 生成代码(下载方式) |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('tool:gen:code')") |
| | | // @PreAuthorize("@ss.hasPermi('tool:gen:code')") |
| | | @Log(title = "代码生成", businessType = BusinessType.GENCODE) |
| | | @GetMapping("/download/{tableName}") |
| | | public void download(HttpServletResponse response, @PathVariable("tableName") String tableName) throws IOException |
| | |
| | | /** |
| | | * 生成代码(自定义路径) |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('tool:gen:code')") |
| | | // @PreAuthorize("@ss.hasPermi('tool:gen:code')") |
| | | @Log(title = "代码生成", businessType = BusinessType.GENCODE) |
| | | @GetMapping("/genCode/{tableName}") |
| | | public AjaxResult genCode(@PathVariable("tableName") String tableName) |
| | |
| | | /** |
| | | * 同步数据库 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('tool:gen:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('tool:gen:edit')") |
| | | @Log(title = "代码生成", businessType = BusinessType.UPDATE) |
| | | @GetMapping("/synchDb/{tableName}") |
| | | public AjaxResult synchDb(@PathVariable("tableName") String tableName) |
| | |
| | | /** |
| | | * 批量生成代码 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('tool:gen:code')") |
| | | // @PreAuthorize("@ss.hasPermi('tool:gen:code')") |
| | | @Log(title = "代码生成", businessType = BusinessType.GENCODE) |
| | | @GetMapping("/batchGenCode") |
| | | public void batchGenCode(HttpServletResponse response, String tables) throws IOException |
| | |
| | | * 查询${functionName}列表 |
| | | */ |
| | | @ApiOperation("查询${functionName}列表") |
| | | @PreAuthorize("@ss.hasPermi('${permissionPrefix}:list')") |
| | | // @PreAuthorize("@ss.hasPermi('${permissionPrefix}:list')") |
| | | @GetMapping("/list") |
| | | #if($table.crud || $table.sub) |
| | | public TableDataInfo list(${ClassName} ${className}) |
| | |
| | | * 导出${functionName}列表 |
| | | */ |
| | | @ApiOperation("导出${functionName}列表") |
| | | @PreAuthorize("@ss.hasPermi('${permissionPrefix}:export')") |
| | | // @PreAuthorize("@ss.hasPermi('${permissionPrefix}:export')") |
| | | @Log(title = "${functionName}", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(${ClassName} ${className}) |
| | |
| | | * 获取${functionName}详细信息 |
| | | */ |
| | | @ApiOperation("获取${functionName}详细信息") |
| | | @PreAuthorize("@ss.hasPermi('${permissionPrefix}:query')") |
| | | // @PreAuthorize("@ss.hasPermi('${permissionPrefix}:query')") |
| | | @GetMapping(value = "/{${pkColumn.javaField}}") |
| | | public AjaxResult getInfo(@PathVariable("${pkColumn.javaField}") ${pkColumn.javaType} ${pkColumn.javaField}) |
| | | { |
| | |
| | | * 新增${functionName} |
| | | */ |
| | | @ApiOperation("新增${functionName}") |
| | | @PreAuthorize("@ss.hasPermi('${permissionPrefix}:add')") |
| | | // @PreAuthorize("@ss.hasPermi('${permissionPrefix}:add')") |
| | | @Log(title = "${functionName}", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @RepeatSubmit |
| | |
| | | * 修改${functionName} |
| | | */ |
| | | @ApiOperation("修改${functionName}") |
| | | @PreAuthorize("@ss.hasPermi('${permissionPrefix}:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('${permissionPrefix}:edit')") |
| | | @Log(title = "${functionName}", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @RepeatSubmit |
| | |
| | | * 删除${functionName} |
| | | */ |
| | | @ApiOperation("删除${functionName}") |
| | | @PreAuthorize("@ss.hasPermi('${permissionPrefix}:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('${permissionPrefix}:remove')") |
| | | @Log(title = "${functionName}", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{${pkColumn.javaField}s}") |
| | | public AjaxResult remove(@PathVariable ${pkColumn.javaType}[] ${pkColumn.javaField}s) |
| | |
| | | /** |
| | | * 查询定时任务列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:list')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:job:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysJob sysJob) |
| | | { |
| | |
| | | /** |
| | | * 导出定时任务列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:export')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:job:export')") |
| | | @Log(title = "定时任务", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(SysJob sysJob) |
| | |
| | | /** |
| | | * 获取定时任务详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:query')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:job:query')") |
| | | @GetMapping(value = "/{jobId}") |
| | | public AjaxResult getInfo(@PathVariable("jobId") Long jobId) |
| | | { |
| | |
| | | /** |
| | | * 新增定时任务 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:add')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:job:add')") |
| | | @Log(title = "定时任务", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody SysJob job) throws SchedulerException, TaskException |
| | |
| | | /** |
| | | * 修改定时任务 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:job:edit')") |
| | | @Log(title = "定时任务", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SysJob job) throws SchedulerException, TaskException |
| | |
| | | /** |
| | | * 定时任务状态修改 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") |
| | | @Log(title = "定时任务", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/changeStatus") |
| | | public AjaxResult changeStatus(@RequestBody SysJob job) throws SchedulerException |
| | |
| | | /** |
| | | * 定时任务立即执行一次 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") |
| | | @Log(title = "定时任务", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/run") |
| | | public AjaxResult run(@RequestBody SysJob job) throws SchedulerException |
| | |
| | | /** |
| | | * 删除定时任务 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:job:remove')") |
| | | @Log(title = "定时任务", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{jobIds}") |
| | | public AjaxResult remove(@PathVariable Long[] jobIds) throws SchedulerException, TaskException |
| | |
| | | /** |
| | | * 查询定时任务调度日志列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:list')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:job:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysJobLog sysJobLog) |
| | | { |
| | |
| | | /** |
| | | * 导出定时任务调度日志列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:export')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:job:export')") |
| | | @Log(title = "任务调度日志", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(SysJobLog sysJobLog) |
| | |
| | | /** |
| | | * 根据调度编号获取详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:query')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:job:query')") |
| | | @GetMapping(value = "/{configId}") |
| | | public AjaxResult getInfo(@PathVariable Long jobLogId) |
| | | { |
| | |
| | | /** |
| | | * 删除定时任务调度日志 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:job:remove')") |
| | | @Log(title = "定时任务调度日志", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{jobLogIds}") |
| | | public AjaxResult remove(@PathVariable Long[] jobLogIds) |
| | |
| | | /** |
| | | * 清空定时任务调度日志 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('monitor:job:remove')") |
| | | @Log(title = "调度日志", businessType = BusinessType.CLEAN) |
| | | @GetMapping("/clean") |
| | | public AjaxResult clean() |