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
afc531ed
Commit
afc531ed
authored
Apr 20, 2021
by
Lee Daehyun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
アーカイブディテール修正
parent
be9625d6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
3 deletions
+6
-3
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/json/ArchiveDetailJSON.java
+1
-0
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/dao/ArchiveDao.java
+1
-1
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/tables/TArchive.java
+1
-0
ABVJE_BL/src/jp/agentec/abook/abv/bl/dto/ArchiveDto.java
+2
-1
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/CommunicationLogic.java
+1
-1
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/json/ArchiveDetailJSON.java
View file @
afc531ed
...
...
@@ -33,6 +33,7 @@ public class ArchiveDetailJSON extends AcmsCommonJSON {
archiveDto
.
archiveDate
=
DateTimeUtil
.
millToDateString
(
archiveInfo
.
getJSONObject
(
ABookCommConstants
.
KEY
.
ARCHIVE_DATE
)
.
getLong
(
ABookCommConstants
.
KEY
.
TIME
),
"yyyy/MM/dd HH:mm"
);
archiveDto
.
roomId
=
archiveInfo
.
getInt
(
ABookCommConstants
.
KEY
.
ROOM_ID
);
archiveDto
.
roomName
=
archiveInfo
.
getString
(
ABookCommConstants
.
KEY
.
ROOM_NAME
);
archiveDto
.
saveUserId
=
archiveInfo
.
getInt
(
ABookCommConstants
.
KEY
.
SAVE_USER_ID
);
archiveDto
.
filePath
=
archiveInfo
.
getString
(
ABookCommConstants
.
KEY
.
FILE_PATH
);
if
(
archiveInfo
.
has
(
ABookCommConstants
.
KEY
.
ATTEND_USER_IDS
))
{
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/dao/ArchiveDao.java
View file @
afc531ed
...
...
@@ -157,7 +157,7 @@ public class ArchiveDao extends AbstractDao {
}
public
boolean
updateArchiveDetailInfo
(
ArchiveDto
dto
)
{
long
count
=
update
(
"update t_archive set archive_name=?, archive_type=?, archive_date=?, room_id=?, attend_user_ids=?, file_path=?, save_user_id=? where archive_id=?"
,
dto
.
getUpdateDetailValues
());
long
count
=
update
(
"update t_archive set archive_name=?, archive_type=?, archive_date=?, room_id=?,
room_name=?,
attend_user_ids=?, file_path=?, save_user_id=? where archive_id=?"
,
dto
.
getUpdateDetailValues
());
return
count
>
0
;
}
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/tables/TArchive.java
View file @
afc531ed
...
...
@@ -23,6 +23,7 @@ public class TArchive extends SQLiteTableScript {
sql
.
append
(
" , attend_user_ids VARCHAR2 "
);
sql
.
append
(
" , file_path VARCHAR2 "
);
sql
.
append
(
" , room_id INTEGER "
);
sql
.
append
(
" , room_name VARCHAR2 "
);
sql
.
append
(
" , save_user_id INTEGER "
);
sql
.
append
(
" , collaboration_detail_id INTEGER "
);
sql
.
append
(
" , PRIMARY KEY (archive_id)"
);
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/dto/ArchiveDto.java
View file @
afc531ed
...
...
@@ -7,6 +7,7 @@ public class ArchiveDto extends AbstractDto {
public
String
archiveDate
;
public
Integer
archiveType
;
public
Integer
roomId
;
public
String
roomName
;
public
Integer
saveUserId
;
public
String
attendUserIds
;
public
String
filePath
;
...
...
@@ -25,7 +26,7 @@ public class ArchiveDto extends AbstractDto {
}
public
Object
[]
getUpdateDetailValues
()
{
return
new
Object
[]{
archiveName
,
archiveType
,
archiveDate
,
roomId
,
attendUserIds
,
filePath
,
saveUserId
,
archiveId
};
return
new
Object
[]{
archiveName
,
archiveType
,
archiveDate
,
roomId
,
roomName
,
attendUserIds
,
filePath
,
saveUserId
,
archiveId
};
}
@Override
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/CommunicationLogic.java
View file @
afc531ed
...
...
@@ -962,7 +962,7 @@ public class CommunicationLogic extends AbstractLogic {
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
ARCHIVE_DATE
,
archiveDto
.
archiveDate
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
ARCHIVE_TYPE
,
archiveDto
.
archiveType
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
ROOM_ID
,
archiveDto
.
roomId
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
ROOM_NAME
,
chatRoomDao
.
getChatRoom
(
archiveDto
.
roomId
).
chatR
oomName
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
ROOM_NAME
,
archiveDto
.
r
oomName
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
SAVE_USER_ID
,
archiveDto
.
saveUserId
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
ATTEND_USER_IDS
,
archiveDto
.
attendUserIds
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
FILE_PATH
,
archiveDto
.
filePath
);
...
...
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