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
e0cdf2b5
Commit
e0cdf2b5
authored
Dec 19, 2023
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(改造告知):流程相关接口前端参数key更换
parent
79c43c25
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
6 deletions
+17
-6
JgReformNoticeDto.java
...eejoin/amos/boot/module/jg/api/dto/JgReformNoticeDto.java
+2
-0
JgReformNoticeMapper.xml
...jg-api/src/main/resources/mapper/JgReformNoticeMapper.xml
+9
-2
JgReformByWorkFlowController.java
...odule/jg/biz/controller/JgReformByWorkFlowController.java
+2
-2
JgReformNoticeServiceImpl.java
...module/jg/biz/service/impl/JgReformNoticeServiceImpl.java
+4
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/JgReformNoticeDto.java
View file @
e0cdf2b5
...
@@ -179,4 +179,6 @@ public class JgReformNoticeDto extends BaseDto {
...
@@ -179,4 +179,6 @@ public class JgReformNoticeDto extends BaseDto {
@ApiModelProperty
(
value
=
"设备使用地点-街道(镇)"
)
@ApiModelProperty
(
value
=
"设备使用地点-街道(镇)"
)
private
String
streetName
;
private
String
streetName
;
private
String
receiveOrgCreditCode
;
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgReformNoticeMapper.xml
View file @
e0cdf2b5
...
@@ -15,7 +15,10 @@
...
@@ -15,7 +15,10 @@
isn.province_name AS provinceName,
isn.province_name AS provinceName,
isn.city_name AS cityName,
isn.city_name AS cityName,
isn.county_name AS countyName,
isn.county_name AS countyName,
isn.instance_id AS instanceId
isn.instance_id AS instanceId,
isn.plan_date AS planDate,
isn.receive_company_code AS receiveCompanyCode,
isn.receive_org_name AS receiveOrgName
FROM
FROM
tzs_jg_reform_notice isn
tzs_jg_reform_notice isn
<where>
<where>
...
@@ -38,7 +41,8 @@
...
@@ -38,7 +41,8 @@
</if>
</if>
</if>
</if>
<if
test=
"type == 'supervision'"
>
<if
test=
"type == 'supervision'"
>
AND (isn.notice_status in ('6612', '6613', '6614') or isn.status in('6614') )
AND isn.notice_status in ('6612', '6613', '6614')
<!-- AND (isn.notice_status in ('6612', '6613', '6614') or isn.status in('6614') )-->
</if>
</if>
<if
test=
"orgCode != null and orgCode != ''"
>
<if
test=
"orgCode != null and orgCode != ''"
>
AND isn.install_unit_credit_code = #{orgCode}
AND isn.install_unit_credit_code = #{orgCode}
...
@@ -58,6 +62,9 @@
...
@@ -58,6 +62,9 @@
isn.county_name AS countyName,
isn.county_name AS countyName,
isn.address AS address,
isn.address AS address,
isn.use_unit_name AS useUnitName,
isn.use_unit_name AS useUnitName,
isn.receive_company_code AS receiveCompanyCode,
isn.receive_org_name AS receiveOrgName,
isn.receive_org_code AS receiveOrgCode,
ri.equ_list AS equList,
ri.equ_list AS equList,
ri.equ_category AS equCategory,
ri.equ_category AS equCategory,
ri.EQU_DEFINE AS equDefine,
ri.EQU_DEFINE AS equDefine,
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgReformByWorkFlowController.java
View file @
e0cdf2b5
...
@@ -58,7 +58,7 @@ public class JgReformByWorkFlowController {
...
@@ -58,7 +58,7 @@ public class JgReformByWorkFlowController {
@PostMapping
(
value
=
"/cancel"
)
@PostMapping
(
value
=
"/cancel"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"改造告知撤销"
,
notes
=
"改造告知撤销"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"改造告知撤销"
,
notes
=
"改造告知撤销"
)
public
ResponseModel
<
JgReformNoticeDto
>
cancel
(
@RequestBody
Map
<
String
,
Object
>
model
)
{
public
ResponseModel
<
JgReformNoticeDto
>
cancel
(
@RequestBody
Map
<
String
,
Object
>
model
)
{
JgReformNoticeDto
installationInfo
=
BeanUtil
.
mapToBean
(((
LinkedHashMap
)
model
.
get
(
"reform
NoticeAdd
"
)),
JgReformNoticeDto
.
class
,
true
);
JgReformNoticeDto
installationInfo
=
BeanUtil
.
mapToBean
(((
LinkedHashMap
)
model
.
get
(
"reform
Info
"
)),
JgReformNoticeDto
.
class
,
true
);
if
(
Objects
.
isNull
(
installationInfo
))
{
if
(
Objects
.
isNull
(
installationInfo
))
{
throw
new
IllegalArgumentException
(
"参数reformInfo不能为空"
);
throw
new
IllegalArgumentException
(
"参数reformInfo不能为空"
);
}
}
...
@@ -77,7 +77,7 @@ public class JgReformByWorkFlowController {
...
@@ -77,7 +77,7 @@ public class JgReformByWorkFlowController {
public
ResponseModel
<
JgReformNoticeDto
>
accept
(
@RequestBody
Map
<
String
,
Object
>
model
,
String
op
)
{
public
ResponseModel
<
JgReformNoticeDto
>
accept
(
@RequestBody
Map
<
String
,
Object
>
model
,
String
op
)
{
// TODO 受理改造告知流程
// TODO 受理改造告知流程
LinkedHashMap
model1
=
(
LinkedHashMap
)
model
.
get
(
"model"
);
LinkedHashMap
model1
=
(
LinkedHashMap
)
model
.
get
(
"model"
);
LinkedHashMap
installationInfo
=
(
LinkedHashMap
)
model1
.
get
(
"reform
NoticeAdd
"
);
LinkedHashMap
installationInfo
=
(
LinkedHashMap
)
model1
.
get
(
"reform
Info
"
);
JgReformNoticeDto
JgReformNoticeDto
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
installationInfo
),
JgReformNoticeDto
.
class
);
JgReformNoticeDto
JgReformNoticeDto
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
installationInfo
),
JgReformNoticeDto
.
class
);
jgReformNoticeService
.
accept
(
JgReformNoticeDto
,
op
);
jgReformNoticeService
.
accept
(
JgReformNoticeDto
,
op
);
return
ResponseHelper
.
buildResponse
(
null
);
return
ResponseHelper
.
buildResponse
(
null
);
...
...
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 @
e0cdf2b5
...
@@ -166,7 +166,7 @@ public class JgReformNoticeServiceImpl extends BaseService<JgReformNoticeDto, Jg
...
@@ -166,7 +166,7 @@ public class JgReformNoticeServiceImpl extends BaseService<JgReformNoticeDto, Jg
}
}
return
new
HashMap
<
String
,
Map
<
String
,
Object
>>()
{{
return
new
HashMap
<
String
,
Map
<
String
,
Object
>>()
{{
this
.
put
(
TABLE_PAGE_ID
,
installationInfo
);
this
.
put
(
"reformInfo"
,
installationInfo
);
this
.
put
(
"equipmentInfo"
,
equipmentInfos
.
get
(
0
));
this
.
put
(
"equipmentInfo"
,
equipmentInfos
.
get
(
0
));
}};
}};
}
}
...
@@ -551,7 +551,9 @@ public class JgReformNoticeServiceImpl extends BaseService<JgReformNoticeDto, Jg
...
@@ -551,7 +551,9 @@ public class JgReformNoticeServiceImpl extends BaseService<JgReformNoticeDto, Jg
model
.
setUseUnitName
(
useUnitList
[
1
]);
model
.
setUseUnitName
(
useUnitList
[
1
]);
}
}
}
}
if
(
org
.
apache
.
commons
.
lang3
.
StringUtils
.
isEmpty
(
model
.
getReceiveOrgCode
()))
{
model
.
setReceiveOrgCode
(
model
.
getReceiveOrgCreditCode
());
}
String
receiveOrgId
=
model
.
getReceiveOrgCode
();
String
receiveOrgId
=
model
.
getReceiveOrgCode
();
if
(!
ObjectUtils
.
isEmpty
(
receiveOrgId
))
{
if
(!
ObjectUtils
.
isEmpty
(
receiveOrgId
))
{
String
[]
receiveOrgIdList
=
receiveOrgId
.
split
(
"_"
);
String
[]
receiveOrgIdList
=
receiveOrgId
.
split
(
"_"
);
...
...
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