|
@@ -199,7 +199,9 @@ public class CmsGroupRelationController {
|
|
|
if (ObjectUtil.hasEmpty(relationId, userId, isRenew)) {
|
|
if (ObjectUtil.hasEmpty(relationId, userId, isRenew)) {
|
|
|
throw BusinessRuntimeException.getInstance("参数错误");
|
|
throw BusinessRuntimeException.getInstance("参数错误");
|
|
|
}
|
|
}
|
|
|
- GroupsRelationIndependentRenew groupsRelationIndependentRenew = Optional.ofNullable(groupsRelationIndependentRenewMapper.selectOne(Wrappers.lambdaQuery(GroupsRelationIndependentRenew.class).eq(GroupsRelationIndependentRenew::getUserId, userId)
|
|
|
|
|
|
|
+ GroupsRelationIndependentRenew groupsRelationIndependentRenew = Optional.ofNullable(groupsRelationIndependentRenewMapper.selectOne(Wrappers.lambdaQuery(GroupsRelationIndependentRenew.class)
|
|
|
|
|
+ .eq(GroupsRelationIndependentRenew::getOrderId, view.getOrderId())
|
|
|
|
|
+ .eq(GroupsRelationIndependentRenew::getUserId, userId)
|
|
|
.eq(GroupsRelationIndependentRenew::getRelationId, relationId).last("limit 1"))).orElse(new GroupsRelationIndependentRenew());
|
|
.eq(GroupsRelationIndependentRenew::getRelationId, relationId).last("limit 1"))).orElse(new GroupsRelationIndependentRenew());
|
|
|
CmsUser cmsUser = cmsUserMapper.selectById(adminId);
|
|
CmsUser cmsUser = cmsUserMapper.selectById(adminId);
|
|
|
if (cmsUser != null) {
|
|
if (cmsUser != null) {
|