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
3d914e59
Commit
3d914e59
authored
Jun 28, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_tzs_register' of…
Merge branch 'develop_tzs_register' of
http://36.40.66.175:5000/moa/amos-boot-biz
into develop_tzs_register
parents
d9480cfa
14a9b62a
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
23 additions
and
17 deletions
+23
-17
JgEnableDisableServiceImpl.java
...odule/jg/biz/service/impl/JgEnableDisableServiceImpl.java
+1
-1
JgEquipTransferServiceImpl.java
...odule/jg/biz/service/impl/JgEquipTransferServiceImpl.java
+1
-1
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+1
-1
JgMaintainNoticeServiceImpl.java
...dule/jg/biz/service/impl/JgMaintainNoticeServiceImpl.java
+14
-8
JgMaintenanceContractServiceImpl.java
...jg/biz/service/impl/JgMaintenanceContractServiceImpl.java
+1
-1
JgReformNoticeServiceImpl.java
...module/jg/biz/service/impl/JgReformNoticeServiceImpl.java
+1
-1
JgScrapCancelServiceImpl.java
.../module/jg/biz/service/impl/JgScrapCancelServiceImpl.java
+1
-1
JgTransferNoticeServiceImpl.java
...dule/jg/biz/service/impl/JgTransferNoticeServiceImpl.java
+1
-1
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+1
-1
JgVehicleInformationServiceImpl.java
.../jg/biz/service/impl/JgVehicleInformationServiceImpl.java
+1
-1
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/JgEnableDisableServiceImpl.java
View file @
3d914e59
...
...
@@ -717,7 +717,7 @@ public class JgEnableDisableServiceImpl extends BaseService<JgEnableDisableDto,
.
eq
(
JgEnableDisableEq:
:
getEnableDisableApplyId
,
sequenceNbr
));
// 删除单子对应历史表数据
jgRegistrationHistoryMapper
.
delete
(
new
LambdaQueryWrapper
<
JgRegistrationHistory
>()
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
jgEnableDisable
.
get
ApplyNo
()));
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
jgEnableDisable
.
get
SequenceNbr
()));
}
public
Map
<
String
,
Object
>
getDetail
(
Long
sequenceNbr
)
{
...
...
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/JgEquipTransferServiceImpl.java
View file @
3d914e59
...
...
@@ -759,7 +759,7 @@ public class JgEquipTransferServiceImpl extends BaseService<JgEquipTransferDto,
.
eq
(
JgEquipTransferEq:
:
getEquipTransferId
,
notice
.
getSequenceNbr
()));
// 删除单子对应历史表数据
jgRegistrationHistoryMapper
.
delete
(
new
LambdaQueryWrapper
<
JgRegistrationHistory
>()
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
notice
.
get
ApplyNo
()));
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
notice
.
get
SequenceNbr
()));
}
return
Boolean
.
TRUE
;
}
...
...
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/JgInstallationNoticeServiceImpl.java
View file @
3d914e59
...
...
@@ -464,7 +464,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
.
eq
(
JgInstallationNoticeEq:
:
getEquipTransferId
,
sequenceNbr
));
// 删除单子对应历史表数据
jgRegistrationHistoryMapper
.
delete
(
new
LambdaQueryWrapper
<
JgRegistrationHistory
>()
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
jgInstallationNotice
.
get
ApplyNo
()));
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
jgInstallationNotice
.
get
SequenceNbr
()));
}
return
Boolean
.
TRUE
;
}
...
...
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/JgMaintainNoticeServiceImpl.java
View file @
3d914e59
...
...
@@ -2,7 +2,6 @@ package com.yeejoin.amos.boot.module.jg.biz.service.impl;
import
cn.hutool.core.bean.BeanUtil
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
...
...
@@ -30,12 +29,10 @@ import com.yeejoin.amos.boot.module.jg.biz.feign.TzsServiceFeignClient;
import
com.yeejoin.amos.boot.module.jg.biz.service.IIdxBizJgRegisterInfoService
;
import
com.yeejoin.amos.boot.module.jg.biz.utils.WordTemplateUtils
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.RegistrationInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.TzBaseEnterpriseInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.ApplicationFormTypeEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.FlowStatusEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.EquipmentCategoryMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.OtherInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.RegistrationInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.SupervisoryCodeInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.*
;
import
com.yeejoin.amos.feign.systemctl.model.TaskV2Model
;
import
com.yeejoin.amos.feign.workflow.Workflow
;
import
com.yeejoin.amos.feign.workflow.model.*
;
...
...
@@ -119,7 +116,8 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
private
RedissonClient
redissonClient
;
@Autowired
private
JgRegistrationHistoryMapper
jgRegistrationHistoryMapper
;
@Autowired
private
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
;
/**
* 根据sequenceNbr查询
*
...
...
@@ -141,7 +139,15 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
maintainInfo
.
put
(
"constructionManagerId"
,
ObjectUtils
.
isEmpty
(
notice
.
getConstructionManagerId
())
?
null
:
notice
.
getConstructionManagerId
()
+
"_"
+
notice
.
getConstructionManager
());
maintainInfo
.
put
(
"county"
,
ObjectUtils
.
isEmpty
(
notice
.
getCounty
())
?
null
:
notice
.
getCounty
()
+
"_"
+
notice
.
getCountyName
());
maintainInfo
.
put
(
"fullAddress"
,
notice
.
getProvinceName
()
+
notice
.
getCityName
()
+
notice
.
getCounty
()
+
notice
.
getStreetName
()
+
notice
.
getAddress
());
maintainInfo
.
put
(
"useUnitCreditCode"
,
ObjectUtils
.
isEmpty
(
notice
.
getUseUnitCreditCode
())
?
null
:
notice
.
getUseUnitCreditCode
()
+
"_"
+
notice
.
getUseUnitName
());
//maintainInfo.put("useUnitCreditCode", ObjectUtils.isEmpty(notice.getUseUnitCreditCode()) ? null : notice.getUseUnitCreditCode() + "_" + notice.getUseUnitName());
if
(!
ObjectUtils
.
isEmpty
(
notice
.
getUseUnitCreditCode
()))
{
TzBaseEnterpriseInfo
useCodeResult
=
tzBaseEnterpriseInfoMapper
.
selectOne
(
new
QueryWrapper
<
TzBaseEnterpriseInfo
>().
eq
(
"use_unit_code"
,
notice
.
getUseUnitCreditCode
()));
if
(
useCodeResult
!=
null
)
{
String
result
=
notice
.
getUseUnitCreditCode
()
+
"_"
+
notice
.
getUseUnitName
()
+
(
"个人主体"
.
equals
(
useCodeResult
.
getUnitType
())
?
"_"
+
notice
.
getUseUnitCreditCode
().
substring
(
notice
.
getUseUnitCreditCode
().
length
()
-
4
)
:
""
);
maintainInfo
.
put
(
"useUnitCreditCode"
,
result
);
}
}
maintainInfo
.
put
(
"receiveOrgCode"
,
notice
.
getReceiveCompanyCode
()
+
"_"
+
notice
.
getReceiveOrgName
());
if
(!
ValidationUtil
.
isEmpty
(
notice
.
getInspectionUnitCreditCode
())
&&
!
ValidationUtil
.
isEmpty
(
notice
.
getInspectionUnitName
()))
{
maintainInfo
.
put
(
"inspectUnitId"
,
notice
.
getInspectionUnitCreditCode
()
+
"_"
+
notice
.
getInspectionUnitName
());
...
...
@@ -381,7 +387,7 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
.
eq
(
JgMaintainNoticeEq:
:
getEquipTransferId
,
sequenceNbr
));
// 删除单子对应历史表数据
jgRegistrationHistoryMapper
.
delete
(
new
LambdaQueryWrapper
<
JgRegistrationHistory
>()
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
jgMaintainNotice
.
get
ApplyNo
()));
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
jgMaintainNotice
.
get
SequenceNbr
()));
}
return
true
;
}
...
...
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/JgMaintenanceContractServiceImpl.java
View file @
3d914e59
...
...
@@ -257,7 +257,7 @@ public class JgMaintenanceContractServiceImpl extends BaseService<JgMaintenanceC
.
eq
(
JgMaintenanceContractEq:
:
getEquipTransferId
,
seq
));
// 删除单子对应历史表数据
jgRegistrationHistoryMapper
.
delete
(
new
LambdaQueryWrapper
<
JgRegistrationHistory
>()
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
jgMaintenanceContract
.
get
ApplyNo
()));
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
jgMaintenanceContract
.
get
SequenceNbr
()));
});
return
true
;
}
...
...
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/JgReformNoticeServiceImpl.java
View file @
3d914e59
...
...
@@ -318,7 +318,7 @@ public class JgReformNoticeServiceImpl extends BaseService<JgReformNoticeDto, Jg
.
eq
(
JgReformNoticeEq:
:
getEquipTransferId
,
notice
.
getSequenceNbr
()));
// 删除单子对应历史表数据
jgRegistrationHistoryMapper
.
delete
(
new
LambdaQueryWrapper
<
JgRegistrationHistory
>()
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
notice
.
get
ApplyNo
()));
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
notice
.
get
SequenceNbr
()));
});
return
Boolean
.
TRUE
;
}
...
...
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/JgScrapCancelServiceImpl.java
View file @
3d914e59
...
...
@@ -349,7 +349,7 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc
.
eq
(
JgScrapCancelEq:
:
getEquipTransferId
,
jgScrapCancel
.
getSequenceNbr
()));
// 删除单子对应历史表数据
jgRegistrationHistoryMapper
.
delete
(
new
LambdaQueryWrapper
<
JgRegistrationHistory
>()
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
jgScrapCancel
.
get
ApplyNo
()));
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
jgScrapCancel
.
get
SequenceNbr
()));
}
}
}
...
...
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/JgTransferNoticeServiceImpl.java
View file @
3d914e59
...
...
@@ -207,7 +207,7 @@ public class JgTransferNoticeServiceImpl extends BaseService<JgTransferNoticeDto
.
eq
(
JgTransferNoticeEq:
:
getEquipTransferId
,
sequenceNbr
));
// 删除单子对应历史表数据
jgRegistrationHistoryMapper
.
delete
(
new
LambdaQueryWrapper
<
JgRegistrationHistory
>()
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
jgTransferNotice
.
get
ApplyNo
()));
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
jgTransferNotice
.
get
SequenceNbr
()));
}
return
Boolean
.
TRUE
;
}
...
...
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/JgUseRegistrationServiceImpl.java
View file @
3d914e59
...
...
@@ -1305,7 +1305,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
.
eq
(
JgUseRegistrationEq:
:
getEquipTransferId
,
id
));
// 删除单子对应历史表数据
jgRegistrationHistoryService
.
getBaseMapper
().
delete
(
new
LambdaQueryWrapper
<
JgRegistrationHistory
>()
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
useRegistration
.
get
ApplyNo
()));
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
useRegistration
.
get
SequenceNbr
()));
});
}
...
...
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/JgVehicleInformationServiceImpl.java
View file @
3d914e59
...
...
@@ -853,7 +853,7 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
.
eq
(
JgVehicleInformationEq:
:
getVehicleId
,
id
));
// 删除单子对应历史表数据
jgRegistrationHistoryService
.
getBaseMapper
().
delete
(
new
LambdaQueryWrapper
<
JgRegistrationHistory
>()
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
vehicleInformation
.
get
ApplyNo
()));
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
vehicleInformation
.
get
SequenceNbr
()));
});
}
...
...
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