Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
21e5470e
Commit
21e5470e
authored
Aug 12, 2020
by
wkliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
665e839d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
center-order/app/base/db/impl/dbneed/diagnosisDao.js
+8
-0
center-order/app/base/service/impl/dbneed/diagnosisneedbusSve.js
+1
-2
No files found.
center-order/app/base/db/impl/dbneed/diagnosisDao.js
View file @
21e5470e
...
...
@@ -3,5 +3,12 @@ class diagnosisDao extends Dao {
constructor
()
{
super
(
Dao
.
getModelName
(
diagnosisDao
));
}
async
findAndCountAll
(
query
)
{
return
await
this
.
model
.
findAndCountAll
(
query
)
}
async
update
(
param
,
id
)
{
return
await
this
.
model
.
update
(
param
,
{
where
:
{
id
}
})
}
}
module
.
exports
=
diagnosisDao
;
\ No newline at end of file
center-order/app/base/service/impl/dbneed/diagnosisneedbusSve.js
View file @
21e5470e
...
...
@@ -2,8 +2,7 @@ const System = require('../../../system')
const
ServiceBase
=
require
(
"../../sve.base"
);
class
diagnosisneedbusService
extends
ServiceBase
{
constructor
()
{
super
(
"dbneed"
,
'diagnosisneedinfoDao'
);
this
.
dniDao
=
System
.
getObject
(
"db.dbneed.diagnosisneedinfoDao"
);
super
(
"dbneed"
,
'diagnosisDao'
);
}
async
getList
(
pobj
,
data
,
req
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment