update modules/core: mod 5 files

This commit is contained in:
jack ning
2025-07-24 12:44:48 +08:00
parent e4cb7124f9
commit ff9684602c
5 changed files with 15 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-05-11 18:14:28
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-23 23:13:26
* @LastEditTime: 2025-07-24 12:28:16
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
* Please be aware of the BSL license restrictions before installing Bytedesk IM
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
@@ -39,7 +39,9 @@ import lombok.experimental.SuperBuilder;
@Table(name = "bytedesk_core_workflow")
public class WorkflowEntity extends BaseEntity {
private String name;
private String nickname;
private String avatar;
private String description;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-05-11 18:26:04
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-23 19:25:29
* @LastEditTime: 2025-07-24 12:28:36
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
* Please be aware of the BSL license restrictions before installing Bytedesk IM
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
@@ -29,7 +29,9 @@ import lombok.experimental.SuperBuilder;
@NoArgsConstructor
public class WorkflowRequest extends BaseRequest {
private String name;
private String nickname;
private String avatar;
private String description;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-05-11 18:26:12
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-23 19:25:35
* @LastEditTime: 2025-07-24 12:28:41
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
* Please be aware of the BSL license restrictions before installing Bytedesk IM
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
@@ -30,12 +30,14 @@ import lombok.experimental.Accessors;
@NoArgsConstructor
public class WorkflowResponse extends BaseResponse {
private String name;
private String nickname;
private String schema;
private String avatar;
private String description;
private String schema;
private String type;
private String categoryUid;

View File

@@ -137,7 +137,7 @@ public class WorkflowRestService extends BaseRestService<WorkflowEntity, Workflo
Optional<WorkflowEntity> latest = workflowRepository.findByUid(entity.getUid());
if (latest.isPresent()) {
WorkflowEntity latestEntity = latest.get();
latestEntity.setName(entity.getName());
latestEntity.setNickname(entity.getNickname());
latestEntity.setDescription(entity.getDescription());
// latestEntity.setStatus(entity.getStatus());
// latestEntity.setType(entity.getType());

View File

@@ -43,7 +43,7 @@ public class WorkflowService {
}
WorkflowEntity workflow = optional.get();
log.debug("Workflow found: {}, type: {}", workflow.getName(), workflow.getType());
log.debug("Workflow found: {}, type: {}", workflow.getNickname(), workflow.getType());
// 2. 解析工作流内容
String content = workflow.getSchema();