用户管理添加数据来源

This commit is contained in:
梁琦涛
2024-08-02 11:14:54 +08:00
parent d623d89e94
commit 1ef7f7e09c
6 changed files with 43 additions and 11 deletions
@@ -195,6 +195,7 @@ public class MyGlobalEventListener implements ActivitiEventListener {
unifiedTodoVO.setIsRemark(CommonConstant.TODO_TYPE_0);
list.add(unifiedTodoVO);
pushWorkflowIntegrationAPI.sendTodoTask(list);
pushWorkflowIntegrationAPI.sendTodoTaskByFeiShu(list);
}
private void taskAssigned(ActivitiEvent event) {
@@ -225,6 +226,7 @@ public class MyGlobalEventListener implements ActivitiEventListener {
unifiedTodoVO.setProcessDefinitionId(processDefinitionId);
list.add(unifiedTodoVO);
pushWorkflowIntegrationAPI.sendTodoTask(list);
pushWorkflowIntegrationAPI.sendTodoTaskByFeiShu(list);
//更新转办任务id
LambdaUpdateWrapper<ProcessApprovalRecord> update = new LambdaUpdateWrapper<>();
@@ -237,6 +239,7 @@ public class MyGlobalEventListener implements ActivitiEventListener {
unifiedTodoVO.setIsRemark(CommonConstant.TODO_TYPE_0);
list.add(unifiedTodoVO);
pushWorkflowIntegrationAPI.sendTodoTask(list);
pushWorkflowIntegrationAPI.sendTodoTaskByFeiShu(list);
}
}
@@ -323,6 +326,7 @@ public class MyGlobalEventListener implements ActivitiEventListener {
unifiedTodoVO.setIsRemark(CommonConstant.TODO_TYPE_2);
list.add(unifiedTodoVO);
pushWorkflowIntegrationAPI.sendTodoTask(list);
pushWorkflowIntegrationAPI.sendTodoTaskByFeiShu(list);
}
private void entityDeleted(ActivitiEvent event) {
@@ -373,6 +377,7 @@ public class MyGlobalEventListener implements ActivitiEventListener {
todoAddList.add(unifiedTodoVO);
pushWorkflowIntegrationAPI.sendTodoTask(todoAddList);
pushWorkflowIntegrationAPI.sendTodoTaskByFeiShu(todoAddList);
}
@@ -464,6 +469,7 @@ public class MyGlobalEventListener implements ActivitiEventListener {
list.add(unifiedTodoVO);
}
pushWorkflowIntegrationAPI.sendTodoTask(list);
pushWorkflowIntegrationAPI.sendTodoTaskByFeiShu(list);
}
log.info("id = " + execution.getId());
log.info("name = " + execution.getName());
@@ -24,11 +24,11 @@ import com.jero.modules.laws.marketStandard.service.ILawsMarketStandardService;
import com.jero.modules.laws.utils.DateValidateUtil;
import com.jero.modules.laws.utils.ValidUtil;
import com.jero.modules.quartz.entity.QuartzJob;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.SecurityUtils;
import org.jeecgframework.poi.excel.ExcelImportUtil;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.def.NormalExcelConstants;
import org.jeecgframework.poi.excel.entity.ExportParams;
import org.jeecgframework.poi.excel.entity.ImportParams;
@@ -36,7 +36,6 @@ import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.i18n.LocaleContextHolder;
import org.springframework.core.io.ClassPathResource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -46,11 +45,9 @@ import org.springframework.web.servlet.ModelAndView;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.validation.ConstraintViolation;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.lang.reflect.Field;
import java.util.*;
import java.util.stream.Collectors;
@@ -60,6 +57,7 @@ import java.util.stream.Collectors;
* @createDate 2024-06-29 11:34:34
*/
@Service
@Slf4j
public class LawsMarketStandardDetailServiceImpl extends ServiceImpl<LawsMarketStandardDetailMapper,
LawsMarketStandardDetail> implements ILawsMarketStandardDetailService {