Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
122502f0
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1173
Star
154
Fork
127
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
122502f0
编写于
11月 21, 2021
作者:
Jadan-Z
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1、实现表boss_interviewee_from新增接口校验
上级
5122f5d2
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
19 addition
and
0 deletion
+19
-0
skyeye-boss/src/main/java/com/skyeye/dao/BossIntervieweeFromDao.java
.../src/main/java/com/skyeye/dao/BossIntervieweeFromDao.java
+8
-0
skyeye-boss/src/main/java/com/skyeye/service/impl/BossIntervieweeFromServiceImpl.java
...m/skyeye/service/impl/BossIntervieweeFromServiceImpl.java
+6
-0
skyeye-boss/src/main/resources/mapper/boss/BossIntervieweeFromMapper.xml
.../main/resources/mapper/boss/BossIntervieweeFromMapper.xml
+5
-0
未找到文件。
skyeye-boss/src/main/java/com/skyeye/dao/BossIntervieweeFromDao.java
浏览文件 @
122502f0
...
@@ -42,6 +42,14 @@ public interface BossIntervieweeFromDao {
...
@@ -42,6 +42,14 @@ public interface BossIntervieweeFromDao {
*/
*/
Map
<
String
,
Object
>
queryBossIntervieweeFromById
(
@Param
(
"id"
)
String
id
);
Map
<
String
,
Object
>
queryBossIntervieweeFromById
(
@Param
(
"id"
)
String
id
);
/**
* 根据title查询统计条数
*
* @param title
* @return
*/
Integer
queryBossIntervieweeFromTotalByTitle
(
@Param
(
"title"
)
String
title
);
/**
/**
* 根据id更新面试者来源信息
* 根据id更新面试者来源信息
*
*
...
...
skyeye-boss/src/main/java/com/skyeye/service/impl/BossIntervieweeFromServiceImpl.java
浏览文件 @
122502f0
...
@@ -43,6 +43,12 @@ public class BossIntervieweeFromServiceImpl implements BossIntervieweeFromServic
...
@@ -43,6 +43,12 @@ public class BossIntervieweeFromServiceImpl implements BossIntervieweeFromServic
@Override
@Override
public
void
insertBossIntervieweeFrom
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
public
void
insertBossIntervieweeFrom
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
inputParams
=
inputObject
.
getParams
();
Map
<
String
,
Object
>
inputParams
=
inputObject
.
getParams
();
String
title
=
inputParams
.
get
(
"title"
).
toString
();
Integer
total
=
bossIntervieweeFromDao
.
queryBossIntervieweeFromTotalByTitle
(
title
);
if
(
total
!=
0
)
{
outputObject
.
setreturnMessage
(
"存在相同的标题名称, 请更换新的标题!"
);
return
;
}
inputParams
.
put
(
"id"
,
ToolUtil
.
getSurFaceId
());
inputParams
.
put
(
"id"
,
ToolUtil
.
getSurFaceId
());
inputParams
.
put
(
"createTime"
,
DateUtil
.
getTimeAndToString
());
inputParams
.
put
(
"createTime"
,
DateUtil
.
getTimeAndToString
());
inputParams
.
put
(
"userId"
,
inputObject
.
getLogParams
().
get
(
"id"
));
inputParams
.
put
(
"userId"
,
inputObject
.
getLogParams
().
get
(
"id"
));
...
...
skyeye-boss/src/main/resources/mapper/boss/BossIntervieweeFromMapper.xml
浏览文件 @
122502f0
...
@@ -47,6 +47,11 @@
...
@@ -47,6 +47,11 @@
WHERE a.id = #{id}
WHERE a.id = #{id}
</select>
</select>
<select
id=
"queryBossIntervieweeFromTotalByTitle"
parameterType=
"java.lang.String"
resultType=
"java.lang.Integer"
>
SELECT count(1) FROM boss_interviewee_from
WHERE title = #{title}
</select>
<update
id=
"updateBossIntervieweeFromById"
parameterType=
"java.util.Map"
>
<update
id=
"updateBossIntervieweeFromById"
parameterType=
"java.util.Map"
>
UPDATE boss_interviewee_from
UPDATE boss_interviewee_from
SET
SET
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录