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
f717b20e
Commit
f717b20e
authored
Jun 21, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):使用登记暂存功能
parent
5532efce
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
+5
-6
JgUseRegistrationMapper.java
...os/boot/module/jg/api/mapper/JgUseRegistrationMapper.java
+1
-1
JgUseRegistrationMapper.xml
...api/src/main/resources/mapper/JgUseRegistrationMapper.xml
+1
-5
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+3
-0
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+0
-0
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/mapper/JgUseRegistrationMapper.java
View file @
f717b20e
...
...
@@ -53,7 +53,7 @@ public interface JgUseRegistrationMapper extends BaseMapper<JgUseRegistration> {
List
<
Map
<
String
,
Object
>>
getDetailById
(
@Param
(
"id"
)
Long
id
);
String
getEquType
(
@Param
(
"
record"
)
String
record
);
String
getEquType
(
@Param
(
"
code"
)
String
code
);
Map
<
String
,
Object
>
getMaintenanceDetail
(
@Param
(
"id"
)
String
id
);
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationMapper.xml
View file @
f717b20e
...
...
@@ -647,11 +647,7 @@
GROUP BY re.equip_transfer_id
</select>
<select
id=
"getEquType"
resultType=
"java.lang.String"
>
SELECT ec.name
from idx_biz_jg_register_info jri
LEFT JOIN tz_equipment_category ec
on ec.code = jri.EQU_LIST
where jri.RECORD = #{record}
select name from tz_equipment_category where code=#{code}
</select>
<select
id=
"getInstallDetail"
resultType=
"java.util.Map"
>
...
...
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/CommonServiceImpl.java
View file @
f717b20e
...
...
@@ -167,6 +167,7 @@ public class CommonServiceImpl implements ICommonService {
private
static
final
String
basic
=
"basic"
;
private
static
final
String
useRegFormUpload
=
"useRegFormUpload"
;
public
static
final
String
HISTORY_EQU_TYPE
=
"historyEquType"
;
public
static
final
String
HISTORY_SUBMIT_TYPE
=
"historySubmitType"
;
public
static
final
String
SECOND
=
"second"
;
// 业务通用发起——告知单详情
public
static
final
String
notice
=
"notice"
;
...
...
@@ -1385,9 +1386,11 @@ public class CommonServiceImpl implements ICommonService {
})
public
Object
invokeBusinessType
(
Map
<
String
,
Object
>
map
)
{
String
historyEquType
=
(
String
)
map
.
get
(
HISTORY_EQU_TYPE
);
String
historySubmitType
=
(
String
)
map
.
get
(
HISTORY_SUBMIT_TYPE
);
JSONObject
jsonObject
=
new
JSONObject
((
Map
<
String
,
Object
>)
map
.
get
(
SECOND
));
Map
<
String
,
Object
>
useRegFormUploadObj
=
(
Map
<
String
,
Object
>)
map
.
get
(
useRegFormUpload
);
String
uploadMode
=
String
.
valueOf
(
useRegFormUploadObj
.
get
(
"uploadMode"
));
jsonObject
.
put
(
"historySubmitType"
,
historySubmitType
);
Map
<
String
,
Function
<
JSONObject
,
Object
>>
handlerMap
=
new
HashMap
<>();
handlerMap
.
put
(
"unit"
,
jgUseRegistrationServiceImpl:
:
handleUnitHistoryEquip
);
...
...
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 @
f717b20e
This diff is collapsed.
Click to expand it.
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