流程发起异常,忽略id

This commit is contained in:
zhuqi 2022-02-09 08:53:11 +08:00
parent f966fae060
commit 37ec560687

View File

@ -73,7 +73,8 @@ public interface BpmTaskConvert {
@Mappings({ @Mappings({
@Mapping(source = "id", target = "taskId"), @Mapping(source = "id", target = "taskId"),
@Mapping(source = "assignee", target = "assigneeUserId"), @Mapping(source = "assignee", target = "assigneeUserId"),
@Mapping(source = "createdDate", target = "createTime") @Mapping(source = "createdDate", target = "createTime"),
@Mapping(target = "id", ignore = true)
}) })
BpmTaskExtDO convert(org.activiti.api.task.model.Task bean); BpmTaskExtDO convert(org.activiti.api.task.model.Task bean);
@ -104,6 +105,7 @@ public interface BpmTaskConvert {
BpmTaskRespVO convert3(HistoricTaskInstance bean); BpmTaskRespVO convert3(HistoricTaskInstance bean);
BpmTaskRespVO.User convert3(AdminUserRespDTO bean); BpmTaskRespVO.User convert3(AdminUserRespDTO bean);
@Mapping(target = "id", ignore = true)
void copyTo(BpmTaskExtDO from, @MappingTarget BpmTaskDonePageItemRespVO to); void copyTo(BpmTaskExtDO from, @MappingTarget BpmTaskDonePageItemRespVO to);
@Mappings({ @Mappings({