董监任免申报

This commit is contained in:
zhuyy 2023-02-03 11:56:00 +08:00
parent fcdfcf9dc1
commit 40c03a342d
2 changed files with 4 additions and 7 deletions

View File

@ -31,6 +31,10 @@ public class DirectorsSupervisors extends BaseEntity {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "企业Id")
@NotBlank(message = "企业Id不能为空")
private String organizationId;
@ApiModelProperty(value = "姓名") @ApiModelProperty(value = "姓名")
@NotBlank(message = "姓名不能为空") @NotBlank(message = "姓名不能为空")
private String username; private String username;

View File

@ -44,13 +44,6 @@ public class MechanismServiceImpl extends BaseService<MechanismMapper, Mechanism
int i = mechanismMapper.deleteBatchIds(Arrays.asList(id.getIds())); int i = mechanismMapper.deleteBatchIds(Arrays.asList(id.getIds()));
return i > 0 ? AjaxResult.ok().msg("删除成功!") : AjaxResult.fail().msg("删除失败!"); return i > 0 ? AjaxResult.ok().msg("删除成功!") : AjaxResult.fail().msg("删除失败!");
} }
// Mechanism mechanism = mechanismMapper.selectById(id);
// if (ObjectUtil.isNull(mechanism)) {
// return AjaxResult.fail().msg("未找到相关信息!");
// } else {
// int i = mechanismMapper.deleteById(mechanism.getId());
// return i > 0 ? AjaxResult.ok().msg("删除成功!") : AjaxResult.fail().msg("删除失败!");
// }
} }
} }