提交审批后更新单据状态,忽略数据权限过滤

This commit is contained in:
2025-11-04 11:46:52 +08:00
parent a873c208f6
commit fa57b426e5
11 changed files with 2526 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ import com.jeelowcode.core.framework.service.IDbformDataService;
import com.jeelowcode.framework.utils.tool.spring.SpringUtils;
import com.jeelowcode.service.bpm.controller.vo.instance.BpmProcessInstanceRespVO;
import com.jeelowcode.service.bpm.service.IBpmProcessInstanceService;
import com.jeelowcode.tool.framework.datapermission.core.annotation.DataPermission;
import lombok.extern.slf4j.Slf4j;
import org.flowable.engine.impl.persistence.entity.ExecutionEntityImpl;
import org.springframework.beans.factory.annotation.Autowired;
@@ -18,11 +19,13 @@ import java.util.Map;
@Service
@Slf4j
@DataPermission(enable=false)
public class BillApproveStatusService {
@Resource
private IDbformDataService dbformDataService;
public void afterSubmit(String processInstanceId){
Map<String,Object> map = new HashMap<>();