Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
G
glinfo-api
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
林业通
glinfo-api
Commits
e64ebef1
提交
e64ebef1
authored
2月 15, 2022
作者:
linzhenjie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
接口参数错误修复
上级
0f1b1d2a
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
6 行增加
和
5 行删除
+6
-5
ShFamilyController.java
...linfo/enbao/modules/sh/controller/ShFamilyController.java
+3
-2
OtherShFamilyDao.java
...va/tech/glinfo/enbao/modules/sh/dao/OtherShFamilyDao.java
+1
-1
OtherShFamilyService.java
...glinfo/enbao/modules/sh/service/OtherShFamilyService.java
+1
-1
OtherShFamilyServiceImpl.java
...bao/modules/sh/service/impl/OtherShFamilyServiceImpl.java
+1
-1
没有找到文件。
appapi/src/main/java/tech/glinfo/enbao/modules/sh/controller/ShFamilyController.java
浏览文件 @
e64ebef1
...
@@ -68,8 +68,8 @@ public class ShFamilyController {
...
@@ -68,8 +68,8 @@ public class ShFamilyController {
@GetMapping
(
"index"
)
@GetMapping
(
"index"
)
@ApiOperation
(
"首页"
)
@ApiOperation
(
"首页"
)
@ApiLog
(
"首页"
)
@ApiLog
(
"首页"
)
public
R
index
(
@RequestParam
Map
<
String
,
Object
>
params
,
@LoginUser
AppUserEntity
user
)
{
public
R
index
(
@RequestParam
Map
<
String
,
String
>
params
,
@LoginUser
AppUserEntity
user
)
{
return
otherShFamilyService
.
index
(
user
.
getId
(),
Integer
.
valueOf
((
String
)
params
.
get
(
"familyId"
)
));
return
otherShFamilyService
.
index
(
user
.
getId
(),
params
.
get
(
"familyId"
));
}
}
}
}
\ No newline at end of file
appapi/src/main/java/tech/glinfo/enbao/modules/sh/dao/OtherShFamilyDao.java
浏览文件 @
e64ebef1
...
@@ -35,5 +35,5 @@ public interface OtherShFamilyDao extends BaseMapper<ShFamilyEntity> {
...
@@ -35,5 +35,5 @@ public interface OtherShFamilyDao extends BaseMapper<ShFamilyEntity> {
ShFamilyDto
familyInfo
(
@Param
(
"params"
)
Integer
id
);
ShFamilyDto
familyInfo
(
@Param
(
"params"
)
Integer
id
);
ShFamilyIndex
index
(
@Param
(
"userId"
)
Integer
userId
,
@Param
(
"familyId"
)
Integer
familyId
);
ShFamilyIndex
index
(
@Param
(
"userId"
)
Integer
userId
,
@Param
(
"familyId"
)
String
familyId
);
}
}
appapi/src/main/java/tech/glinfo/enbao/modules/sh/service/OtherShFamilyService.java
浏览文件 @
e64ebef1
...
@@ -23,5 +23,5 @@ public interface OtherShFamilyService extends IService<ShFamilyEntity> {
...
@@ -23,5 +23,5 @@ public interface OtherShFamilyService extends IService<ShFamilyEntity> {
R
info
(
Integer
id
);
R
info
(
Integer
id
);
R
index
(
Integer
userId
,
Integer
familyId
);
R
index
(
Integer
userId
,
String
familyId
);
}
}
appapi/src/main/java/tech/glinfo/enbao/modules/sh/service/impl/OtherShFamilyServiceImpl.java
浏览文件 @
e64ebef1
...
@@ -90,7 +90,7 @@ public class OtherShFamilyServiceImpl extends ServiceImpl<OtherShFamilyDao, ShFa
...
@@ -90,7 +90,7 @@ public class OtherShFamilyServiceImpl extends ServiceImpl<OtherShFamilyDao, ShFa
}
}
@Override
@Override
public
R
index
(
Integer
userId
,
Integer
familyId
)
{
public
R
index
(
Integer
userId
,
String
familyId
)
{
ShFamilyIndex
index
=
this
.
baseMapper
.
index
(
userId
,
familyId
);
ShFamilyIndex
index
=
this
.
baseMapper
.
index
(
userId
,
familyId
);
return
R
.
ok
().
put
(
"data"
,
index
);
return
R
.
ok
().
put
(
"data"
,
index
);
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论