Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
scrm
/
platform-merchants
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bb713348
authored
Dec 02, 2025
by
林永健
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 调整北森员工DTO字段定义
1 parent
28c10c34
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
8 deletions
platform-merchants-api/src/main/java/cn/com/glsx/merchants/dto/beisen/BeiSenEmployeeListResonseDTO.java
platform-merchants-container/src/main/java/cn/com/glsx/merchants/entity/BeisenEmployeeInfo.java
platform-merchants-container/src/main/java/cn/com/glsx/merchants/service/BeiSenService.java
platform-merchants-container/src/main/resources/META-INF/orm/BeisenEmployeeInfoMapper.xml
platform-merchants-container/src/test/java/cn/com/glsx/merchants/service/StaffServiceTest.java
platform-merchants-api/src/main/java/cn/com/glsx/merchants/dto/beisen/BeiSenEmployeeListResonseDTO.java
View file @
bb71334
...
...
@@ -431,6 +431,6 @@ public class BeiSenEmployeeListResonseDTO implements Serializable {
private
String
oIdJobPostId
;
private
Integer
o
l
dDepartmentId
;
private
Integer
o
I
dDepartmentId
;
}
platform-merchants-container/src/main/java/cn/com/glsx/merchants/entity/BeisenEmployeeInfo.java
View file @
bb71334
...
...
@@ -489,7 +489,7 @@ public class BeisenEmployeeInfo implements Serializable {
@Column
(
name
=
"oId_job_post_id"
)
private
String
oIdJobPostId
;
@Column
(
name
=
"o
l
d_department_id"
)
private
Integer
o
l
dDepartmentId
;
@Column
(
name
=
"o
I
d_department_id"
)
private
Integer
o
I
dDepartmentId
;
}
\ No newline at end of file
platform-merchants-container/src/main/java/cn/com/glsx/merchants/service/BeiSenService.java
View file @
bb71334
...
...
@@ -740,7 +740,7 @@ public class BeiSenService {
}
else
{
beisenEmployeeInfonew
.
setZzStatus
(
0
);
}
beisenEmployeeInfonew
.
setO
l
dDepartmentId
(
recordInfo
.
getOIdDepartment
());
beisenEmployeeInfonew
.
setO
I
dDepartmentId
(
recordInfo
.
getOIdDepartment
());
beisenEmployeeInfonew
.
setOIdJobPostId
(
recordInfo
.
getOIdJobPost
());
if
(
beisenEmployeeInfo
==
null
)
{
beisenEmployeeInfoMapper
.
insert
(
beisenEmployeeInfonew
);
...
...
platform-merchants-container/src/main/resources/META-INF/orm/BeisenEmployeeInfoMapper.xml
View file @
bb71334
...
...
@@ -88,8 +88,8 @@
<result
column=
"residence_address"
jdbcType=
"LONGVARCHAR"
property=
"residenceAddress"
/>
<result
column=
"about_me"
jdbcType=
"LONGVARCHAR"
property=
"aboutMe"
/>
<result
column=
"business_address"
jdbcType=
"LONGVARCHAR"
property=
"businessAddress"
/>
<result
column=
"o
ld_department_id"
jdbcType=
"INTEGER"
property=
"ol
dDepartmentId"
/>
<result
column=
"o
l
d_job_post_id"
jdbcType=
"VARCHAR"
property=
"oIdJobPostId"
/>
<result
column=
"o
Id_department_id"
jdbcType=
"INTEGER"
property=
"oI
dDepartmentId"
/>
<result
column=
"o
I
d_job_post_id"
jdbcType=
"VARCHAR"
property=
"oIdJobPostId"
/>
</resultMap>
<resultMap
id=
"DTOResultMap"
extends=
"BaseResultMap"
type=
"cn.com.glsx.merchants.dto.beisen.BeiSenEmployeeListResonseDTO"
>
</resultMap>
...
...
@@ -111,7 +111,7 @@
id_front, id_behind, pre_retire_date, actual_retire_date, is_confirm_retire_date,
activation_state, issuing_authority, is_disabled, disabled_number, order_code, object_id,
created_by, created_time, modified_by, modified_time, std_is_deleted, zz_status,
last_work_date, entry_date,home_address, speciality, residence_address, about_me, business_address,o
ld_department_id,ol
d_job_post_id
last_work_date, entry_date,home_address, speciality, residence_address, about_me, business_address,o
Id_department_id,oI
d_job_post_id
</sql>
<select
id=
"findByUserId"
resultType=
"cn.com.glsx.merchants.entity.BeisenEmployeeInfo"
>
...
...
@@ -163,7 +163,7 @@
</foreach>
</if>
<if
test=
"req.oIdDepartmentIds != null and req.oIdDepartmentIds.size > 0"
>
and o
l
d_department_id in
and o
I
d_department_id in
<foreach
collection=
"req.oIdDepartmentIds"
item=
"dp"
open=
"("
separator=
","
close=
")"
>
#{dp}
</foreach>
...
...
platform-merchants-container/src/test/java/cn/com/glsx/merchants/service/StaffServiceTest.java
View file @
bb71334
...
...
@@ -4,6 +4,7 @@ import java.util.ArrayList;
import
java.util.Arrays
;
import
java.util.List
;
import
com.google.common.collect.Lists
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -306,6 +307,9 @@ public class StaffServiceTest {
RpcPagination
<
BeiSenEmployeeListRequestDTO
>
request
=
new
RpcPagination
<
BeiSenEmployeeListRequestDTO
>();
request
.
setPageNum
(
1
);
request
.
setPageSize
(
10
);
BeiSenEmployeeListRequestDTO
cond
=
new
BeiSenEmployeeListRequestDTO
();
cond
.
setUserIds
(
Lists
.
newArrayList
(
407576053
));
request
.
setCondition
(
cond
);
RpcPagination
<
BeiSenEmployeeListResonseDTO
>
response
=
merchantStaffService
.
getBeisenUserWithConditions
(
request
);
System
.
out
.
println
(
response
);
}
catch
(
Exception
e
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment