Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jiujian
/
client-customer-order-api
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
zhuyifan
2025-06-24 09:25:50 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
05043309899844d1d9ea5629acc554c74c4adf85
05043309
2 parents
e693e25c
c4457155
Merge branch 'dev/mzyh-0617' into 'master'
美中宜和新增字段 See merge request
!7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
src/main/java/com/infoloop/tianting/model/dto/MenuDbDTO.java
src/main/java/com/infoloop/tianting/service/impl/MenuServiceImpl.java
src/main/proto/MenuService.proto
src/main/java/com/infoloop/tianting/model/dto/MenuDbDTO.java
View file @
0504330
...
...
@@ -82,6 +82,9 @@ public class MenuDbDTO {
@ApiModelProperty
(
value
=
"发布时间"
)
private
String
publishAt
;
@ApiModelProperty
(
value
=
"医嘱冲突检查"
)
private
Boolean
checkMedicalConflict
;
}
@Data
...
...
src/main/java/com/infoloop/tianting/service/impl/MenuServiceImpl.java
View file @
0504330
...
...
@@ -46,6 +46,7 @@ public class MenuServiceImpl implements MenuService {
.
customerScope
(
menu
.
getCustomerScope
())
.
nutritionPromotion
(
menu
.
getNutritionPromotion
())
.
nutritionalStatistics
(
menu
.
getNutritionalStatistics
())
.
checkMedicalConflict
(
menu
.
getCheckMedicalConflict
())
.
dishRuleJson
(
DishRuleJson
.
builder
()
.
days
(
menu
.
getDishRuleJson
().
getDays
())
.
dishType
(
menu
.
getDishRuleJson
().
getDishType
())
...
...
@@ -87,6 +88,7 @@ public class MenuServiceImpl implements MenuService {
.
customerScope
(
menu
.
getCustomerScope
())
.
nutritionPromotion
(
menu
.
getNutritionPromotion
())
.
nutritionalStatistics
(
menu
.
getNutritionalStatistics
())
.
checkMedicalConflict
(
menu
.
getCheckMedicalConflict
())
.
dishRuleJson
(
DishRuleJson
.
builder
()
.
days
(
menu
.
getDishRuleJson
().
getDays
())
.
dishType
(
menu
.
getDishRuleJson
().
getDishType
())
...
...
@@ -129,6 +131,7 @@ public class MenuServiceImpl implements MenuService {
.
customerScope
(
menu
.
getCustomerScope
())
.
nutritionPromotion
(
menu
.
getNutritionPromotion
())
.
nutritionalStatistics
(
menu
.
getNutritionalStatistics
())
.
checkMedicalConflict
(
menu
.
getCheckMedicalConflict
())
.
dishRuleJson
(
DishRuleJson
.
builder
()
.
days
(
menu
.
getDishRuleJson
().
getDays
())
.
dishType
(
menu
.
getDishRuleJson
().
getDishType
())
...
...
src/main/proto/MenuService.proto
View file @
0504330
...
...
@@ -79,6 +79,7 @@ message SingleMenuRpcResponse {
int32
updateSource
=
16
;
bool
isDeleted
=
17
;
int64
publishAt
=
18
;
bool
checkMedicalConflict
=
19
;
}
message
OrderRuleJson
{
...
...
@@ -201,6 +202,7 @@ message MenuCreation{
DishRuleJson
dishRuleJson
=
11
;
bool
shouldCreatePublishAt
=
12
;
int64
publishAt
=
13
;
bool
checkMedicalConflict
=
14
;
}
message
CreateMenuRpcRequest
{
...
...
@@ -247,6 +249,8 @@ message MenuModification {
DishRuleJson
dishRuleJson
=
17
;
bool
shouldUpdatePublishAt
=
18
;
int64
publishAt
=
19
;
bool
shouldUpdateCheckMedicalConflict
=
20
;
bool
checkMedicalConflict
=
21
;
}
message
UpdateMenuRpcRequest
{
...
...
Please
register
or
login
to post a comment