Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
606ee3ea
Commit
606ee3ea
authored
Mar 25, 2020
by
邓实川
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
员工列表优化,电子合同创建个人账户身份类型更新
parent
708be3ce
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
src/main/java/cn/timer/api/config/interceptor/WebSecurityConfig.java
+0
-1
src/main/java/cn/timer/api/controller/dzht/DzhtController2.java
+4
-4
src/main/java/cn/timer/api/controller/yggl/YgglController.java
+3
-1
No files found.
src/main/java/cn/timer/api/config/interceptor/WebSecurityConfig.java
View file @
606ee3ea
...
@@ -10,7 +10,6 @@ import org.springframework.context.annotation.Configuration;
...
@@ -10,7 +10,6 @@ import org.springframework.context.annotation.Configuration;
import
org.springframework.http.MediaType
;
import
org.springframework.http.MediaType
;
import
org.springframework.http.converter.HttpMessageConverter
;
import
org.springframework.http.converter.HttpMessageConverter
;
import
org.springframework.web.method.support.HandlerMethodArgumentResolver
;
import
org.springframework.web.method.support.HandlerMethodArgumentResolver
;
import
org.springframework.web.servlet.config.annotation.CorsRegistry
;
import
org.springframework.web.servlet.config.annotation.InterceptorRegistry
;
import
org.springframework.web.servlet.config.annotation.InterceptorRegistry
;
import
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
;
import
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
;
...
...
src/main/java/cn/timer/api/controller/dzht/DzhtController2.java
View file @
606ee3ea
...
@@ -101,13 +101,13 @@ public class DzhtController2 {
...
@@ -101,13 +101,13 @@ public class DzhtController2 {
String
name
=
yg
.
getName
();
String
name
=
yg
.
getName
();
Integer
type
=
yg
.
getZjType
();
Integer
type
=
yg
.
getZjType
();
String
idType
=
null
;
String
idType
=
null
;
if
(
type
==
1
)
{
if
(
type
==
0
)
{
idType
=
"CRED_PSN_CH_IDCARD"
;
// 大陆身份证
idType
=
"CRED_PSN_CH_IDCARD"
;
// 大陆身份证
}
else
if
(
type
==
2
)
{
}
else
if
(
type
==
1
)
{
idType
=
"CRED_PSN_CH_HONGKONG"
;
// 香港通行证
idType
=
"CRED_PSN_CH_HONGKONG"
;
// 香港通行证
}
else
if
(
type
==
3
)
{
}
else
if
(
type
==
2
)
{
idType
=
"CRED_PSN_CH_TWCARD"
;
// 台湾通行证
idType
=
"CRED_PSN_CH_TWCARD"
;
// 台湾通行证
}
else
if
(
type
==
4
)
{
}
else
if
(
type
==
3
)
{
idType
=
"CRED_PSN_FOREIGN"
;
// 外籍护照
idType
=
"CRED_PSN_FOREIGN"
;
// 外籍护照
}
}
String
idNumber
=
yg
.
getZjNum
();
String
idNumber
=
yg
.
getZjNum
();
...
...
src/main/java/cn/timer/api/controller/yggl/YgglController.java
View file @
606ee3ea
...
@@ -1020,7 +1020,9 @@ public class YgglController {
...
@@ -1020,7 +1020,9 @@ public class YgglController {
ygQueryDto
.
getCurrentPage
()
==
null
?
1
:
ygQueryDto
.
getCurrentPage
(),
ygQueryDto
.
getCurrentPage
()
==
null
?
1
:
ygQueryDto
.
getCurrentPage
(),
ygQueryDto
.
getTotalPage
()
==
null
?
10
:
ygQueryDto
.
getTotalPage
());
ygQueryDto
.
getTotalPage
()
==
null
?
10
:
ygQueryDto
.
getTotalPage
());
QueryWrapper
<
YgglMainEmp
>
queryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
YgglMainEmp
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"org_code"
,
orgCode
).
eq
(
t
!=
null
&&
t
>
-
1
,
"job_type"
,
t
)
queryWrapper
.
select
(
"name"
,
"emp_num"
,
"bmgw_id"
,
"rz_time"
,
"job_type"
,
"phone"
,
"job_status"
)
.
eq
(
"org_code"
,
orgCode
).
eq
(
t
!=
null
&&
t
>
-
1
,
"job_type"
,
t
)
.
eq
(
j
!=
null
&&
j
>
-
1
,
"job_status"
,
j
).
in
(!
bList
.
isEmpty
(),
"id"
,
bList
)
.
eq
(
j
!=
null
&&
j
>
-
1
,
"job_status"
,
j
).
in
(!
bList
.
isEmpty
(),
"id"
,
bList
)
.
and
(!
StrUtil
.
hasBlank
(
q
),
wq
->
wq
.
like
(
"name"
,
q
).
or
().
like
(
"phone"
,
q
));
.
and
(!
StrUtil
.
hasBlank
(
q
),
wq
->
wq
.
like
(
"name"
,
q
).
or
().
like
(
"phone"
,
q
));
// List<YgglMainEmp> lo = YgglMainEmp.builder().build().selectList(queryWrapper);
// List<YgglMainEmp> lo = YgglMainEmp.builder().build().selectList(queryWrapper);
...
...
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