Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ioc_sixiang_license
Project
Project
Details
Activity
Releases
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
zengtianlai3
ioc_sixiang_license
Commits
3648d524
Commit
3648d524
authored
Nov 24, 2022
by
AfirSraftGarrier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改连接测试
parent
93b8b423
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
PmsUseLog.java
...e/src/main/java/iot/sixiang/license/entity/PmsUseLog.java
+1
-2
PmsUseLogMapper.java
...main/java/iot/sixiang/license/mapper/PmsUseLogMapper.java
+0
-1
PmsUseServiceImpl.java
...a/iot/sixiang/license/service/impl/PmsUseServiceImpl.java
+2
-1
No files found.
license/src/main/java/iot/sixiang/license/entity/PmsUseLog.java
View file @
3648d524
...
@@ -5,7 +5,6 @@ import com.baomidou.mybatisplus.annotation.TableId;
...
@@ -5,7 +5,6 @@ import com.baomidou.mybatisplus.annotation.TableId;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
java.time.LocalDate
;
import
java.util.Date
;
import
java.util.Date
;
/**
/**
...
@@ -16,7 +15,7 @@ import java.util.Date;
...
@@ -16,7 +15,7 @@ import java.util.Date;
@Data
@Data
public
class
PmsUseLog
{
public
class
PmsUseLog
{
@ApiModelProperty
(
"记录标识"
)
@ApiModelProperty
(
"记录标识"
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
@TableId
(
type
=
IdType
.
AUTO
)
private
Integer
id
;
private
Integer
id
;
@ApiModelProperty
(
"设备编号"
)
@ApiModelProperty
(
"设备编号"
)
...
...
license/src/main/java/iot/sixiang/license/mapper/PmsUseLogMapper.java
View file @
3648d524
package
iot
.
sixiang
.
license
.
mapper
;
package
iot
.
sixiang
.
license
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
iot.sixiang.license.entity.Monitor
;
import
iot.sixiang.license.entity.PmsUseLog
;
import
iot.sixiang.license.entity.PmsUseLog
;
/**
/**
...
...
license/src/main/java/iot/sixiang/license/service/impl/PmsUseServiceImpl.java
View file @
3648d524
...
@@ -21,7 +21,8 @@ public class PmsUseServiceImpl implements PmsUseService {
...
@@ -21,7 +21,8 @@ public class PmsUseServiceImpl implements PmsUseService {
@Override
@Override
public
int
createUseLog
(
String
sn
)
{
public
int
createUseLog
(
String
sn
)
{
PmsUseLog
pmsUseLog
=
getPmsUseLog
(
sn
);
PmsUseLog
pmsUseLog
=
getPmsUseLog
(
sn
);
return
pmsUseLogMapper
.
insert
(
pmsUseLog
);
pmsUseLogMapper
.
insert
(
pmsUseLog
);
return
pmsUseLog
.
getId
();
}
}
@Override
@Override
...
...
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