Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
data-acquisition
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
竹天卫
data-acquisition
Commits
7f38b7a3
Commit
7f38b7a3
authored
Jun 21, 2021
by
竹天卫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
穿孔修改 优化
parent
b1e58f44
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
TProcessesDrilling.java
...se/sc/acquisition/business/entity/TProcessesDrilling.java
+3
-3
TProcessesDrillingQuery.java
...isition/business/model/query/TProcessesDrillingQuery.java
+3
-3
TProcessesDrillingServiceImpl.java
.../business/service/impl/TProcessesDrillingServiceImpl.java
+5
-1
No files found.
acquisition-business/src/main/java/cn/wise/sc/acquisition/business/entity/TProcessesDrilling.java
View file @
7f38b7a3
...
@@ -131,19 +131,19 @@ public class TProcessesDrilling implements Serializable {
...
@@ -131,19 +131,19 @@ public class TProcessesDrilling implements Serializable {
* 开孔坐标X
* 开孔坐标X
*/
*/
@TableField
(
"X"
)
@TableField
(
"X"
)
private
Double
x
;
private
String
x
;
/**
/**
* 开孔坐标Y
* 开孔坐标Y
*/
*/
@TableField
(
"Y"
)
@TableField
(
"Y"
)
private
Double
y
;
private
String
y
;
/**
/**
* 开孔坐标Z
* 开孔坐标Z
*/
*/
@TableField
(
"Z"
)
@TableField
(
"Z"
)
private
Double
z
;
private
String
z
;
/**
/**
* 单孔爆破量(m3)
* 单孔爆破量(m3)
...
...
acquisition-business/src/main/java/cn/wise/sc/acquisition/business/model/query/TProcessesDrillingQuery.java
View file @
7f38b7a3
...
@@ -120,19 +120,19 @@ public class TProcessesDrillingQuery {
...
@@ -120,19 +120,19 @@ public class TProcessesDrillingQuery {
* 开孔坐标X
* 开孔坐标X
*/
*/
@ApiModelProperty
(
"X"
)
@ApiModelProperty
(
"X"
)
private
Double
x
;
private
String
x
;
/**
/**
* 开孔坐标Y
* 开孔坐标Y
*/
*/
@ApiModelProperty
(
"Y"
)
@ApiModelProperty
(
"Y"
)
private
Double
y
;
private
String
y
;
/**
/**
* 开孔坐标Z
* 开孔坐标Z
*/
*/
@ApiModelProperty
(
"Z"
)
@ApiModelProperty
(
"Z"
)
private
Double
z
;
private
String
z
;
/**
/**
* 单孔爆破量(m3)
* 单孔爆破量(m3)
...
...
acquisition-business/src/main/java/cn/wise/sc/acquisition/business/service/impl/TProcessesDrillingServiceImpl.java
View file @
7f38b7a3
...
@@ -249,7 +249,11 @@ public class TProcessesDrillingServiceImpl extends ServiceImpl<TProcessesDrillin
...
@@ -249,7 +249,11 @@ public class TProcessesDrillingServiceImpl extends ServiceImpl<TProcessesDrillin
QueryWrapper
<
TProcessesDrilling
>
queryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
TProcessesDrilling
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
StringUtils
.
isNotBlank
(
query
.
getUid
()),
ProjectEnum
.
TProcessesDrilling
.
UID
.
getLabel
(),
query
.
getUid
());
queryWrapper
.
eq
(
StringUtils
.
isNotBlank
(
query
.
getUid
()),
ProjectEnum
.
TProcessesDrilling
.
UID
.
getLabel
(),
query
.
getUid
());
//修改
//修改
int
update
=
baseMapper
.
update
(
temp
,
queryWrapper
);
// int update = baseMapper.update(temp, queryWrapper);
int
update
=
baseMapper
.
updateById
(
temp
);
if
(
update
>
0
)
{
if
(
update
>
0
)
{
return
R
.
ok
(
"穿孔工序中->修改成功"
);
return
R
.
ok
(
"穿孔工序中->修改成功"
);
}
else
{
}
else
{
...
...
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