提交审批后更新单据状态,忽略数据权限过滤
This commit is contained in:
@@ -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<>();
|
||||
|
||||
Reference in New Issue
Block a user