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
b6d1ec8d
Commit
b6d1ec8d
authored
Jan 12, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register
parents
ce290e8d
502bbb60
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
5 deletions
+15
-5
JgInstallationNoticeDto.java
.../amos/boot/module/jg/api/dto/JgInstallationNoticeDto.java
+2
-0
JgInstallationNotice.java
.../amos/boot/module/jg/api/entity/JgInstallationNotice.java
+8
-0
JgChangeRegistrationUnitServiceImpl.java
...biz/service/impl/JgChangeRegistrationUnitServiceImpl.java
+0
-0
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+3
-3
urlInfo.json
...s-boot-module-jg-biz/src/main/resources/json/urlInfo.json
+2
-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/JgInstallationNoticeDto.java
View file @
b6d1ec8d
...
...
@@ -258,4 +258,6 @@ public class JgInstallationNoticeDto extends BaseDto {
*/
private
String
createUserName
;
private
String
factoryNum
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgInstallationNotice.java
View file @
b6d1ec8d
...
...
@@ -414,5 +414,13 @@ public class JgInstallationNotice extends BaseEntity {
@TableField
(
"\"create_user_name\""
)
private
String
createUserName
;
/**
* 设备出场编号
*/
// @TableField("\"factory_num\"")
@TableField
(
exist
=
false
)
private
String
factoryNum
;
}
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 @
b6d1ec8d
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/JgInstallationNoticeServiceImpl.java
View file @
b6d1ec8d
...
...
@@ -197,7 +197,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
}
}
Map
<
String
,
Object
>
map
=
equipmentInfos
.
get
(
0
);
BeanUtil
.
copyProperties
(
installationInfo
,
map
,
"equList"
,
"supervisoryCode"
);
BeanUtil
.
copyProperties
(
installationInfo
,
map
,
"equList"
,
"supervisoryCode"
,
"factoryNum"
);
return
new
HashMap
<
String
,
Map
<
String
,
Object
>>()
{{
this
.
put
(
"installationInfo"
,
map
);
}};
...
...
@@ -210,7 +210,6 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
*/
@SuppressWarnings
({
"rawtypes"
,
"Duplicates"
})
public
JgInstallationNoticeDto
updateInstallationNotice
(
String
submitType
,
JgInstallationNoticeDto
noticeDto
,
String
op
)
{
ReginParams
reginParams
=
JSONObject
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
if
(
Objects
.
isNull
(
noticeDto
)
||
StringUtils
.
isEmpty
(
submitType
))
{
throw
new
IllegalArgumentException
(
"参数不能为空"
);
}
...
...
@@ -526,7 +525,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
taskModelDto
.
setStartDate
(
item
.
getCreateDate
());
taskModelDto
.
setModel
(
item
);
taskModelDto
.
setNextExecuteUser
(
item
.
getNextExecuteIds
());
taskModelDto
.
setTaskContent
(
String
.
format
(
"来自%s【%s】的业务办理,【申请单号:%s】"
,
item
.
getEquList
(),
StringUtils
.
isEmpty
(
item
.
get
EquRegisterCode
())
?
""
:
item
.
getEquRegisterCode
(),
item
.
getApplyNo
()));
taskModelDto
.
setTaskContent
(
String
.
format
(
"来自%s【%s】的业务办理,【申请单号:%s】"
,
item
.
getEquList
(),
StringUtils
.
isEmpty
(
item
.
get
FactoryNum
())
?
""
:
item
.
getFactoryNum
(),
item
.
getApplyNo
()));
taskModelDtoList
.
add
(
taskModelDto
);
});
commonService
.
buildTaskModel
(
taskModelDtoList
);
...
...
@@ -553,6 +552,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
dto
.
setEntrustingUnitName
(
dto
.
getUseUnitName
());
dto
.
setCreateUserCompanyName
(
reginParams
.
getCompany
().
getCompanyName
());
dto
.
setEquRegisterCode
(
String
.
valueOf
(
obj
.
get
(
"EQU_CODE"
)));
dto
.
setFactoryNum
(
String
.
valueOf
(
obj
.
get
(
"FACTORY_NUM"
)));
StringBuffer
buffer
=
new
StringBuffer
();
buffer
.
append
(
dto
.
getProvinceName
()).
append
(
dto
.
getCityName
()).
append
(
dto
.
getCountyName
()).
append
(
dto
.
getAddress
());
dto
.
setEquAddress
(
buffer
.
toString
());
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/json/urlInfo.json
View file @
b6d1ec8d
...
...
@@ -93,13 +93,13 @@
"type"
:
"109"
,
"pageType"
:
"look"
,
"name"
:
"单位变更登记"
,
"url"
:
"/mixuap?appId=1742358052905971713&id=173
9250036920840194
&roleIds={roleIds}&userId={userId}&pageType=look"
"url"
:
"/mixuap?appId=1742358052905971713&id=173
8095060211232770
&roleIds={roleIds}&userId={userId}&pageType=look"
},
{
"type"
:
"109"
,
"pageType"
:
"edit"
,
"name"
:
"单位变更登记"
,
"url"
:
"/mixuap?appId=1742358052905971713&id=173
9250036920840194
&roleIds={roleIds}&userId={userId}&pageType=edit"
"url"
:
"/mixuap?appId=1742358052905971713&id=173
8095060211232770
&roleIds={roleIds}&userId={userId}&pageType=edit"
},
{
"type"
:
"110"
,
...
...
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