Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
ba1be8c5
Commit
ba1be8c5
authored
Mar 03, 2023
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加日志
parent
06fbba14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
1 deletion
+41
-1
Check.java
...c/main/java/com/yeejoin/amos/patrol/dao/entity/Check.java
+36
-0
CheckServiceImpl.java
...n/amos/patrol/business/service/impl/CheckServiceImpl.java
+5
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-patrol-api/src/main/java/com/yeejoin/amos/patrol/dao/entity/Check.java
View file @
ba1be8c5
...
@@ -135,6 +135,7 @@ public class Check extends BasicEntity {
...
@@ -135,6 +135,7 @@ public class Check extends BasicEntity {
@Column
(
name
=
"route_name"
)
@Column
(
name
=
"route_name"
)
private
String
routeName
;
private
String
routeName
;
/**
/**
* 评分
* 评分
*/
*/
...
@@ -412,4 +413,38 @@ public class Check extends BasicEntity {
...
@@ -412,4 +413,38 @@ public class Check extends BasicEntity {
this
.
routeName
=
routeName
;
this
.
routeName
=
routeName
;
}
}
@Override
public
String
toString
()
{
return
"Check{"
+
"address='"
+
address
+
'\''
+
", checkMode='"
+
checkMode
+
'\''
+
", checkTime="
+
checkTime
+
", deviceId='"
+
deviceId
+
'\''
+
", error='"
+
error
+
'\''
+
", isOk='"
+
isOk
+
'\''
+
", latitude='"
+
latitude
+
'\''
+
", longitude='"
+
longitude
+
'\''
+
", orgCode='"
+
orgCode
+
'\''
+
", planId="
+
planId
+
", planName='"
+
planName
+
'\''
+
", planTaskId="
+
planTaskId
+
", planTaskDetailId="
+
planTaskDetailId
+
", pointId="
+
pointId
+
", pointName='"
+
pointName
+
'\''
+
", remark='"
+
remark
+
'\''
+
", routeId="
+
routeId
+
", routeName='"
+
routeName
+
'\''
+
", score="
+
score
+
", shotNumber="
+
shotNumber
+
", uploadTime="
+
uploadTime
+
", userId='"
+
userId
+
'\''
+
", userName='"
+
userName
+
'\''
+
", depId='"
+
depId
+
'\''
+
", depName='"
+
depName
+
'\''
+
", errorClassify='"
+
errorClassify
+
'\''
+
", checkInput="
+
checkInput
+
", checkShot="
+
checkShot
+
'}'
;
}
}
}
\ No newline at end of file
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/CheckServiceImpl.java
View file @
ba1be8c5
...
@@ -27,6 +27,8 @@ import com.yeejoin.amos.patrol.dao.entity.Plan;
...
@@ -27,6 +27,8 @@ import com.yeejoin.amos.patrol.dao.entity.Plan;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.assertj.core.util.Sets
;
import
org.assertj.core.util.Sets
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.cglib.beans.BeanMap
;
import
org.springframework.cglib.beans.BeanMap
;
...
@@ -155,6 +157,8 @@ public class CheckServiceImpl implements ICheckService {
...
@@ -155,6 +157,8 @@ public class CheckServiceImpl implements ICheckService {
@Autowired
@Autowired
private
CheckInputMapper
checkInputMapper
;
private
CheckInputMapper
checkInputMapper
;
public
static
final
Logger
log
=
LoggerFactory
.
getLogger
(
CheckServiceImpl
.
class
);
@Override
@Override
public
Page
<
CheckInfoVo
>
getCheckInfo
(
String
toke
,
String
product
,
String
appKey
,
CheckInfoPageParam
param
)
{
public
Page
<
CheckInfoVo
>
getCheckInfo
(
String
toke
,
String
product
,
String
appKey
,
CheckInfoPageParam
param
)
{
long
total
=
checkMapper
.
getCheckInfoCount
(
param
);
long
total
=
checkMapper
.
getCheckInfoCount
(
param
);
...
@@ -606,7 +610,7 @@ public class CheckServiceImpl implements ICheckService {
...
@@ -606,7 +610,7 @@ public class CheckServiceImpl implements ICheckService {
}
}
// check = checkDao.save(check);
// check = checkDao.save(check);
try
{
try
{
log
.
error
(
"手机app保存巡检记录++++++++++++++++++++++"
+
check
.
toString
()
+
"<Over><Over><Over><Over>"
);
check
=
checkDao
.
save
(
check
);
check
=
checkDao
.
save
(
check
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
...
...
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