| | |
| | | return AjaxResult.error("新增时身份证" + idcardno + "已存在,无法保存!"); |
| | | } |
| | | |
| | | |
| | | serviceDonatebaseinfo.setDonorno(bh); |
| | | serviceDonatebaseinfo.setDeptid(user.getDeptId()); |
| | | serviceDonatebaseinfo.setDeptname(sysDeptMapper.getDeptNameByDeptId(user.getDeptId())); |
| | | |
| | | return toAjax(serviceDonatebaseinfoService.save(serviceDonatebaseinfo)); |
| | | serviceDonatebaseinfoService.save(serviceDonatebaseinfo); |
| | | Map<String, Long> map = new HashMap<>(); |
| | | map.put("id", serviceDonatebaseinfo.getId()); |
| | | return AjaxResult.success(map); |
| | | } |
| | | |
| | | /** |
| | |
| | | return AjaxResult.success(serviceDonatebaseinfoService.countByRecordState(timeVO)); |
| | | } |
| | | |
| | | /** |
| | | * 获取捐献工作流 |
| | | */ |
| | | @ApiOperation("获取捐献工作流") |
| | | @GetMapping(value = "/getWorkFlow/{id}") |
| | | public AjaxResult getWorkFlow(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceDonatebaseinfoService.getWorkFlow(id)); |
| | | } |
| | | |
| | | } |