Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
B
byh-family-doctor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
包
包
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
杨凯
byh-family-doctor
Commits
dda7f864
提交
dda7f864
authored
3月 19, 2024
作者:
杨凯
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:家庭医生初始化
上级
644160e2
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
9 行增加
和
9 行删除
+9
-9
MobileBenefitPackageClient.java
...ihui/family/doctor/client/MobileBenefitPackageClient.java
+2
-2
MobileBenefitPackageDTO.java
...ihui/family/doctor/common/vo/MobileBenefitPackageDTO.java
+1
-1
MobileBenefitPackageController.java
...tor/server/controller/MobileBenefitPackageController.java
+2
-2
MobileBenefitPackageService.java
...ly/doctor/server/service/MobileBenefitPackageService.java
+2
-2
MobileBenefitPackageServiceImpl.java
.../server/service/impl/MobileBenefitPackageServiceImpl.java
+2
-2
没有找到文件。
family-doctor-client/src/main/java/com/ebaiyihui/family/doctor/client/MobileBenefitPackageClient.java
浏览文件 @
dda7f864
...
...
@@ -2,7 +2,7 @@ package com.ebaiyihui.family.doctor.client;
import
com.ebaiyihui.family.doctor.common.bo.MobileBenefitRes
;
import
com.ebaiyihui.family.doctor.common.bo.Result
;
import
com.ebaiyihui.family.doctor.common.vo.MobileBenefitPackage
Vo
;
import
com.ebaiyihui.family.doctor.common.vo.MobileBenefitPackage
DTO
;
import
com.ebaiyihui.family.doctor.common.vo.RegisterPatientVo
;
import
com.ebaiyihui.framework.response.BaseResponse
;
import
io.swagger.annotations.ApiOperation
;
...
...
@@ -26,5 +26,5 @@ public interface MobileBenefitPackageClient {
@PostMapping
(
"/benefit/add"
)
@ApiOperation
(
value
=
"生成权益订单同步推送"
)
public
Result
<
MobileBenefitRes
>
addBenefitPackage
(
@RequestBody
List
<
MobileBenefitPackage
Vo
>
vos
);
public
Result
<
MobileBenefitRes
>
addBenefitPackage
(
@RequestBody
List
<
MobileBenefitPackage
DTO
>
vos
);
}
family-doctor-common/src/main/java/com/ebaiyihui/family/doctor/common/vo/MobileBenefitPackage
Vo
.java
→
family-doctor-common/src/main/java/com/ebaiyihui/family/doctor/common/vo/MobileBenefitPackage
DTO
.java
浏览文件 @
dda7f864
...
...
@@ -10,7 +10,7 @@ import lombok.Data;
* @Description
*/
@Data
public
class
MobileBenefitPackage
Vo
{
public
class
MobileBenefitPackage
DTO
{
@ApiModelProperty
(
value
=
"权益编码"
)
private
String
productId
;
...
...
family-doctor-server/src/main/java/com/ebaiyihui/family/doctor/server/controller/MobileBenefitPackageController.java
浏览文件 @
dda7f864
...
...
@@ -2,7 +2,7 @@ package com.ebaiyihui.family.doctor.server.controller;
import
com.ebaiyihui.family.doctor.common.bo.MobileBenefitRes
;
import
com.ebaiyihui.family.doctor.common.bo.Result
;
import
com.ebaiyihui.family.doctor.common.vo.MobileBenefitPackage
Vo
;
import
com.ebaiyihui.family.doctor.common.vo.MobileBenefitPackage
DTO
;
import
com.ebaiyihui.family.doctor.common.vo.RegisterPatientVo
;
import
com.ebaiyihui.family.doctor.server.service.MobileBenefitPackageService
;
import
com.ebaiyihui.framework.response.BaseResponse
;
...
...
@@ -37,7 +37,7 @@ public class MobileBenefitPackageController {
@PostMapping
(
"/benefit/activate"
)
@ApiOperation
(
value
=
"生成权益订单同步推送"
)
public
Result
<
MobileBenefitRes
>
addBenefitPackage
(
@RequestBody
List
<
MobileBenefitPackage
Vo
>
vos
){
public
Result
<
MobileBenefitRes
>
addBenefitPackage
(
@RequestBody
List
<
MobileBenefitPackage
DTO
>
vos
){
return
mobileBenefitPackageService
.
addBenefitPackage
(
vos
);
}
}
family-doctor-server/src/main/java/com/ebaiyihui/family/doctor/server/service/MobileBenefitPackageService.java
浏览文件 @
dda7f864
...
...
@@ -2,7 +2,7 @@ package com.ebaiyihui.family.doctor.server.service;
import
com.ebaiyihui.family.doctor.common.bo.MobileBenefitRes
;
import
com.ebaiyihui.family.doctor.common.bo.Result
;
import
com.ebaiyihui.family.doctor.common.vo.MobileBenefitPackage
Vo
;
import
com.ebaiyihui.family.doctor.common.vo.MobileBenefitPackage
DTO
;
import
com.ebaiyihui.family.doctor.common.vo.RegisterPatientVo
;
import
com.ebaiyihui.framework.response.BaseResponse
;
...
...
@@ -19,5 +19,5 @@ public interface MobileBenefitPackageService {
BaseResponse
<
RegisterPatientVo
>
register
(
String
token
);
Result
<
MobileBenefitRes
>
addBenefitPackage
(
List
<
MobileBenefitPackage
Vo
>
vos
);
Result
<
MobileBenefitRes
>
addBenefitPackage
(
List
<
MobileBenefitPackage
DTO
>
vos
);
}
family-doctor-server/src/main/java/com/ebaiyihui/family/doctor/server/service/impl/MobileBenefitPackageServiceImpl.java
浏览文件 @
dda7f864
...
...
@@ -8,7 +8,7 @@ import com.ebaiyihui.card.common.vo.CardDetailsInfoRespVO;
import
com.ebaiyihui.card.common.vo.RegisterCardReqVO
;
import
com.ebaiyihui.family.doctor.common.bo.MobileBenefitRes
;
import
com.ebaiyihui.family.doctor.common.bo.Result
;
import
com.ebaiyihui.family.doctor.common.vo.MobileBenefitPackage
Vo
;
import
com.ebaiyihui.family.doctor.common.vo.MobileBenefitPackage
DTO
;
import
com.ebaiyihui.family.doctor.common.vo.RegisterPatientVo
;
import
com.ebaiyihui.family.doctor.server.common.constants.CommonConstants
;
import
com.ebaiyihui.family.doctor.server.entity.MobileBenefitPackageEntity
;
...
...
@@ -112,7 +112,7 @@ public class MobileBenefitPackageServiceImpl implements MobileBenefitPackageServ
}
@Override
public
Result
<
MobileBenefitRes
>
addBenefitPackage
(
List
<
MobileBenefitPackage
Vo
>
vos
)
{
public
Result
<
MobileBenefitRes
>
addBenefitPackage
(
List
<
MobileBenefitPackage
DTO
>
vos
)
{
log
.
info
(
"推送订单信息:{}"
,
vos
);
try
{
vos
.
forEach
(
vo
->
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论