Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jy_jfb
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
jy_jfb
Commits
c2dcee3b
提交
c2dcee3b
authored
10月 13, 2025
作者:
wangmenglong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
阿里回调通知
上级
84e16294
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
35 行增加
和
3 行删除
+35
-3
ApiAliController.java
...java/com/jfb/recruit/controller/api/ApiAliController.java
+9
-3
IndustryService.java
...rc/main/java/com/jfb/recruit/service/IndustryService.java
+2
-0
IndustryServiceImpl.java
...ava/com/jfb/recruit/service/impl/IndustryServiceImpl.java
+24
-0
IdCardUtils.java
...cruit/src/main/java/com/jfb/recruit/util/IdCardUtils.java
+0
-0
没有找到文件。
jfb-recruit/src/main/java/com/jfb/recruit/controller/api/ApiAliController.java
浏览文件 @
c2dcee3b
...
...
@@ -12,11 +12,13 @@ import com.alipay.api.DefaultAlipayClient;
import
com.alipay.api.domain.AlipayEbppIndustryJobResumeauthlogininfoGetModel
;
import
com.alipay.api.internal.util.AlipayEncrypt
;
import
com.alipay.api.internal.util.AlipaySignature
;
import
com.alipay.api.internal.util.StringUtils
;
import
com.alipay.api.request.AlipayEbppIndustryJobResumeauthlogininfoGetRequest
;
import
com.alipay.api.request.AlipaySystemOauthTokenRequest
;
import
com.alipay.api.response.AlipayEbppIndustryJobResumeauthlogininfoGetResponse
;
import
com.alipay.api.response.AlipaySystemOauthTokenResponse
;
import
com.jfb.recruit.service.*
;
import
com.jfb.recruit.util.IdCardUtils
;
import
com.jfb.recruit.xsnowflake.SnowFlakeFactory
;
import
data.recruit.*
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -272,7 +274,7 @@ public class ApiAliController extends BaseController {
WorkExperience
workExperience
=
new
WorkExperience
();
workExperience
.
setPersonId
(
person
.
getId
());
workExperience
.
setBaseCode
(
person
.
getBaseCode
());
workExperience
.
setJob
(
workExperienceJson
.
getString
(
"
job
_name"
));
workExperience
.
setJob
(
workExperienceJson
.
getString
(
"
position
_name"
));
workExperience
.
setOrgName
(
workExperienceJson
.
getString
(
"company"
));
workExperience
.
setStartTime
(
workExperienceJson
.
getString
(
"start_date"
));
workExperience
.
setEndTime
(
workExperienceJson
.
getString
(
"end_date"
));
...
...
@@ -295,10 +297,14 @@ public class ApiAliController extends BaseController {
Objective
objective
=
new
Objective
();
objective
.
setPersonId
(
person
.
getId
());
objective
.
setBaseCode
(
person
.
getBaseCode
());
objective
.
setCity
(
objectiveJson
.
getString
(
"city_name"
));
if
(!
StringUtils
.
isEmpty
(
objectiveJson
.
getString
(
"city_code"
))){
objective
.
setCity
(
IdCardUtils
.
getNameString
(
Integer
.
parseInt
(
objectiveJson
.
getString
(
"city_code"
))));
objective
.
setProvince
(
IdCardUtils
.
getNameString
(
Integer
.
parseInt
(
objectiveJson
.
getString
(
"city_code"
).
substring
(
0
,
2
))));
}
objective
.
setIndustryId
(
objectiveJson
.
getString
(
"expect_job_code"
));
Industry
industry
=
industryService
.
getDetailsBy
Name
(
objectiveJson
.
getString
(
"expect_job_nam
e"
),
"1"
);
Industry
industry
=
industryService
.
getDetailsBy
Code
(
objectiveJson
.
getString
(
"expect_job_cod
e"
),
"1"
);
if
(
industry
!=
null
){
objective
.
setIndustryName
(
industry
.
getName
());
}
...
...
jfb-recruit/src/main/java/com/jfb/recruit/service/IndustryService.java
浏览文件 @
c2dcee3b
...
...
@@ -31,4 +31,6 @@ public interface IndustryService {
Industry
getDetailsByName
(
String
name
,
String
parentType
);
Industry
getDetailsByCode
(
String
code
,
String
parentType
);
}
jfb-recruit/src/main/java/com/jfb/recruit/service/impl/IndustryServiceImpl.java
浏览文件 @
c2dcee3b
...
...
@@ -217,6 +217,30 @@ public class IndustryServiceImpl extends ServiceImpl<IndustryMapper, Industry> i
return
super
.
getOne
(
qw
);
}
/**
* @author: wangmenglong
* @date; 2024/3/24 17:19
* @description: 获取行业详情
* @param: [id]
* @return: data.industry.Industry
**/
@Override
public
Industry
getDetailsByCode
(
String
code
,
String
parentType
)
{
LambdaQueryWrapper
<
Industry
>
qw
=
new
LambdaQueryWrapper
<>();
qw
.
eq
(
Industry:
:
getDel
,
false
)
.
eq
(
Industry:
:
getCode
,
code
);
if
(
parentType
.
equals
(
"0"
)){
qw
.
eq
(
Industry:
:
getParentId
,
"0"
);
}
else
if
(
parentType
.
equals
(
"1"
)){
qw
.
ne
(
Industry:
:
getParentId
,
"0"
);
qw
.
isNull
(
Industry:
:
getCode
);
}
return
super
.
getOne
(
qw
);
}
/**
* @author: wangmenglong
...
...
jfb-recruit/src/main/java/com/jfb/recruit/util/IdCardUtils.java
0 → 100644
浏览文件 @
c2dcee3b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论