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
d018e5be
You need to sign in or sign up before continuing.
Commit
d018e5be
authored
Nov 12, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
図面工程管理不具合修正
parent
c99151ab
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/OperationLogic.java
+3
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ContentViewActivity.java
+6
-0
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/OperationLogic.java
View file @
d018e5be
...
...
@@ -1160,6 +1160,7 @@ public class OperationLogic extends AbstractLogic {
OperationDto
operation
=
mOperationDao
.
getOperation
(
operationId
);
if
(
operation
.
reportType
==
Constant
.
ReportType
.
ReportContinuous
)
{
contentPath
=
contentPath
.
replaceAll
(
"panoImage"
,
"processList"
);
contentPath
=
contentPath
.
replaceAll
(
"taskPdf"
,
"processList"
);
}
for
(
TaskDto
dto
:
taskDtoList
)
{
if
(!
StringUtil
.
isNullOrEmpty
(
dto
.
taskHotSpotInfo
))
{
...
...
@@ -1221,6 +1222,7 @@ public class OperationLogic extends AbstractLogic {
OperationDto
operation
=
mOperationDao
.
getOperation
(
operationId
);
if
(
operation
.
operationType
==
PANO
||
operation
.
operationType
==
DRAWING
)
{
contentPath
=
contentPath
.
replaceAll
(
"panoImage"
,
"processList"
);
contentPath
=
contentPath
.
replaceAll
(
"taskPdf"
,
"processList"
);
}
FileUtil
.
createFile
(
contentPath
+
"/phaseStatus.json"
,
phaseStatusJson
.
toString
());
}
...
...
@@ -1247,6 +1249,7 @@ public class OperationLogic extends AbstractLogic {
OperationDto
operation
=
mOperationDao
.
getOperation
(
operationId
);
if
(
operation
.
operationType
==
PANO
||
operation
.
operationType
==
DRAWING
)
{
contentPath
=
contentPath
.
replaceAll
(
"panoImage"
,
"processList"
);
contentPath
=
contentPath
.
replaceAll
(
"taskPdf"
,
"processList"
);
}
Logger
.
d
(
TAG
,
"createProcessInfoJson : "
+
processInfoJson
.
toString
());
FileUtil
.
createFile
(
contentPath
+
"/processInfo.json"
,
processInfoJson
.
toString
());
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ContentViewActivity.java
View file @
d018e5be
...
...
@@ -5210,8 +5210,14 @@ public class ContentViewActivity extends ABVContentViewActivity {
private
void
getTaskHotspotJSON
()
{
try
{
String
contentPath
=
ABVEnvironment
.
getInstance
().
getTaskPdfDirName
(
ContentFileExtractor
.
getInstance
().
getContentCacheDirWithExtract
(
operationDto
.
contentId
));
if
(
operationDto
.
reportType
==
Constant
.
ReportType
.
ReportContinuous
)
{
contentPath
=
contentPath
.
replaceAll
(
"panoImage"
,
"processList"
);
contentPath
=
contentPath
.
replaceAll
(
"taskPdf"
,
"processList"
);
}
String
hotspots
=
FileUtil
.
readTextFile
(
contentPath
+
"/"
+
ABookKeys
.
TASK_HOTSPOT
+
".json"
);
if
(
hotspots
!=
null
)
{
mTaskHotspotJSON
=
new
TaskHotspotJSON
(
hotspots
);
}
}
catch
(
IOException
e
)
{
Logger
.
e
(
TAG
,
"read taskHotspot.json failed."
,
e
);
initError
();
...
...
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