06-02 需求变更:领域类型与领域小组取消强绑定

master
tianxinlei 2026-06-02 16:54:59 +08:00
parent 033160a095
commit 7f832ed66d
2 changed files with 5 additions and 1 deletions

View File

@ -43,10 +43,13 @@ public class DomainGroupAddExe {
//判断一个小组,只能负责一个领域;领域小组必须为,分子公办公司;
cmd.getCorpinfoId();
/** 2026-06-02
List<DomainGroupDO> domainGroupDOList =domainGroupRepository.getListByCorpinfoId(cmd.getCorpinfoId());
if (CollUtil.isNotEmpty(domainGroupDOList)) {
throw new BizException("该公司已存在领域小组");
}
*/
boolean res = false;
try {
res = domainGroupGateway.add(domainGroupE);

View File

@ -31,13 +31,14 @@ public class DomainGroupAddCmd implements Serializable {
@NotEmpty(message = "领域组名称不能为空")
private String domainGroupName;
/** 2026-06-02
@ApiModelProperty(value = "领域类型", name = "domainType", required = true)
@NotEmpty(message = "领域类型不能为空")
private String domainType;
@ApiModelProperty(value = "领域类型名称", name = "domainTypeName", required = true)
@NotEmpty(message = "领域类型名称不能为空")
private String domainTypeName;
**/
@ApiModelProperty(value = "组长部门id", name = "teamDepartmentId", required = true)
@NotNull(message = "组长部门id不能为空")