ソースを参照

曹津限定列表处理

anderx 1 年間 前
コミット
836974ba00
共有1 個のファイルを変更した6 個の追加9 個の削除を含む
  1. 6 9
      src/main/java/com/goafanti/business/service/impl/RestrictProjectServiceImpl.java

+ 6 - 9
src/main/java/com/goafanti/business/service/impl/RestrictProjectServiceImpl.java

@@ -90,16 +90,13 @@ public class RestrictProjectServiceImpl extends BaseMybatisDao<RestrictProjectMa
             if (e.getType()==null){
             if (e.getType()==null){
                 e.setType(0);
                 e.setType(0);
             }
             }
-            if (!in.getAid().equals(AFTConstants.CAOJIN_AID)){
-
-                if (u.getAid()!=null&&u.getType()==0&&u.getAid().equals(AFTConstants.CAOJIN_AID)){
-                    e.setType(1);
-                    if (aname==null){
-                        Admin admin = adminMapper.selectByPrimaryKey(AFTConstants.CAOJIN_AID);
-                        aname  =admin.getName();
-                    }
-                    e.setAdminName(aname);
+            if (u.getType()==0&&u.getAid()!=null&&u.getAid().equals(AFTConstants.CAOJIN_AID)){
+                e.setType(1);
+                if (aname==null){
+                    Admin admin = adminMapper.selectByPrimaryKey(AFTConstants.CAOJIN_AID);
+                    aname  =admin.getName();
                 }
                 }
+                e.setAdminName(aname);
             }
             }
         }
         }
         return list;
         return list;