Browse Source

基因定制列表查看调整

陈长荣 2 weeks ago
parent
commit
96faaeca5e

+ 4 - 1
jfcloud-gene-biz/src/main/java/com/github/jfcloud/gene/flow/service/impl/FlowInfoServiceImpl.java

@@ -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))) {