Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
b6590b1f
Commit
b6590b1f
authored
Apr 28, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Checkのテーブル復元
parent
b47d99f6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
18 deletions
+10
-18
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/dao/GroupDao.java
+0
-0
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/tables/MGroup.java
+10
-11
ABVJE_BL/src/jp/agentec/abook/abv/bl/dto/GroupDto.java
+0
-7
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/dao/GroupDao.java
View file @
b6590b1f
This diff is collapsed.
Click to expand it.
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/tables/MGroup.java
View file @
b6590b1f
...
...
@@ -15,16 +15,16 @@ import jp.agentec.adf.util.StringUtil;
* @version 1.1.1
*/
public
class
MGroup
extends
SQLiteTableScript
{
public
MGroup
()
{
super
();
}
@Override
public
List
<
String
>
getCreateScript
(
int
version
)
{
List
<
String
>
ddl
=
new
ArrayList
<
String
>();
StringBuffer
sql
=
new
StringBuffer
();
// since DatabaseVersions.Ver1_0_0
sql
.
append
(
" CREATE TABLE m_group ( "
);
sql
.
append
(
" group_relation_id INTEGER NOT NULL "
);
...
...
@@ -34,34 +34,33 @@ public class MGroup extends SQLiteTableScript {
sql
.
append
(
" , group_name VARCHAR(64) NOT NULL "
);
sql
.
append
(
" , group_path TEXT NOT NULL "
);
// path enumaerationパターンを適用する。since DatabaseVersions.Ver1_5_0
sql
.
append
(
" , user_group_flg BOOLEAN NOT NULL DEFAULT 0 "
);
// since DatabaseVersions.Plus_1_1_0
sql
.
append
(
" , favorite_register_date VARCHAR2(64) "
);
sql
.
append
(
" , PRIMARY KEY (group_relation_id) "
);
sql
.
append
(
" ) "
);
ddl
.
add
(
sql
.
toString
());
StringUtil
.
clear
(
sql
);
sql
.
append
(
" CREATE INDEX idx_group_1 ON m_group ( "
);
sql
.
append
(
" parent_group_id "
);
sql
.
append
(
" ) "
);
ddl
.
add
(
sql
.
toString
());
StringUtil
.
clear
(
sql
);
// sql.append(" CREATE UNIQUE INDEX udx_group_1 ON m_group ( "); // TODO: これは複数の親を持てる場合には必要だが。
// sql.append(" group_id, parent_group_id, group_level ");
// sql.append(" ) ");
//
// ddl.add(sql.toString());
// StringUtil.clear(sql);
// since DatabaseVersions.Ver1_5_0
sql
.
append
(
" CREATE UNIQUE INDEX udx_group_2 ON m_group ( "
);
sql
.
append
(
" group_path "
);
sql
.
append
(
" ) "
);
sql
.
append
(
" ) "
);
ddl
.
add
(
sql
.
toString
());
return
ddl
;
}
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/dto/GroupDto.java
View file @
b6590b1f
package
jp
.
agentec
.
abook
.
abv
.
bl
.
dto
;
import
java.util.List
;
/**
* グループ情報を格納します。m_groupのPKであるgroup_relation_idはこのdtoの扱いません。内部的なキーはgetKyeValuesメソッドで定義してあります。
* @author Taejin Hong
...
...
@@ -17,12 +15,7 @@ public class GroupDto extends AbstractDto {
public
int
contentCount
=
0
;
public
String
displayCount
;
public
String
groupPath
;
public
String
favoriteRegisterDate
=
""
;
public
boolean
userGroupFlg
;
public
int
delFlg
;
public
List
<
ShopMemberDto
>
groupMembers
;
public
List
<
String
>
groupPathList
;
public
String
updateDate
;
public
GroupDto
()
{
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment