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
1208720d
Commit
1208720d
authored
May 30, 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
d17c890d
91815ad5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
8 deletions
+7
-8
JgResumeInfoController.java
...boot/module/jg/biz/controller/JgResumeInfoController.java
+2
-2
JgResumeInfoServiceImpl.java
...t/module/jg/biz/service/impl/JgResumeInfoServiceImpl.java
+3
-4
WordTemplateUtils.java
...join/amos/boot/module/jg/biz/utils/WordTemplateUtils.java
+1
-1
JgFeignClient.java
...eejoin/amos/boot/module/jyjc/biz/feign/JgFeignClient.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/controller/JgResumeInfoController.java
View file @
1208720d
...
@@ -51,8 +51,8 @@ public class JgResumeInfoController extends BaseController {
...
@@ -51,8 +51,8 @@ public class JgResumeInfoController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/saveBatchResume"
)
@PostMapping
(
value
=
"/saveBatchResume"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"批量新增"
,
notes
=
"批量新增"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"批量新增"
,
notes
=
"批量新增"
)
public
boolean
saveBatchResume
(
@RequestBody
List
<
JgResumeInfoDto
>
jgResumeInfoDtoList
)
{
public
void
saveBatchResume
(
@RequestBody
List
<
JgResumeInfoDto
>
jgResumeInfoDtoList
)
{
return
jgResumeInfoServiceImpl
.
saveBatchResume
(
jgResumeInfoDtoList
);
jgResumeInfoServiceImpl
.
saveBatchResume
(
jgResumeInfoDtoList
);
}
}
/**
/**
...
...
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/JgResumeInfoServiceImpl.java
View file @
1208720d
...
@@ -7,7 +7,6 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgResumeInfoMapper;
...
@@ -7,7 +7,6 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgResumeInfoMapper;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgResumeInfoService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgResumeInfoService
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
java.util.Collection
;
import
java.util.Collection
;
import
java.util.List
;
import
java.util.List
;
...
@@ -35,8 +34,7 @@ public class JgResumeInfoServiceImpl extends BaseService<JgResumeInfoDto,JgResum
...
@@ -35,8 +34,7 @@ public class JgResumeInfoServiceImpl extends BaseService<JgResumeInfoDto,JgResum
return
this
.
queryForList
(
""
,
false
);
return
this
.
queryForList
(
""
,
false
);
}
}
@Transactional
public
void
saveBatchResume
(
List
<
JgResumeInfoDto
>
jgResumeInfoDtoList
)
{
public
boolean
saveBatchResume
(
List
<
JgResumeInfoDto
>
jgResumeInfoDtoList
)
{
Collection
<
JgResumeInfo
>
jgResumeInfoCollection
=
jgResumeInfoDtoList
.
stream
()
Collection
<
JgResumeInfo
>
jgResumeInfoCollection
=
jgResumeInfoDtoList
.
stream
()
.
map
(
dto
->
{
.
map
(
dto
->
{
JgResumeInfo
info
=
new
JgResumeInfo
();
JgResumeInfo
info
=
new
JgResumeInfo
();
...
@@ -44,6 +42,6 @@ public class JgResumeInfoServiceImpl extends BaseService<JgResumeInfoDto,JgResum
...
@@ -44,6 +42,6 @@ public class JgResumeInfoServiceImpl extends BaseService<JgResumeInfoDto,JgResum
return
info
;
return
info
;
})
})
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
return
this
.
saveBatch
(
jgResumeInfoCollection
);
this
.
saveBatch
(
jgResumeInfoCollection
);
}
}
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/utils/WordTemplateUtils.java
View file @
1208720d
...
@@ -230,7 +230,7 @@ public class WordTemplateUtils {
...
@@ -230,7 +230,7 @@ public class WordTemplateUtils {
/**
/**
* 下载填充模板的字段,特殊符号转义
* 下载填充模板的字段,特殊符号转义
*/
*/
p
rivate
static
Map
<
String
,
Object
>
escapeSpecialCharacters
(
Map
<
String
,
?>
inputMap
)
{
p
ublic
static
Map
<
String
,
Object
>
escapeSpecialCharacters
(
Map
<
String
,
?>
inputMap
)
{
Map
<
String
,
Object
>
escapedMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
escapedMap
=
new
HashMap
<>();
for
(
Map
.
Entry
<
String
,
?>
entry
:
inputMap
.
entrySet
())
{
for
(
Map
.
Entry
<
String
,
?>
entry
:
inputMap
.
entrySet
())
{
String
key
=
entry
.
getKey
();
String
key
=
entry
.
getKey
();
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/feign/JgFeignClient.java
View file @
1208720d
...
@@ -24,6 +24,6 @@ public interface JgFeignClient {
...
@@ -24,6 +24,6 @@ public interface JgFeignClient {
* 设备注册信息分页查询
* 设备注册信息分页查询
* */
* */
@RequestMapping
(
value
=
"/jg-resume-info/saveBatchResume"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/jg-resume-info/saveBatchResume"
,
method
=
RequestMethod
.
POST
)
FeignClientResult
<
Boolean
>
saveBatchResume
(
@RequestBody
List
<
JgResumeInfoDto
>
jgResumeInfoDtoList
);
FeignClientResult
saveBatchResume
(
@RequestBody
List
<
JgResumeInfoDto
>
jgResumeInfoDtoList
);
}
}
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