06-02 需求变更:领域类型与领域小组取消强绑定
parent
033160a095
commit
7f832ed66d
|
|
@ -43,10 +43,13 @@ public class DomainGroupAddExe {
|
||||||
|
|
||||||
//判断一个小组,只能负责一个领域;领域小组必须为,分子公办公司;
|
//判断一个小组,只能负责一个领域;领域小组必须为,分子公办公司;
|
||||||
cmd.getCorpinfoId();
|
cmd.getCorpinfoId();
|
||||||
|
|
||||||
|
/** 2026-06-02 需求变更:领域类型与领域组不做强关联,公司内可创建多个领域组
|
||||||
List<DomainGroupDO> domainGroupDOList =domainGroupRepository.getListByCorpinfoId(cmd.getCorpinfoId());
|
List<DomainGroupDO> domainGroupDOList =domainGroupRepository.getListByCorpinfoId(cmd.getCorpinfoId());
|
||||||
if (CollUtil.isNotEmpty(domainGroupDOList)) {
|
if (CollUtil.isNotEmpty(domainGroupDOList)) {
|
||||||
throw new BizException("该公司已存在领域小组");
|
throw new BizException("该公司已存在领域小组");
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
boolean res = false;
|
boolean res = false;
|
||||||
try {
|
try {
|
||||||
res = domainGroupGateway.add(domainGroupE);
|
res = domainGroupGateway.add(domainGroupE);
|
||||||
|
|
|
||||||
|
|
@ -31,13 +31,14 @@ public class DomainGroupAddCmd implements Serializable {
|
||||||
@NotEmpty(message = "领域组名称不能为空")
|
@NotEmpty(message = "领域组名称不能为空")
|
||||||
private String domainGroupName;
|
private String domainGroupName;
|
||||||
|
|
||||||
|
/** 2026-06-02 需求变更:领域类型与领域组不做强关联
|
||||||
@ApiModelProperty(value = "领域类型", name = "domainType", required = true)
|
@ApiModelProperty(value = "领域类型", name = "domainType", required = true)
|
||||||
@NotEmpty(message = "领域类型不能为空")
|
@NotEmpty(message = "领域类型不能为空")
|
||||||
private String domainType;
|
private String domainType;
|
||||||
|
|
||||||
@ApiModelProperty(value = "领域类型名称", name = "domainTypeName", required = true)
|
@ApiModelProperty(value = "领域类型名称", name = "domainTypeName", required = true)
|
||||||
@NotEmpty(message = "领域类型名称不能为空")
|
@NotEmpty(message = "领域类型名称不能为空")
|
||||||
private String domainTypeName;
|
private String domainTypeName;
|
||||||
|
**/
|
||||||
|
|
||||||
@ApiModelProperty(value = "组长部门id", name = "teamDepartmentId", required = true)
|
@ApiModelProperty(value = "组长部门id", name = "teamDepartmentId", required = true)
|
||||||
@NotNull(message = "组长部门id不能为空")
|
@NotNull(message = "组长部门id不能为空")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue