提交 c30ca1db 编写于 作者: ibizdev's avatar ibizdev

ibizdev提交

上级 a8b215aa
...@@ -34,7 +34,7 @@ import cn.ibizlab.core.workflow.mapper.WFGroupMapper; ...@@ -34,7 +34,7 @@ import cn.ibizlab.core.workflow.mapper.WFGroupMapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import org.springframework.util.StringUtils;
/** /**
* 实体[角色/用户组] 服务对象接口实现 * 实体[角色/用户组] 服务对象接口实现
...@@ -48,6 +48,7 @@ public class WFGroupServiceImpl extends ServiceImpl<WFGroupMapper, WFGroup> impl ...@@ -48,6 +48,7 @@ public class WFGroupServiceImpl extends ServiceImpl<WFGroupMapper, WFGroup> impl
private cn.ibizlab.core.workflow.service.IWFMemberService wfmemberService; private cn.ibizlab.core.workflow.service.IWFMemberService wfmemberService;
private int batchSize = 500; private int batchSize = 500;
@Override @Override
@Transactional @Transactional
public boolean save(WFGroup et) { public boolean save(WFGroup et) {
......
...@@ -34,7 +34,7 @@ import cn.ibizlab.core.workflow.mapper.WFMemberMapper; ...@@ -34,7 +34,7 @@ import cn.ibizlab.core.workflow.mapper.WFMemberMapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import org.springframework.util.StringUtils;
/** /**
* 实体[成员] 服务对象接口实现 * 实体[成员] 服务对象接口实现
...@@ -45,6 +45,7 @@ public class WFMemberServiceImpl extends ServiceImpl<WFMemberMapper, WFMember> i ...@@ -45,6 +45,7 @@ public class WFMemberServiceImpl extends ServiceImpl<WFMemberMapper, WFMember> i
private int batchSize = 500; private int batchSize = 500;
@Override @Override
public boolean checkKey(WFMember et) { public boolean checkKey(WFMember et) {
return (!ObjectUtils.isEmpty(et.getMemberid()))&&(!Objects.isNull(this.getById(et.getMemberid()))); return (!ObjectUtils.isEmpty(et.getMemberid()))&&(!Objects.isNull(this.getById(et.getMemberid())));
......
...@@ -34,7 +34,7 @@ import cn.ibizlab.core.workflow.mapper.WFProcessDefinitionMapper; ...@@ -34,7 +34,7 @@ import cn.ibizlab.core.workflow.mapper.WFProcessDefinitionMapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import org.springframework.util.StringUtils;
/** /**
* 实体[流程定义] 服务对象接口实现 * 实体[流程定义] 服务对象接口实现
...@@ -45,6 +45,7 @@ public class WFProcessDefinitionServiceImpl extends ServiceImpl<WFProcessDefinit ...@@ -45,6 +45,7 @@ public class WFProcessDefinitionServiceImpl extends ServiceImpl<WFProcessDefinit
private int batchSize = 500; private int batchSize = 500;
@Override @Override
@Transactional @Transactional
public boolean save(WFProcessDefinition et) { public boolean save(WFProcessDefinition et) {
......
...@@ -34,7 +34,7 @@ import cn.ibizlab.core.workflow.mapper.WFSystemMapper; ...@@ -34,7 +34,7 @@ import cn.ibizlab.core.workflow.mapper.WFSystemMapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import org.springframework.util.StringUtils;
/** /**
* 实体[系统] 服务对象接口实现 * 实体[系统] 服务对象接口实现
...@@ -45,6 +45,7 @@ public class WFSystemServiceImpl extends ServiceImpl<WFSystemMapper, WFSystem> i ...@@ -45,6 +45,7 @@ public class WFSystemServiceImpl extends ServiceImpl<WFSystemMapper, WFSystem> i
private int batchSize = 500; private int batchSize = 500;
@Override @Override
@Transactional @Transactional
public boolean remove(String key) { public boolean remove(String key) {
......
...@@ -34,7 +34,7 @@ import cn.ibizlab.core.workflow.mapper.WFUserMapper; ...@@ -34,7 +34,7 @@ import cn.ibizlab.core.workflow.mapper.WFUserMapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import org.springframework.util.StringUtils;
/** /**
* 实体[用户] 服务对象接口实现 * 实体[用户] 服务对象接口实现
...@@ -48,6 +48,7 @@ public class WFUserServiceImpl extends ServiceImpl<WFUserMapper, WFUser> impleme ...@@ -48,6 +48,7 @@ public class WFUserServiceImpl extends ServiceImpl<WFUserMapper, WFUser> impleme
private cn.ibizlab.core.workflow.service.IWFMemberService wfmemberService; private cn.ibizlab.core.workflow.service.IWFMemberService wfmemberService;
private int batchSize = 500; private int batchSize = 500;
@Override @Override
@Transactional @Transactional
public boolean remove(String key) { public boolean remove(String key) {
......
...@@ -55,6 +55,14 @@ public class SearchContextBase implements ISearchContext{ ...@@ -55,6 +55,14 @@ public class SearchContextBase implements ISearchContext{
* 排序对象 * 排序对象
*/ */
public Sort pageSort; public Sort pageSort;
/**
* 工作流步骤标识
*/
public String userTaskId;
/**
* 工作流流程标识
*/
public String processDefinitionKey;
/** /**
* 获取分页参数 * 获取分页参数
* @return * @return
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册