fix 注入

V0.5.x
jay 2023-06-02 11:36:31 +08:00
parent 868c147511
commit ed8d5b78a2
6 changed files with 8 additions and 8 deletions

View File

@ -32,7 +32,7 @@ import static cc.iotkit.data.model.QTbSysLogininfor.tbSysLogininfor;
@RequiredArgsConstructor
public class SysLogininfoDataImpl implements ISysLogininforData, IJPACommData<SysLogininfor, Long> {
private SysLogininforRepository logininfoRepository;
private final SysLogininforRepository logininfoRepository;
private final JPAQueryFactory jpaQueryFactory;

View File

@ -33,7 +33,7 @@ import static cc.iotkit.data.model.QTbSysOperLog.tbSysOperLog;
@RequiredArgsConstructor
public class SysOperLogDataImpl implements ISysOperLogData, IJPACommData<SysOperLog, Long> {
private SysOperLogRepository operLogRepository;
private final SysOperLogRepository operLogRepository;
private final JPAQueryFactory jpaQueryFactory;

View File

@ -33,7 +33,7 @@ import static cc.iotkit.data.model.QTbSysOssConfig.tbSysOssConfig;
@RequiredArgsConstructor
public class SysOssConfigDataImpl implements ISysOssConfigData, IJPACommData<SysOssConfig, Long> {
private SysOssConfigRepository operLogRepository;
private final SysOssConfigRepository operLogRepository;
private final JPAQueryFactory jpaQueryFactory;

View File

@ -35,7 +35,7 @@ import static cc.iotkit.data.model.QTbSysUserPost.tbSysUserPost;
@RequiredArgsConstructor
public class SysPostDataImpl implements ISysPostData, IJPACommData<SysPost, Long> {
private SysPostRepository postRepository;
private final SysPostRepository postRepository;
private final JPAQueryFactory jpaQueryFactory;

View File

@ -40,11 +40,11 @@ import static cc.iotkit.data.model.QTbSysUser.tbSysUser;
@RequiredArgsConstructor
public class SysUserDataImpl implements ISysUserData, IJPACommData<SysUser, Long> {
private SysUserRepository userRepository;
private final SysUserRepository userRepository;
private ISysDeptData sysDeptData;
private final ISysDeptData sysDeptData;
private JPAQueryFactory jpaQueryFactory;
private final JPAQueryFactory jpaQueryFactory;
@Override

View File

@ -25,7 +25,7 @@ import java.util.List;
public class SysUserPostDataImpl implements ISysUserPostData, IJPACommData<SysUserPost, Long> {
private SysUserPostRepository sysUserPostRepository;
private final SysUserPostRepository sysUserPostRepository;
@Override
public int deleteByUserId(Long userId) {