Merge branch 'dev-7.3.4'

pull/56/head v7.3.4
fengshuonan 2023-04-26 17:14:33 +08:00
commit 8477dc00d0
192 changed files with 1090 additions and 187 deletions

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -0,0 +1,85 @@
/*
* Copyright [2020-2030] [https://www.stylefeng.cn]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* GunsAPACHE LICENSE 2.0使
*
* 1.LICENSE
* 2.Guns
* 3.
* 4. https://gitee.com/stylefeng/guns
* 5. https://gitee.com/stylefeng/guns
* 6.
*/
package cn.stylefeng.roses.kernel.rule.pojo.response;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
*
* <p>
*
* <p>
*
* @author yxx
* @date 2023/03/28 18:08
*/
@Data
public class BaseResponse implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@ChineseDescription("创建时间")
private Date createTime;
/**
*
*/
@ChineseDescription("创建人")
private Long createUser;
/**
*
*/
@ChineseDescription("创建人姓名")
private String createUserName;
/**
*
*/
@ChineseDescription("更新时间")
private Date updateTime;
/**
*
*/
@ChineseDescription("更新人")
private Long updateUser;
/**
*
*/
@ChineseDescription("更新人姓名")
private String updateUserName;
}

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-auth</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-auth</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -85,6 +85,8 @@ import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import static cn.stylefeng.roses.kernel.auth.api.exception.enums.AuthExceptionEnum.AUTH_EXPIRED_ERROR;
import static cn.stylefeng.roses.kernel.auth.api.exception.enums.AuthExceptionEnum.TOKEN_PARSE_ERROR;
@ -293,6 +295,13 @@ public class AuthServiceImpl implements AuthServiceApi {
LoginUser loginUser = userLoginInfo.getLoginUser();
loginUser.setTenantCode(tenantCode);
// 设置websocket url
String webSocketWsUrl = WebSocketConfigExpander.getWebSocketWsUrl();
Map<String, String> params = new HashMap<>(1);
params.put("token", token);
webSocketWsUrl = StrUtil.format(webSocketWsUrl, params);
loginUser.setWsUrl(webSocketWsUrl);
// 创建用户会话信息
sessionManagerApi.updateSession(token, loginUser);
} finally {

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-auth</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-cache</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-cache</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-cache</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-cache</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-cache</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-config</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-config</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-config</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-config</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-config</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-db</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-db</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-db</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-db</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-db</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-ds-container</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-ds-container</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-ds-container</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-ds-container</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-email</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-email</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-email</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-email</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-file</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -0,0 +1,68 @@
/*
* Copyright [2020-2030] [https://www.stylefeng.cn]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* GunsAPACHE LICENSE 2.0使
*
* 1.LICENSE
* 2.Guns
* 3.
* 4. https://gitee.com/stylefeng/guns
* 5. https://gitee.com/stylefeng/guns
* 6.
*/
package cn.stylefeng.roses.kernel.file.api;
import cn.stylefeng.roses.kernel.file.api.pojo.response.SysFileInfoResponse;
import java.util.List;
/**
* API
*
* @author fengshuonan
* @date 2023/3/31 13:38
*/
public interface FileBusinessApi {
/**
*
*
* @param businessCode
* @param businessId id
* @param fileIdList id
* @author fengshuonan
* @date 2023/3/31 13:43
*/
void addFileBusinessBind(String businessCode, Long businessId, List<Long> fileIdList);
/**
*
*
* @param businessId id
* @return
* @author fengshuonan
* @date 2020/11/29 16:26
*/
List<SysFileInfoResponse> getBusinessFileInfoList(Long businessId);
/**
*
*
* @author fengshuonan
* @date 2023/3/31 14:23
*/
void addFileDownloadCount(Long businessId, Long fileId);
}

View File

@ -0,0 +1,27 @@
package cn.stylefeng.roses.kernel.file.api.format;
import cn.hutool.core.convert.Convert;
import cn.hutool.extra.spring.SpringUtil;
import cn.stylefeng.roses.kernel.file.api.FileInfoApi;
import cn.stylefeng.roses.kernel.rule.format.BaseSimpleFieldFormatProcess;
/**
* Jsonurl
*
* @author fengshuonan
* @date 2023/3/28 9:30
*/
public class FileUrlFormatProcess extends BaseSimpleFieldFormatProcess {
@Override
public Class<?> getItemClass() {
return Long.class;
}
@Override
public Object simpleItemFormat(Object businessId) {
FileInfoApi fileInfoApi = SpringUtil.getBean(FileInfoApi.class);
return fileInfoApi.getFileUnAuthUrl(Convert.toLong(businessId));
}
}

View File

@ -27,6 +27,8 @@ package cn.stylefeng.roses.kernel.file.api.pojo.response;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import lombok.Data;
import java.util.Date;
/**
*
*
@ -130,4 +132,22 @@ public class SysFileInfoResponse {
@ChineseDescription("文件访问路径")
private String fileUrl;
/**
*
*/
@ChineseDescription("下载次数")
private Integer downloadCount;
/**
* id
*/
@ChineseDescription("上传人id")
private Long uploadUserId;
/**
*
*/
@ChineseDescription("上传时间")
private Date uploadTime;
}

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-file</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>
@ -24,6 +24,13 @@
<version>${roses.version}</version>
</dependency>
<!--格式化用户id展示姓名使用-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>system-api</artifactId>
<version>${roses.version}</version>
</dependency>
<!--资源api模块-->
<!--用在资源控制器,资源扫描上-->
<dependency>

View File

@ -0,0 +1,99 @@
/*
* Copyright [2020-2030] [https://www.stylefeng.cn]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* GunsAPACHE LICENSE 2.0使
*
* 1.LICENSE
* 2.Guns
* 3.
* 4. https://gitee.com/stylefeng/guns
* 5. https://gitee.com/stylefeng/guns
* 6.
*/
package cn.stylefeng.roses.kernel.file.modular.controller;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.ListUtil;
import cn.stylefeng.roses.kernel.file.api.pojo.response.SysFileInfoResponse;
import cn.stylefeng.roses.kernel.file.modular.pojo.request.SysFileBusinessRequest;
import cn.stylefeng.roses.kernel.file.modular.pojo.vo.SysFileInfoRes;
import cn.stylefeng.roses.kernel.file.modular.service.SysFileBusinessService;
import cn.stylefeng.roses.kernel.rule.enums.ResBizTypeEnum;
import cn.stylefeng.roses.kernel.rule.pojo.response.ResponseData;
import cn.stylefeng.roses.kernel.rule.pojo.response.SuccessResponseData;
import cn.stylefeng.roses.kernel.scanner.api.annotation.ApiResource;
import cn.stylefeng.roses.kernel.scanner.api.annotation.GetResource;
import cn.stylefeng.roses.kernel.scanner.api.annotation.PostResource;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import java.util.List;
/**
*
*
* @author fengshuonan
* @date 2023/3/31 15:31
*/
@RestController
@ApiResource(name = "文件和业务绑定的接口", resBizType = ResBizTypeEnum.SYSTEM)
public class SysFileBusinessController {
@Resource
private SysFileBusinessService sysFileBusinessService;
/**
*
*
* @author fengshuonan
* @date 2023/3/31 15:31
*/
@PostResource(name = "增加文件下载次数", path = "/sysFileInfo/addFileDownloadCount", requiredPermission = false, requiredLogin = false)
public ResponseData<?> upload(@RequestBody @Validated(SysFileBusinessRequest.addFileDownloadCount.class) SysFileBusinessRequest sysFileBusinessRequest) {
sysFileBusinessService.addFileDownloadCount(sysFileBusinessRequest.getBusinessId(), sysFileBusinessRequest.getFileId());
return new SuccessResponseData<>();
}
/**
*
*
* @author fengshuonan
* @since 2023/4/5 16:00
*/
@GetResource(name = "获取业务关联的文件信息列表", path = "/sysFileInfo/getBusinessFileList")
public ResponseData<List<SysFileInfoRes>> getBusinessFileList(@Validated(SysFileBusinessRequest.getBusinessFileList.class) SysFileBusinessRequest sysFileBusinessRequest) {
List<SysFileInfoResponse> list = sysFileBusinessService.getBusinessFileInfoList(sysFileBusinessRequest.getBusinessId());
List<SysFileInfoRes> sysFileInfoRes = BeanUtil.copyToList(list, SysFileInfoRes.class);
return new SuccessResponseData<>(sysFileInfoRes);
}
/**
*
*
* @author fengshuonan
* @since 2023/4/4 20:56
*/
@PostResource(name = "新增绑定业务和文件", path = "/sysFileInfo/bindFile")
public ResponseData<?> bindFile(@RequestBody @Validated(SysFileBusinessRequest.bindFile.class) SysFileBusinessRequest sysFileBusinessRequest) {
sysFileBusinessService.addFileBusinessBind(
sysFileBusinessRequest.getBusinessCode(),
sysFileBusinessRequest.getBusinessId(),
ListUtil.list(false, sysFileBusinessRequest.getFileId()));
return new SuccessResponseData<>();
}
}

View File

@ -0,0 +1,65 @@
package cn.stylefeng.roses.kernel.file.modular.entity;
import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
*
*
* @author fengshuonan
* @date 2023/03/31 13:30
*/
@TableName("sys_file_business")
@Data
@EqualsAndHashCode(callSuper = true)
public class SysFileBusiness extends BaseEntity {
/**
* id
*/
@TableId(value = "file_business_id", type = IdType.ASSIGN_ID)
@ChineseDescription("主键id")
private Long fileBusinessId;
/**
*
*/
@TableField("business_code")
@ChineseDescription("业务的编码,业务自定义")
private String businessCode;
/**
* id
*/
@TableField("business_id")
@ChineseDescription("业务主键id")
private Long businessId;
/**
* id
*/
@TableField("file_id")
@ChineseDescription("关联文件表的id")
private Long fileId;
/**
*
*/
@TableField("download_count")
@ChineseDescription("下载次数")
private Integer downloadCount;
/**
* id
*/
@TableField("tenant_id")
@ChineseDescription("租户id")
private Long tenantId;
}

View File

@ -0,0 +1,36 @@
package cn.stylefeng.roses.kernel.file.modular.enums;
import cn.stylefeng.roses.kernel.rule.constants.RuleConstants;
import cn.stylefeng.roses.kernel.rule.exception.AbstractExceptionEnum;
import lombok.Getter;
/**
*
*
* @author fengshuonan
* @date 2023/03/31 13:30
*/
@Getter
public enum SysFileBusinessExceptionEnum implements AbstractExceptionEnum {
/**
*
*/
SYS_FILE_BUSINESS_NOT_EXISTED(RuleConstants.USER_OPERATION_ERROR_TYPE_CODE + "10001", "查询结果不存在");
/**
*
*/
private final String errorCode;
/**
*
*/
private final String userTip;
SysFileBusinessExceptionEnum(String errorCode, String userTip) {
this.errorCode = errorCode;
this.userTip = userTip;
}
}

View File

@ -0,0 +1,14 @@
package cn.stylefeng.roses.kernel.file.modular.mapper;
import cn.stylefeng.roses.kernel.file.modular.entity.SysFileBusiness;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* Mapper
*
* @author fengshuonan
* @date 2023/03/31 13:30
*/
public interface SysFileBusinessMapper extends BaseMapper<SysFileBusiness> {
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="cn.stylefeng.roses.kernel.file.modular.mapper.SysFileBusinessMapper">
</mapper>

View File

@ -0,0 +1,82 @@
package cn.stylefeng.roses.kernel.file.modular.pojo.request;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
/**
*
*
* @author fengshuonan
* @date 2023/03/31 13:30
*/
@EqualsAndHashCode(callSuper = true)
@Data
public class SysFileBusinessRequest extends BaseRequest {
/**
* id
*/
@NotNull(message = "主键id不能为空", groups = {edit.class, delete.class})
@ChineseDescription("主键id")
private Long fileBusinessId;
/**
*
*/
@ChineseDescription("业务的编码,业务自定义")
@NotBlank(message = "业务的编码不能为空", groups = {bindFile.class})
private String businessCode;
/**
* id
*/
@ChineseDescription("业务主键id")
@NotNull(message = "业务主键id不能为空", groups = {addFileDownloadCount.class, getBusinessFileList.class, bindFile.class})
private Long businessId;
/**
* id
*/
@ChineseDescription("关联文件表的id")
@NotNull(message = "文件id不能为空", groups = {addFileDownloadCount.class, bindFile.class})
private Long fileId;
/**
*
*/
@ChineseDescription("下载次数")
private Integer downloadCount;
/**
* id
*/
@ChineseDescription("租户id")
private Long tenantId;
/**
*
*/
public @interface addFileDownloadCount {
}
/**
*
*/
public @interface getBusinessFileList {
}
/**
*
*/
public @interface bindFile {
}
}

View File

@ -0,0 +1,50 @@
/*
* Copyright [2020-2030] [https://www.stylefeng.cn]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* GunsAPACHE LICENSE 2.0使
*
* 1.LICENSE
* 2.Guns
* 3.
* 4. https://gitee.com/stylefeng/guns
* 5. https://gitee.com/stylefeng/guns
* 6.
*/
package cn.stylefeng.roses.kernel.file.modular.pojo.vo;
import cn.stylefeng.roses.kernel.file.api.pojo.response.SysFileInfoResponse;
import cn.stylefeng.roses.kernel.rule.annotation.SimpleFieldFormat;
import cn.stylefeng.roses.kernel.rule.enums.FormatTypeEnum;
import cn.stylefeng.roses.kernel.system.api.format.UserFormatProcess;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
*
*
* @author stylefeng
* @date 2020/6/7 22:15
*/
@EqualsAndHashCode(callSuper = true)
@Data
public class SysFileInfoRes extends SysFileInfoResponse {
@Override
@SimpleFieldFormat(formatType = FormatTypeEnum.ADD_FIELD, processClass = UserFormatProcess.class)
public Long getUploadUserId() {
return super.getUploadUserId();
}
}

View File

@ -0,0 +1,75 @@
package cn.stylefeng.roses.kernel.file.modular.service;
import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import cn.stylefeng.roses.kernel.file.api.FileBusinessApi;
import cn.stylefeng.roses.kernel.file.modular.entity.SysFileBusiness;
import cn.stylefeng.roses.kernel.file.modular.pojo.request.SysFileBusinessRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
/**
*
*
* @author fengshuonan
* @date 2023/03/31 13:30
*/
public interface SysFileBusinessService extends IService<SysFileBusiness>, FileBusinessApi {
/**
*
*
* @param sysFileBusinessRequest
* @author fengshuonan
* @date 2023/03/31 13:30
*/
void add(SysFileBusinessRequest sysFileBusinessRequest);
/**
*
*
* @param sysFileBusinessRequest
* @author fengshuonan
* @date 2023/03/31 13:30
*/
void del(SysFileBusinessRequest sysFileBusinessRequest);
/**
*
*
* @param sysFileBusinessRequest
* @author fengshuonan
* @date 2023/03/31 13:30
*/
void edit(SysFileBusinessRequest sysFileBusinessRequest);
/**
*
*
* @param sysFileBusinessRequest
* @author fengshuonan
* @date 2023/03/31 13:30
*/
SysFileBusiness detail(SysFileBusinessRequest sysFileBusinessRequest);
/**
*
*
* @param sysFileBusinessRequest
* @return List<SysFileBusiness>
* @author fengshuonan
* @date 2023/03/31 13:30
*/
List<SysFileBusiness> findList(SysFileBusinessRequest sysFileBusinessRequest);
/**
*
*
* @param sysFileBusinessRequest
* @return PageResult<SysFileBusiness>
* @author fengshuonan
* @date 2023/03/31 13:30
*/
PageResult<SysFileBusiness> findPage(SysFileBusinessRequest sysFileBusinessRequest);
}

View File

@ -0,0 +1,173 @@
package cn.stylefeng.roses.kernel.file.modular.service.impl;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.stylefeng.roses.kernel.db.api.factory.PageFactory;
import cn.stylefeng.roses.kernel.db.api.factory.PageResultFactory;
import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import cn.stylefeng.roses.kernel.file.api.FileInfoApi;
import cn.stylefeng.roses.kernel.file.api.pojo.response.SysFileInfoResponse;
import cn.stylefeng.roses.kernel.file.modular.entity.SysFileBusiness;
import cn.stylefeng.roses.kernel.file.modular.enums.SysFileBusinessExceptionEnum;
import cn.stylefeng.roses.kernel.file.modular.mapper.SysFileBusinessMapper;
import cn.stylefeng.roses.kernel.file.modular.pojo.request.SysFileBusinessRequest;
import cn.stylefeng.roses.kernel.file.modular.service.SysFileBusinessService;
import cn.stylefeng.roses.kernel.rule.exception.base.ServiceException;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
/**
*
*
* @author fengshuonan
* @date 2023/03/31 13:30
*/
@Service
public class SysFileBusinessServiceImpl extends ServiceImpl<SysFileBusinessMapper, SysFileBusiness> implements SysFileBusinessService {
@Resource
private FileInfoApi fileInfoApi;
@Override
public void add(SysFileBusinessRequest sysFileBusinessRequest) {
SysFileBusiness sysFileBusiness = new SysFileBusiness();
BeanUtil.copyProperties(sysFileBusinessRequest, sysFileBusiness);
this.save(sysFileBusiness);
}
@Override
public void del(SysFileBusinessRequest sysFileBusinessRequest) {
SysFileBusiness sysFileBusiness = this.querySysFileBusiness(sysFileBusinessRequest);
this.removeById(sysFileBusiness.getFileBusinessId());
}
@Override
public void edit(SysFileBusinessRequest sysFileBusinessRequest) {
SysFileBusiness sysFileBusiness = this.querySysFileBusiness(sysFileBusinessRequest);
BeanUtil.copyProperties(sysFileBusinessRequest, sysFileBusiness);
this.updateById(sysFileBusiness);
}
@Override
public SysFileBusiness detail(SysFileBusinessRequest sysFileBusinessRequest) {
return this.querySysFileBusiness(sysFileBusinessRequest);
}
@Override
public PageResult<SysFileBusiness> findPage(SysFileBusinessRequest sysFileBusinessRequest) {
LambdaQueryWrapper<SysFileBusiness> wrapper = createWrapper(sysFileBusinessRequest);
Page<SysFileBusiness> sysRolePage = this.page(PageFactory.defaultPage(), wrapper);
return PageResultFactory.createPageResult(sysRolePage);
}
@Override
public List<SysFileBusiness> findList(SysFileBusinessRequest sysFileBusinessRequest) {
LambdaQueryWrapper<SysFileBusiness> wrapper = this.createWrapper(sysFileBusinessRequest);
return this.list(wrapper);
}
@Override
public void addFileBusinessBind(String businessCode, Long businessId, List<Long> fileIdList) {
if (ObjectUtil.isEmpty(fileIdList) || ObjectUtil.isEmpty(businessCode) || ObjectUtil.isEmpty(businessId)) {
return;
}
ArrayList<SysFileBusiness> sysFileBusinesses = new ArrayList<>();
for (Long fileId : fileIdList) {
SysFileBusiness sysFileBusiness = new SysFileBusiness();
sysFileBusiness.setBusinessCode(businessCode);
sysFileBusiness.setBusinessId(businessId);
sysFileBusiness.setFileId(fileId);
sysFileBusinesses.add(sysFileBusiness);
}
this.saveBatch(sysFileBusinesses);
}
@Override
public List<SysFileInfoResponse> getBusinessFileInfoList(Long businessId) {
// 获取业务下绑定的文件列表
LambdaQueryWrapper<SysFileBusiness> sysFileBusinessLambdaQueryWrapper = new LambdaQueryWrapper<>();
sysFileBusinessLambdaQueryWrapper.eq(SysFileBusiness::getBusinessId, businessId);
List<SysFileBusiness> list = this.list(sysFileBusinessLambdaQueryWrapper);
if (ObjectUtil.isEmpty(list)) {
return new ArrayList<>();
}
// 填充文件的详细信息
ArrayList<SysFileInfoResponse> sysFileInfoResponses = new ArrayList<>();
for (SysFileBusiness sysFileBusiness : list) {
// 获取每个文件的详情
Long fileId = sysFileBusiness.getFileId();
SysFileInfoResponse fileInfoWithoutContent = fileInfoApi.getFileInfoWithoutContent(fileId);
if (fileInfoWithoutContent != null) {
// 设置下载次数
fileInfoWithoutContent.setDownloadCount(sysFileBusiness.getDownloadCount());
// 设置上传人id
fileInfoWithoutContent.setUploadUserId(sysFileBusiness.getCreateUser());
// 设置上传时间
fileInfoWithoutContent.setUploadTime(sysFileBusiness.getCreateTime());
sysFileInfoResponses.add(fileInfoWithoutContent);
}
}
return sysFileInfoResponses;
}
@Override
public void addFileDownloadCount(Long businessId, Long fileId) {
LambdaQueryWrapper<SysFileBusiness> sysFileBusinessLambdaQueryWrapper = new LambdaQueryWrapper<>();
sysFileBusinessLambdaQueryWrapper.eq(SysFileBusiness::getBusinessId, businessId);
sysFileBusinessLambdaQueryWrapper.eq(SysFileBusiness::getFileId, fileId);
SysFileBusiness sysFileBusiness = this.getOne(sysFileBusinessLambdaQueryWrapper, false);
if (sysFileBusiness != null) {
sysFileBusiness.setDownloadCount(sysFileBusiness.getDownloadCount() + 1);
this.updateById(sysFileBusiness);
}
}
/**
*
*
* @author fengshuonan
* @date 2023/03/31 13:30
*/
private SysFileBusiness querySysFileBusiness(SysFileBusinessRequest sysFileBusinessRequest) {
SysFileBusiness sysFileBusiness = this.getById(sysFileBusinessRequest.getFileBusinessId());
if (ObjectUtil.isEmpty(sysFileBusiness)) {
throw new ServiceException(SysFileBusinessExceptionEnum.SYS_FILE_BUSINESS_NOT_EXISTED);
}
return sysFileBusiness;
}
/**
* wrapper
*
* @author fengshuonan
* @date 2023/03/31 13:30
*/
private LambdaQueryWrapper<SysFileBusiness> createWrapper(SysFileBusinessRequest sysFileBusinessRequest) {
LambdaQueryWrapper<SysFileBusiness> queryWrapper = new LambdaQueryWrapper<>();
Long businessId = sysFileBusinessRequest.getBusinessId();
queryWrapper.eq(ObjectUtil.isNotNull(businessId), SysFileBusiness::getBusinessId, businessId);
return queryWrapper;
}
}

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-file</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-file</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-file</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-file</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-file</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-groovy</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-groovy</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-groovy</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-i18n</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-i18n</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-i18n</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-i18n</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-jwt</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-jwt</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-jwt</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-log</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-log</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-log</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-log</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-log</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-log</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-log</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-mongodb</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
</parent>
<artifactId>mongodb-api</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-mongodb</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
</parent>
<artifactId>mongodb-integration-beetl</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-mongodb</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
</parent>
<artifactId>mongodb-sdk-file</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-mongodb</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
</parent>
<artifactId>mongodb-sdk-springboot</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-mongodb</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
</parent>
<artifactId>mongodb-spring-boot-starter</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
</parent>
<artifactId>kernel-d-mongodb</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-office</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-office</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-office</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>kernel-d-openapi</artifactId>
<groupId>cn.stylefeng.roses</groupId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>kernel-d-openapi</artifactId>
<groupId>cn.stylefeng.roses</groupId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>kernel-d-openapi</artifactId>
<groupId>cn.stylefeng.roses</groupId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>roses-kernel</artifactId>
<groupId>cn.stylefeng.roses</groupId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-pinyin</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-pinyin</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-pinyin</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-scanner</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-scanner</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-scanner</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-seata</artifactId>
<version>7.3.3</version>
<version>7.3.4</version>
<relativePath>../pom.xml</relativePath>
</parent>

Some files were not shown because too many files have changed in this diff Show More