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
ae8ffb9f
Commit
ae8ffb9f
authored
Oct 24, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):bug 24304 修改注销的脏数据
parent
2b9f784c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
10 deletions
+13
-10
JgChangeRegistrationUnitController.java
...jg/biz/controller/JgChangeRegistrationUnitController.java
+9
-7
JgChangeRegistrationUnitServiceImpl.java
...biz/service/impl/JgChangeRegistrationUnitServiceImpl.java
+0
-0
JgScrapCancelServiceImpl.java
.../module/jg/biz/service/impl/JgScrapCancelServiceImpl.java
+4
-3
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/controller/JgChangeRegistrationUnitController.java
View file @
ae8ffb9f
...
...
@@ -203,19 +203,21 @@ public class JgChangeRegistrationUnitController extends BaseController {
}
/**
* bug24304脏数据处理(单位变更登记一勾选过多,部分变更设备失败,现在将变更失败的设备变更过去)
* bug24304脏数据处理(单位变更登记
注销
一勾选过多,部分变更设备失败,现在将变更失败的设备变更过去)
*
* @param applyNos 单位变更的申请编号
* @param applyNos 单位变更
/ 注销
的申请编号
* @return result
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/bug24304"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"bug24304脏数据处理(单位变更登记一勾选过多,部分变更设备失败,现在将变更失败的设备变更过去)"
,
notes
=
"bug24304脏数据处理(单位变更登记一勾选过多,部分变更设备失败,现在将变更失败的设备变更过去"
)
public
ResponseModel
<
String
>
bug24304
(
@RequestParam
(
value
=
"applyNos"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"bug24304脏数据处理(单位变更登记 注销 一勾选过多,部分变更设备失败,现在将变更失败的设备变更过去)"
,
notes
=
"bug24304脏数据处理(单位变更登记 注销 一勾选过多,部分变更设备失败,现在将变更失败的设备变更过去"
)
public
ResponseModel
<
String
>
bug24304
(
@RequestParam
(
value
=
"businessType"
,
defaultValue
=
"1"
)
@ApiParam
(
value
=
"业务类型,单位变更:1, 注销:2, 默认值为单位变更"
)
String
businessType
,
@RequestParam
(
value
=
"applyNos"
)
@ApiParam
(
value
=
"单位变更的申请编号,多个用逗号分隔"
)
String
applyNos
)
{
jgChangeRegistrationUnitServiceImpl
.
bug24304Handle
(
applyNos
);
return
ResponseHelper
.
buildResponse
(
"申请单号:"
+
applyNos
+
"数据修改成功"
);
jgChangeRegistrationUnitServiceImpl
.
bug24304Handle
(
businessType
,
applyNos
);
return
ResponseHelper
.
buildResponse
(
businessType
.
equals
(
"1"
)
?
"单位变更"
:
"注销"
+
"业务,"
+
"申请单号:"
+
applyNos
+
"数据修改成功"
);
}
}
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/JgChangeRegistrationUnitServiceImpl.java
View file @
ae8ffb9f
This diff is collapsed.
Click to expand it.
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 @
ae8ffb9f
...
...
@@ -7,7 +7,6 @@ import com.alibaba.fastjson.JSONObject;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper
;
import
com.yeejoin.amos.boot.biz.common.utils.SnowflakeIdUtil
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
...
...
@@ -15,6 +14,7 @@ import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import
com.yeejoin.amos.boot.biz.common.utils.DateUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.SnowflakeIdUtil
;
import
com.yeejoin.amos.boot.module.jg.api.dto.*
;
import
com.yeejoin.amos.boot.module.jg.api.entity.*
;
import
com.yeejoin.amos.boot.module.jg.api.enums.*
;
...
...
@@ -38,6 +38,7 @@ import com.yeejoin.amos.boot.module.ymt.api.enums.EquimentEnum;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquipmentClassifityEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.FlowStatusEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.*
;
import
com.yeejoin.amos.feign.privilege.Privilege
;
import
com.yeejoin.amos.feign.systemctl.model.TaskV2Model
;
import
com.yeejoin.amos.feign.workflow.model.ActWorkflowBatchDTO
;
import
com.yeejoin.amos.feign.workflow.model.ActWorkflowStartDTO
;
...
...
@@ -1059,8 +1060,8 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc
private
void
saveRecord
(
JgScrapCancel
jgScrapCancel
,
List
<
JgScrapCancelEq
>
jgScrapCancelEqList
,
String
routePath
,
List
<
JgUseRegistrationManage
>
jgUseRegistrationManageList
)
{
String
userName
=
jgScrapCancel
.
getCreateUser
Name
();
String
content
=
user
Name
+
"办理了【"
+
CancelTypeEnum
.
getNameByType
(
jgScrapCancel
.
getCancelType
())
+
"】"
+
String
realName
=
Privilege
.
agencyUserClient
.
queryByUserId
(
jgScrapCancel
.
getCreateUserId
()).
getResult
().
getReal
Name
();
String
content
=
jgScrapCancel
.
getUseUnitName
()
+
"的"
+
real
Name
+
"办理了【"
+
CancelTypeEnum
.
getNameByType
(
jgScrapCancel
.
getCancelType
())
+
"】"
+
"单号【"
+
jgScrapCancel
.
getApplyNo
()
+
"】,办理日期"
+
DateUtils
.
getDateNowShortStr
();
List
<
JgCertificateChangeRecord
>
certificateChangeRecords
=
new
ArrayList
<>();
List
<
JgCertificateChangeRecordEq
>
changeRecordEqList
=
new
ArrayList
<>();
...
...
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