| | |
| | | return R.success("成功"); |
| | | } |
| | | |
| | | /** |
| | | * 新增或修改 |
| | | */ |
| | | @PostMapping("/examineList") |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "新增或修改", notes = "传入zc") |
| | | public R examineList(@Valid @RequestParam String ids,String names) { |
| | | zcService.updateExamine(ids,Func.toStrList(names)); |
| | | return R.success("成功"); |
| | | } |
| | | |
| | | /** |
| | | * 删除 |
| | |
| | | String phone = DesensitizedUtil.desensitizedPhoneNumber(zc.getPhone()); |
| | | |
| | | //帐号默认姓+身份证后四位 |
| | | zc.setUsername(name.substring(0,1)+zc.getCardid().substring(zc.getCardid().length()-4)); |
| | | zc.setUsername(name.substring(0, 1) + zc.getCardid().substring(zc.getCardid().length() - 4)); |
| | | Integer userCount = iUserService.selectCount(zc.getUsername()); |
| | | if (userCount > 0) { |
| | | throw new org.springblade.core.log.exception.ServiceException(StringUtil.format("当前用户 [{}] 已存在!", zc.getUsername())); |