|
@@ -100,7 +100,10 @@ public class FlowInfoServiceImpl extends ServiceImpl<FlowInfoMapper, FlowInfo> i
|
|
|
DataScope dataScope = DataScope.of();
|
|
|
//选择了审核状态,则只能看到自己审核的
|
|
|
if (CollUtil.isNotEmpty(vo.getStatusList())) {
|
|
|
- if (GeneStatusEnum.PROJECT_LEADER.getStatus().equals(vo.getStatusList().get(0))) {
|
|
|
+ if (GeneStatusEnum.GENE_EDITING.getStatus().equals(vo.getStatusList().get(0))) {
|
|
|
+ lqw.eq(FlowInfo::getGeneEditPlId, UserUtil.getUserId());
|
|
|
+ dataScope = null;
|
|
|
+ } else if (GeneStatusEnum.PROJECT_LEADER.getStatus().equals(vo.getStatusList().get(0))) {
|
|
|
lqw.eq(FlowInfo::getProjectLeaderId, UserUtil.getUserId());
|
|
|
dataScope = null;
|
|
|
} else if (GeneStatusEnum.PROJECT_MANAGEMENT.getStatus().equals(vo.getStatusList().get(0))) {
|