pull/48/head^2
smallbun 1 year ago
parent 21c38dbce0
commit 7d0d7273ae

@ -52,7 +52,6 @@ public interface AppGroupAssociationRepository extends
+ " WHERE app_id = :appId and group_id = :groupId", nativeQuery = true)
void deleteByGroupIdAndAppId(@Param("groupId") Long groupId, @Param("appId") Long appId);
/**
* ID
*

@ -80,6 +80,9 @@ export default (props: {
}),
},
]}
fieldProps={{
maxLength: 8,
}}
/>
<ProFormText
label={intl.formatMessage({ id: 'pages.app_group.modal_form.name' })}

@ -20,10 +20,10 @@ package cn.topiam.employee.portal.converter;
import java.util.ArrayList;
import java.util.List;
import com.querydsl.core.types.ExpressionUtils;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import com.querydsl.core.types.ExpressionUtils;
import com.querydsl.core.types.Predicate;
import cn.topiam.employee.common.entity.app.AppGroupAssociationEntity;
@ -58,7 +58,8 @@ public interface AppGroupConverter {
*/
default Predicate queryAppGroupAssociationPredicate() {
QAppGroupAssociationEntity appGroupAssociation = QAppGroupAssociationEntity.appGroupAssociationEntity;
return ExpressionUtils.and(appGroupAssociation.isNotNull(), appGroupAssociation.deleted.eq(Boolean.FALSE));
return ExpressionUtils.and(appGroupAssociation.isNotNull(),
appGroupAssociation.deleted.eq(Boolean.FALSE));
}
/**

Loading…
Cancel
Save