Browse Source

团队模块代码全部注释

XMTT 5 years ago
parent
commit
84dfd23e80

+ 5 - 1
src/main/java/com/ekexiu/portal/team/Team.java

@ -1,3 +1,4 @@
1
/*
1 2
package com.ekexiu.portal.team;
2 3
3 4
import com.ekexiu.portal.basepo.CreateTimeSupported;
@ -7,9 +8,11 @@ import org.jfw.apt.orm.annotation.entry.PrimaryKey;
7 8
import org.jfw.apt.orm.annotation.entry.Table;
8 9
import org.jfw.apt.orm.core.enums.DE;
9 10
11
*/
10 12
/**
11 13
 * Created by TT on 2019/7/8.
12
 */
14
 *//*
15
13 16
@Table(descp = "团队表")
14 17
@PrimaryKey("id")
15 18
public class Team implements CreateTimeSupported, ModifyTimeSupported {
@ -158,3 +161,4 @@ public class Team implements CreateTimeSupported, ModifyTimeSupported {
158 161
        this.modifyTime = modifyTime;
159 162
    }
160 163
}
164
*/

+ 5 - 1
src/main/java/com/ekexiu/portal/team/TeamDao.java

@ -1,3 +1,4 @@
1
/*
1 2
package com.ekexiu.portal.team;
2 3
3 4
import org.jfw.apt.annotation.DefaultValue;
@ -33,9 +34,11 @@ import java.sql.Connection;
33 34
import java.sql.SQLException;
34 35
import java.util.List;
35 36
37
*/
36 38
/**
37 39
 * Created by TT on 2019/7/8.
38
 */
40
 *//*
41
39 42
@DAO
40 43
public interface TeamDao {
41 44
@ -159,3 +162,4 @@ public interface TeamDao {
159 162
            @LimitColumn(value = "id", asc = false) }, value = "")
160 163
    List<Team> indexSearch(Connection con, @Nullable @GroupSqlColumn(handlerClass = StringHandler.class, value = {"name like ?", "org_name like ?", "subject like ?", "industry like ?"},isAnd = false) String key,@Nullable @Like String subject, @Nullable @Like String industry, @Nullable String city, String createTime, String id, int rows) throws SQLException;
161 164
}
165
*/

+ 5 - 1
src/main/java/com/ekexiu/portal/team/TeamKeyWord.java

@ -1,12 +1,15 @@
1
/*
1 2
package com.ekexiu.portal.team;
2 3
3 4
import org.jfw.apt.orm.annotation.entry.Column;
4 5
import org.jfw.apt.orm.annotation.entry.Table;
5 6
import org.jfw.apt.orm.core.enums.DE;
6 7
8
*/
7 9
/**
8 10
 * Created by TT on 2019/7/10.
9
 */
11
 *//*
12
10 13
@Table
11 14
public class TeamKeyWord {
12 15
    private String id;
@ -30,3 +33,4 @@ public class TeamKeyWord {
30 33
        this.kw = kw;
31 34
    }
32 35
}
36
*/

+ 5 - 1
src/main/java/com/ekexiu/portal/team/TeamKeyWordDao.java

@ -1,3 +1,4 @@
1
/*
1 2
package com.ekexiu.portal.team;
2 3
3 4
import org.jfw.apt.orm.annotation.dao.Batch;
@ -9,9 +10,11 @@ import org.jfw.apt.orm.annotation.dao.method.operator.Insert;
9 10
import java.sql.Connection;
10 11
import java.sql.SQLException;
11 12
13
*/
12 14
/**
13 15
 * Created by TT on 2019/7/10.
14
 */
16
 *//*
17
15 18
@DAO
16 19
public interface TeamKeyWordDao {
17 20
@ -23,3 +26,4 @@ public interface TeamKeyWordDao {
23 26
    @From(TeamKeyWord.class)
24 27
    int delete(Connection con,String id)throws SQLException;
25 28
}
29
*/

+ 5 - 1
src/main/java/com/ekexiu/portal/team/TeamPaper.java

@ -1,12 +1,15 @@
1
/*
1 2
package com.ekexiu.portal.team;
2 3
3 4
import org.jfw.apt.orm.annotation.entry.Column;
4 5
import org.jfw.apt.orm.annotation.entry.Table;
5 6
import org.jfw.apt.orm.core.enums.DE;
6 7
8
*/
7 9
/**
8 10
 * Created by TT on 2019/7/10.
9
 */
11
 *//*
12
10 13
@Table(descp = "团队专利论文表")
11 14
public class TeamPaper {
12 15
    private String id;
@ -30,3 +33,4 @@ public class TeamPaper {
30 33
        this.paper = paper;
31 34
    }
32 35
}
36
*/

+ 5 - 1
src/main/java/com/ekexiu/portal/team/TeamPatent.java

@ -1,12 +1,15 @@
1
/*
1 2
package com.ekexiu.portal.team;
2 3
3 4
import org.jfw.apt.orm.annotation.entry.Column;
4 5
import org.jfw.apt.orm.annotation.entry.Table;
5 6
import org.jfw.apt.orm.core.enums.DE;
6 7
8
*/
7 9
/**
8 10
 * Created by TT on 2019/7/8.
9
 */
11
 *//*
12
10 13
@Table(descp = "团队专利成果表")
11 14
public class TeamPatent {
12 15
    private String id;
@ -30,3 +33,4 @@ public class TeamPatent {
30 33
        this.patent = patent;
31 34
    }
32 35
}
36
*/

+ 5 - 1
src/main/java/com/ekexiu/portal/team/TeamPro.java

@ -1,12 +1,15 @@
1
/*
1 2
package com.ekexiu.portal.team;
2 3
3 4
import org.jfw.apt.orm.annotation.entry.Column;
4 5
import org.jfw.apt.orm.annotation.entry.Table;
5 6
import org.jfw.apt.orm.core.enums.DE;
6 7
8
*/
7 9
/**
8 10
 * Created by TT on 2019/7/8.
9
 */
11
 *//*
12
10 13
@Table(descp = "团队专家")
11 14
public class TeamPro {
12 15
    private String id;
@ -50,3 +53,4 @@ public class TeamPro {
50 53
        this.chief = chief;
51 54
    }
52 55
}
56
*/

+ 5 - 1
src/main/java/com/ekexiu/portal/team/TeamResResult.java

@ -1,12 +1,15 @@
1
/*
1 2
package com.ekexiu.portal.team;
2 3
3 4
import org.jfw.apt.orm.annotation.entry.Column;
4 5
import org.jfw.apt.orm.annotation.entry.Table;
5 6
import org.jfw.apt.orm.core.enums.DE;
6 7
8
*/
7 9
/**
8 10
 * Created by TT on 2019/7/8.
9
 */
11
 *//*
12
10 13
@Table(descp = "团队非专利成果表")
11 14
public class TeamResResult {
12 15
    private String id;
@ -30,3 +33,4 @@ public class TeamResResult {
30 33
        this.researchResult = researchResult;
31 34
    }
32 35
}
36
*/

+ 9 - 3
src/main/java/com/ekexiu/portal/team/TeamService.java

@ -1,3 +1,4 @@
1
/*
1 2
package com.ekexiu.portal.team;
2 3
3 4
import com.ekexiu.portal.dao.PpaperDao;
@ -40,9 +41,11 @@ import java.util.LinkedList;
40 41
import java.util.List;
41 42
import java.util.concurrent.atomic.AtomicInteger;
42 43
44
*/
43 45
/**
44 46
 * Created by TT on 2019/7/9.
45
 */
47
 *//*
48
46 49
47 50
@Path("/team")
48 51
public class TeamService {
@ -160,13 +163,15 @@ public class TeamService {
160 163
        this.ppaperDao = ppaperDao;
161 164
    }
162 165
163
    /**
166
    */
167
/**
164 168
     * 上传文件
165 169
     *
166 170
     * @param it
167 171
     * @return
168 172
     * @throws Exception
169
     */
173
     *//*
174
170 175
    @Path("/upload")
171 176
    @Post
172 177
    public List<UploadFile> upload(@Upload UploadItemIterator it) throws Exception {
@ -565,3 +570,4 @@ public class TeamService {
565 570
566 571
567 572
}
573
*/