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
c7af4615
Commit
c7af4615
authored
Aug 08, 2021
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
ff3feb5b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
CommandController.java
...boot/module/command/biz/controller/CommandController.java
+1
-1
ElevatorServiceImpl.java
...boot/module/tzs/biz/service/impl/ElevatorServiceImpl.java
+5
-4
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-command-biz/src/main/java/com/yeejoin/amos/boot/module/command/biz/controller/CommandController.java
View file @
c7af4615
...
@@ -510,7 +510,7 @@ public class CommandController extends BaseController {
...
@@ -510,7 +510,7 @@ public class CommandController extends BaseController {
page
.
setCurrent
(
pageNum
);
page
.
setCurrent
(
pageNum
);
page
.
setSize
(
pageSize
);
page
.
setSize
(
pageSize
);
Page
<
LinkageUnitDto
>
linkageUnitDtoPage
=
iLinkageUnitService
.
queryForLinkageUnitPage
(
page
,
false
,
Page
<
LinkageUnitDto
>
linkageUnitDtoPage
=
iLinkageUnitService
.
queryForLinkageUnitPage
(
page
,
false
,
unitName
,
linkageUnitType
,
null
);
unitName
,
linkageUnitType
,
null
,
inAgreement
);
return
ResponseHelper
.
buildResponse
(
linkageUnitDtoPage
);
return
ResponseHelper
.
buildResponse
(
linkageUnitDtoPage
);
}
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/ElevatorServiceImpl.java
View file @
c7af4615
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
biz
.
service
.
impl
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
biz
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
//import com.yeejoin.amos.boot.module.common.api.service.ISourceFileService;
import
com.yeejoin.amos.boot.module.common.api.service.ISourceFileService
;
import
com.yeejoin.amos.boot.module.common.api.service.ISourceFileService
;
import
com.yeejoin.amos.boot.module.tzs.api.dto.AlertCalledDto
;
import
com.yeejoin.amos.boot.module.tzs.api.dto.AlertCalledDto
;
import
com.yeejoin.amos.boot.module.tzs.api.dto.ElevatorDto
;
import
com.yeejoin.amos.boot.module.tzs.api.dto.ElevatorDto
;
...
@@ -22,8 +23,8 @@ import org.typroject.tyboot.core.restful.exception.instance.BadRequest;
...
@@ -22,8 +23,8 @@ import org.typroject.tyboot.core.restful.exception.instance.BadRequest;
@Service
@Service
public
class
ElevatorServiceImpl
extends
BaseService
<
ElevatorDto
,
Elevator
,
ElevatorMapper
>
implements
IElevatorService
{
public
class
ElevatorServiceImpl
extends
BaseService
<
ElevatorDto
,
Elevator
,
ElevatorMapper
>
implements
IElevatorService
{
@Autowired
//
@Autowired
ISourceFileService
sourceFileService
;
//
ISourceFileService sourceFileService;
@Autowired
@Autowired
AlertCalledServiceImpl
alertCalledServiceImpl
;
AlertCalledServiceImpl
alertCalledServiceImpl
;
...
@@ -38,7 +39,7 @@ public class ElevatorServiceImpl extends BaseService<ElevatorDto, Elevator, Elev
...
@@ -38,7 +39,7 @@ public class ElevatorServiceImpl extends BaseService<ElevatorDto, Elevator, Elev
elevatorDto
=
createWithModel
(
elevatorDto
);
elevatorDto
=
createWithModel
(
elevatorDto
);
// TODO 保存附件
// TODO 保存附件
sourceFileService
.
saveAttachments
(
elevatorDto
.
getSequenceNbr
(),
elevatorDto
.
getAttachments
());
//
sourceFileService.saveAttachments(elevatorDto.getSequenceNbr(), elevatorDto.getAttachments());
return
elevatorDto
;
return
elevatorDto
;
}
}
...
@@ -52,7 +53,7 @@ public class ElevatorServiceImpl extends BaseService<ElevatorDto, Elevator, Elev
...
@@ -52,7 +53,7 @@ public class ElevatorServiceImpl extends BaseService<ElevatorDto, Elevator, Elev
elevatorDto
=
updateWithModel
(
elevatorDto
);
elevatorDto
=
updateWithModel
(
elevatorDto
);
// TODO 保存附件
// TODO 保存附件
sourceFileService
.
saveAttachments
(
elevatorDto
.
getSequenceNbr
(),
elevatorDto
.
getAttachments
());
//
sourceFileService.saveAttachments(elevatorDto.getSequenceNbr(), elevatorDto.getAttachments());
return
elevatorDto
;
return
elevatorDto
;
}
}
...
...
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