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
6867089b
Commit
6867089b
authored
May 05, 2022
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.合并保单、招聘、人事代码
parent
155e9959
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
+11
-7
src/main/java/cn/timer/api/controller/yggl/YgglController.java
+1
-1
src/main/java/cn/timer/api/dao/yggl/YgglMainEmpMapper.java
+1
-1
src/main/resources/application-test.yml
+6
-5
src/main/resources/mapping/yggl/YgglMainEmpMapper.xml
+3
-0
No files found.
src/main/java/cn/timer/api/controller/yggl/YgglController.java
View file @
6867089b
...
...
@@ -1607,7 +1607,7 @@ public class YgglController {
@ApiOperation
(
value
=
"62.查询员工列表"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
62
)
public
Result
<
List
<
YgQueryDto
>>
queryEmpMessage
(
@CurrentUser
UserBean
userBean
)
{
List
<
YgQueryDto
>
ygQueryDto
=
ygglMainEmpMapper
.
queryEmpMessage
(
userBean
.
getOrgCode
());
List
<
YgQueryDto
>
ygQueryDto
=
ygglMainEmpMapper
.
queryEmpMessage
(
userBean
.
getOrgCode
()
,
0
);
for
(
YgQueryDto
yg
:
ygQueryDto
)
{
if
(
StringUtil
.
isEmpty
(
yg
.
getHeadUrl
()))
{
yg
.
setHeadUrl
(
""
);
...
...
src/main/java/cn/timer/api/dao/yggl/YgglMainEmpMapper.java
View file @
6867089b
...
...
@@ -49,7 +49,7 @@ public interface YgglMainEmpMapper extends BaseMapper<YgglMainEmp> {
* @param userBean
* @return
*/
List
<
YgQueryDto
>
queryEmpMessage
(
@Param
(
"orgCode"
)
Integer
orgCode
);
List
<
YgQueryDto
>
queryEmpMessage
(
@Param
(
"orgCode"
)
Integer
orgCode
,
@Param
(
"isInsure"
)
Integer
isInsure
);
/**
...
...
src/main/resources/application-test.yml
View file @
6867089b
...
...
@@ -261,6 +261,11 @@ insure:
insuredUrl
:
'
http://sandbox.portal.unistar-ins.com/mall/Home/Index/createQuotePolicy'
#查询保单信息
policyDetail
:
'
http://sandbox.portal.unistar-ins.com/issuing/Home/Index/policy'
#保全
appidq
:
'
1000115041006006938'
secretq
:
'
6ba1bf4aa0bd14368c95ff0b9934a17b'
uploadUrlq
:
'
http://sandbox.portal.unistar-ins.com/fuli/Home/Index/file_upload'
batchUrl
:
'
http://sandbox.portal.unistar-ins.com/fuli/Home/WelfareProduct/batch_declare'
youling
:
...
...
@@ -270,9 +275,5 @@ youling:
h5
:
url
:
'
http://javays.com'
#保全
appidq
:
'
1000115041006006938'
secretq
:
'
6ba1bf4aa0bd14368c95ff0b9934a17b'
uploadUrlq
:
'
http://sandbox.portal.unistar-ins.com/fuli/Home/Index/file_upload'
batchUrl
:
'
http://sandbox.portal.unistar-ins.com/fuli/Home/WelfareProduct/batch_declare'
src/main/resources/mapping/yggl/YgglMainEmpMapper.xml
View file @
6867089b
...
...
@@ -266,6 +266,9 @@
a.org_code = #{orgCode}
AND
a.job_status in (0,1,2)
<if
test=
"isInsure!=null and isInsure != ''"
>
AND a.is_insure=#{isInsure}
</if>
ORDER BY
emp_num DESC
</select>
...
...
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