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:28:00 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
4b1443cf4fb19601fe92ee9aa0560d5abe3d595f
4b1443cf
2 parents
926f5d91
85385953
Merge branch 'server' into web
Hide 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 @
4b1443c
...
...
@@ -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