Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
station
YeeAmosFireAutoSysRoot
Commits
8a673af9
Commit
8a673af9
authored
Mar 17, 2023
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
f034e394
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
27 deletions
+3
-27
PlanVisual3dController.java
.../amos/fas/business/controller/PlanVisual3dController.java
+0
-13
PlanVisual3dServiceImpl.java
...os/fas/business/service/impl/PlanVisual3dServiceImpl.java
+1
-1
IPlanVisual3dService.java
...amos/fas/business/service/intfc/IPlanVisual3dService.java
+0
-8
ToipResponse.java
...yeejoin/amos/fas/business/service/model/ToipResponse.java
+2
-5
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/controller/PlanVisual3dController.java
View file @
8a673af9
...
@@ -184,19 +184,6 @@ public class PlanVisual3dController extends BaseController {
...
@@ -184,19 +184,6 @@ public class PlanVisual3dController extends BaseController {
}
}
@Permission
@Permission
@ApiOperation
(
value
=
"根据批次号获取预案状态"
,
notes
=
"根据批次号获取预案状态"
)
@GetMapping
(
value
=
"/plan/getPlaneIfDataMock"
)
public
ResponseModel
getPlaneRecord
(
@RequestParam
(
"batchNo"
)
String
batchNo
)
{
if
(
StringUtils
.
isBlank
(
batchNo
))
{
batchNo
=
planVisual3dService
.
getLastBatchNo
();
}
if
(
StringUtils
.
isBlank
(
batchNo
))
{
return
CommonResponseUtil
.
successNew
(
null
);
}
return
CommonResponseUtil
.
successNew
(
planVisual3dService
.
judgeIfPlanDataMock
(
batchNo
));
}
@Permission
@ApiOperation
(
value
=
"预案智能辅助"
,
notes
=
"预案智能辅助"
)
@ApiOperation
(
value
=
"预案智能辅助"
,
notes
=
"预案智能辅助"
)
@GetMapping
(
value
=
"/plan/getPlaneRecordOne"
)
@GetMapping
(
value
=
"/plan/getPlaneRecordOne"
)
public
ResponseModel
getPlaneRecordOne
()
{
public
ResponseModel
getPlaneRecordOne
()
{
...
...
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/impl/PlanVisual3dServiceImpl.java
View file @
8a673af9
...
@@ -281,6 +281,7 @@ public class PlanVisual3dServiceImpl implements IPlanVisual3dService {
...
@@ -281,6 +281,7 @@ public class PlanVisual3dServiceImpl implements IPlanVisual3dService {
if
(!
ObjectUtils
.
isEmpty
(
infoVO
.
getPosition
()))
{
if
(!
ObjectUtils
.
isEmpty
(
infoVO
.
getPosition
()))
{
contingencyOriginalData
.
setPosition
(
infoVO
.
getPosition
());
contingencyOriginalData
.
setPosition
(
infoVO
.
getPosition
());
}
}
toipResponse
.
setMockData
(
judgeIfPlanDataMock
(
batchNo
));
toipResponse
.
setMsgType
(
"recordarea"
);
toipResponse
.
setMsgType
(
"recordarea"
);
toipResponse
.
setMsgContext
(
msgContext
);
toipResponse
.
setMsgContext
(
msgContext
);
toipResponse
.
setContingency
(
contingencyOriginalData
);
toipResponse
.
setContingency
(
contingencyOriginalData
);
...
@@ -288,7 +289,6 @@ public class PlanVisual3dServiceImpl implements IPlanVisual3dService {
...
@@ -288,7 +289,6 @@ public class PlanVisual3dServiceImpl implements IPlanVisual3dService {
return
toipResponse
;
return
toipResponse
;
}
}
@Override
public
boolean
judgeIfPlanDataMock
(
String
batchNo
)
{
public
boolean
judgeIfPlanDataMock
(
String
batchNo
)
{
PlanOperationRecord
planOperationRecord
=
planOperationRecordDao
.
findByBatchNo
(
batchNo
);
PlanOperationRecord
planOperationRecord
=
planOperationRecordDao
.
findByBatchNo
(
batchNo
);
if
(
planOperationRecord
==
null
)
{
if
(
planOperationRecord
==
null
)
{
...
...
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/intfc/IPlanVisual3dService.java
View file @
8a673af9
...
@@ -74,14 +74,6 @@ public interface IPlanVisual3dService {
...
@@ -74,14 +74,6 @@ public interface IPlanVisual3dService {
ToipResponse
getPlaneRecordByBatchNo
(
String
batchNo
);
ToipResponse
getPlaneRecordByBatchNo
(
String
batchNo
);
/**
/**
* 根据批次号获取预案状态
*
* @param batchNo 批次号
* @return 预案记录
*/
boolean
judgeIfPlanDataMock
(
String
batchNo
);
/**
* 根据批次号获取预案记录
* 根据批次号获取预案记录
*
*
* @param batchNo 批次号
* @param batchNo 批次号
...
...
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/model/ToipResponse.java
View file @
8a673af9
...
@@ -30,11 +30,6 @@ public class ToipResponse implements Serializable
...
@@ -30,11 +30,6 @@ public class ToipResponse implements Serializable
* </pre>
* </pre>
*/
*/
private
static
final
long
serialVersionUID
=
-
7035041461377884452L
;
private
static
final
long
serialVersionUID
=
-
7035041461377884452L
;
/**
*
*/
/**
/**
* 界面域
* 界面域
...
@@ -56,6 +51,8 @@ public class ToipResponse implements Serializable
...
@@ -56,6 +51,8 @@ public class ToipResponse implements Serializable
* marker
* marker
*/
*/
private
Object
contingency
;
private
Object
contingency
;
private
boolean
mockData
;
public
String
toJsonStr
()
{
public
String
toJsonStr
()
{
return
JSON
.
toJSONString
(
this
,
SerializerFeature
.
WriteMapNullValue
,
SerializerFeature
.
DisableCircularReferenceDetect
,
SerializerFeature
.
SkipTransientField
);
return
JSON
.
toJSONString
(
this
,
SerializerFeature
.
WriteMapNullValue
,
SerializerFeature
.
DisableCircularReferenceDetect
,
SerializerFeature
.
SkipTransientField
);
...
...
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