Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
RIT_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박권수
2021-08-17 23:27:54 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
85385953b7157beefb5f77bc22bff290018495ff
85385953
1 parent
c0d7c66d
feat. get bottle detail return change
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
server/src/api/doctor/doctor.ctrl.js
server/src/api/doctor/doctor.ctrl.js
View file @
8538595
...
...
@@ -143,10 +143,14 @@ exports.getBottleDetail = async ctx => {
const
takeMedicineHist
=
await
TakeMedicineHist
.
find
({
bmId
:
bottleMedicine
.
_id
,
}).
sort
({
takeDate
:
'desc'
});
const
feedbackList
=
await
Feedback
.
find
({
bmId
:
bottleMedicine
.
_id
,
}).
sort
({
fdbDtm
:
'desc'
});
const
result
=
{
medicine
,
takeMedicineHist
,
feedbackList
,
};
ctx
.
status
=
200
;
...
...
Please
register
or
login
to post a comment