|
@ -33,8 +33,8 @@ public interface CompanyDao {
|
33
|
33
|
|
34
|
34
|
@UpdateWith
|
35
|
35
|
@From(Company.class)
|
36
|
|
@Where("ACTIVE = '1'")
|
37
|
|
@SetSentence("ACTIVE = '0'")
|
|
36
|
@Where("ACTIVED = '1'")
|
|
37
|
@SetSentence("ACTIVED = '0'")
|
38
|
38
|
int delete(Connection con, String id) throws SQLException;
|
39
|
39
|
|
40
|
40
|
@SelectOne
|
|
@ -47,7 +47,7 @@ public interface CompanyDao {
|
47
|
47
|
|
48
|
48
|
@PageSelect
|
49
|
49
|
@OrderBy("ORDER BY CREATE_TIME DESC")
|
50
|
|
PageQueryResult<Company> pageQuery(Connection con, @Nullable Boolean active, @Nullable String name, int pageSize, int pageNo) throws SQLException;
|
|
50
|
PageQueryResult<Company> pageQuery(Connection con, @Nullable Boolean actived, @Nullable String name, int pageSize, int pageNo) throws SQLException;
|
51
|
51
|
|
52
|
52
|
@Insert
|
53
|
53
|
int insert(Connection con, CompKeyWord compKeyWord) throws SQLException;
|
|
@ -61,8 +61,8 @@ public interface CompanyDao {
|
61
|
61
|
|
62
|
62
|
@UpdateWith
|
63
|
63
|
@From(CompInvite.class)
|
64
|
|
@Where("ACTIVE = '1'")
|
65
|
|
@SetSentence("ACTIVE = '0'")
|
|
64
|
@Where("ACTIVED = '1'")
|
|
65
|
@SetSentence("ACTIVED = '0'")
|
66
|
66
|
int invited(Connection con, String id) throws SQLException;
|
67
|
67
|
|
68
|
68
|
}
|