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
d16f92a5
Commit
d16f92a5
authored
Dec 25, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改造变更登记由service注入改为figen远程调用
parent
ca27e11c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
JgChangeRegistrationReformServiceImpl.java
...z/service/impl/JgChangeRegistrationReformServiceImpl.java
+7
-4
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgChangeRegistrationReformServiceImpl.java
View file @
d16f92a5
...
@@ -38,6 +38,7 @@ import org.typroject.tyboot.core.foundation.context.RequestContext;
...
@@ -38,6 +38,7 @@ import org.typroject.tyboot.core.foundation.context.RequestContext;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
java.util.*
;
import
java.util.*
;
...
@@ -81,8 +82,6 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -81,8 +82,6 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
@Autowired
@Autowired
private
IdxBizJgRegisterInfoMapper
idxBizJgRegisterInfoMapper
;
private
IdxBizJgRegisterInfoMapper
idxBizJgRegisterInfoMapper
;
@Autowired
@Autowired
private
ICreateCodeService
iCreateCodeService
;
@Autowired
private
IdxBizJgOtherInfoMapper
idxBizJgOtherInfoMapper
;
private
IdxBizJgOtherInfoMapper
idxBizJgOtherInfoMapper
;
...
@@ -178,8 +177,12 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -178,8 +177,12 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
// 业务管理设备信息保存
// 业务管理设备信息保存
JgChangeRegistrationReformEq
jgChangeRegistrationReformEq
=
new
JgChangeRegistrationReformEq
();
JgChangeRegistrationReformEq
jgChangeRegistrationReformEq
=
new
JgChangeRegistrationReformEq
();
jgChangeRegistrationReformEq
.
setEquId
(
equipId
);
jgChangeRegistrationReformEq
.
setEquId
(
equipId
);
List
<
String
>
applicationFormCode
=
iCreateCodeService
.
createApplicationFormCode
(
ApplicationFormTypeEnum
.
GZBG
.
getCode
(),
1
);
ResponseModel
<
List
<
String
>>
result
=
tzsServiceFeignClient
.
applicationFormCode
(
ApplicationFormTypeEnum
.
GZBG
.
getCode
(),
1
);
jgChangeRegistrationReform
.
setApplyNo
(
applicationFormCode
.
get
(
0
));
if
(!
result
.
getResult
().
isEmpty
()){
jgChangeRegistrationReform
.
setApplyNo
(
result
.
getResult
().
get
(
0
));
}
else
{
throw
new
BadRequest
(
"申请单编号生成失败,请稍后重试!"
);
}
jgChangeRegistrationReform
.
setAuditStatus
(
WorkFlowStatusEnum
.
CHANGE_SUBMIT
.
getPass
());
jgChangeRegistrationReform
.
setAuditStatus
(
WorkFlowStatusEnum
.
CHANGE_SUBMIT
.
getPass
());
jgChangeRegistrationReform
.
setStatus
(
WorkFlowStatusEnum
.
CHANGE_SUBMIT
.
getPass
());
jgChangeRegistrationReform
.
setStatus
(
WorkFlowStatusEnum
.
CHANGE_SUBMIT
.
getPass
());
jgChangeRegistrationReform
.
setRegDate
(
new
Date
());
jgChangeRegistrationReform
.
setRegDate
(
new
Date
());
...
...
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