Browse Source

移除,转交修改为批量操作

anderx 1 year ago
parent
commit
f00b43896b

+ 56 - 0
src/main/java/com/goafanti/business/bo/RestrictProjectPageList.java

@@ -45,6 +45,62 @@ public class RestrictProjectPageList {
 
     private String uid;
 
+    private String societyTag;
+    private String province;
+    private String     city;
+    private String area;
+    private String intendedProject;
+    private String     businessScope;
+
+
+    public String getSocietyTag() {
+        return societyTag;
+    }
+
+    public void setSocietyTag(String societyTag) {
+        this.societyTag = societyTag;
+    }
+
+    public String getProvince() {
+        return province;
+    }
+
+    public void setProvince(String province) {
+        this.province = province;
+    }
+
+    public String getCity() {
+        return city;
+    }
+
+    public void setCity(String city) {
+        this.city = city;
+    }
+
+    public String getArea() {
+        return area;
+    }
+
+    public void setArea(String area) {
+        this.area = area;
+    }
+
+    public String getIntendedProject() {
+        return intendedProject;
+    }
+
+    public void setIntendedProject(String intendedProject) {
+        this.intendedProject = intendedProject;
+    }
+
+    public String getBusinessScope() {
+        return businessScope;
+    }
+
+    public void setBusinessScope(String businessScope) {
+        this.businessScope = businessScope;
+    }
+
     public String getUid() {
         return uid;
     }

+ 8 - 3
src/main/java/com/goafanti/common/mapper/RestrictProjectMapper.xml

@@ -130,11 +130,16 @@
         where a.restrict_status =1
     </select>
     <select id="RestrictProjectList" resultType="com.goafanti.business.bo.RestrictProjectPageList">
-        select a.id,b.nickname userName,c.bname projectName,a.`type` ,d.name userAdmin,d2.name adminName,a.lock_time lockTime,
-               a.last_follow_time lastFollowTime,a.uid
+        select a.id,b.nickname userName,c.bname projectName,a.`type` ,ad.name userAdmin,ad2.name adminName,a.lock_time lockTime,
+               a.last_follow_time lastFollowTime,a.uid, b.society_tag societyTag,dg1.name as province, dg2.name as city,
+               dg3.name as area,d.intended_project intendedProject, d.business_scope businessScope
         from restrict_project a
                  left join user b on a.uid =b.id left join business_project c on a.pid =c.id
-                 left join admin d on b.aid =d.id left join admin d2 on a.aid =d2.id
+                 left join admin ad on b.aid =ad.id left join admin ad2 on a.aid =ad2.id
+        left join organization_identity d on b.id = d.uid
+        left join district_glossory dg1 on d.location_province = dg1.id
+        left join district_glossory dg2 on d.location_city = dg2.id
+        left join district_glossory dg3 on d.location_area = dg3.id
         where a.`type` >0
         <include refid="RestrictProjectSql"/>
         order by a.lock_time desc