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
824c86a4
Commit
824c86a4
authored
Jan 16, 2025
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):工业管道历史使用等级作废调整
parent
c0b8c18b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
JgUseRegistrationMapper.xml
...api/src/main/resources/mapper/JgUseRegistrationMapper.xml
+1
-0
JgUseRegistrationController.java
...module/jg/biz/controller/JgUseRegistrationController.java
+7
-0
DataDockServiceImpl.java
.../boot/module/jg/biz/service/impl/DataDockServiceImpl.java
+2
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationMapper.xml
View file @
824c86a4
...
...
@@ -80,6 +80,7 @@
ur.supervision_org_code,
ur.use_address as fullAddress,
ur.cancel_reason as cancelReason,
ur.project_contraption_id as projectContraptionId,
(select group_concat(re.equ_id) from tzs_jg_use_registration_eq re where ur.sequence_nbr = re.equip_transfer_id) as equipId,
(SELECT
group_concat(DISTINCT other.supervisory_code)
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgUseRegistrationController.java
View file @
824c86a4
...
...
@@ -10,6 +10,7 @@ import com.yeejoin.amos.boot.module.jg.api.entity.JgUseRegistration;
import
com.yeejoin.amos.boot.module.jg.api.enums.CompanyTypeEnum
;
import
com.yeejoin.amos.boot.module.jg.biz.service.impl.JgUseRegistrationServiceImpl
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgProjectContraption
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.IdxBizJgProjectContraptionMapper
;
import
com.yeejoin.amos.component.feign.model.FeignClientResult
;
import
com.yeejoin.amos.component.feign.utils.FeignUtil
;
import
com.yeejoin.amos.feign.privilege.Privilege
;
...
...
@@ -29,6 +30,7 @@ import org.typroject.tyboot.core.restful.utils.ResponseHelper;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
springfox.documentation.annotations.ApiIgnore
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletResponse
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
...
...
@@ -45,6 +47,8 @@ public class JgUseRegistrationController extends BaseController {
@Autowired
JgUseRegistrationServiceImpl
jgUseRegistrationServiceImpl
;
@Resource
private
IdxBizJgProjectContraptionMapper
jgProjectContraptionMapper
;
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
...
...
@@ -143,6 +147,9 @@ public class JgUseRegistrationController extends BaseController {
list
.
getRecords
().
forEach
(
x
->
{
x
.
put
(
"companyType"
,
info
.
getCompany
().
getCompanyType
());
x
.
put
(
"regType"
,
"1"
.
equals
(
x
.
get
(
"regType"
))
?
"历史登记"
:
"2"
.
equals
(
x
.
get
(
"regType"
))
?
"特殊历史登记"
:
"新增登记"
);
if
(
"8000"
.
equals
(
String
.
valueOf
(
x
.
get
(
"equListCode"
)))){
x
.
put
(
"canVoided"
,
jgProjectContraptionMapper
.
countContraptionInUseTimesForDeleteByIntoManagement
(
Long
.
parseLong
((
String
)
x
.
get
(
"projectContraptionId"
)))
==
0
);
}
});
return
ResponseHelper
.
buildResponse
(
list
);
}
...
...
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/DataDockServiceImpl.java
View file @
824c86a4
...
...
@@ -1795,6 +1795,8 @@ public class DataDockServiceImpl {
.
setCreateDate
(
new
Date
())
.
setCreateUserId
(
paramsDto
.
getExecUserId
())
.
setCreateUserName
(
paramsDto
.
getExecUserName
())
.
setProjectContraptionId
(
String
.
valueOf
(
proCon
.
getSequenceNbr
()))
.
setProjectContraption
(
paramsDto
.
getProjectContraption
())
.
setRegDate
(
new
Date
());
useReg
.
setSequenceNbr
(
useRegseq
);
jgUseRegistrationServiceImpl
.
save
(
useReg
);
...
...
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