Commit 1ebb37c4 by wkliang

fix

parent 368593ea
...@@ -33,7 +33,7 @@ class diagnosisneedbusService extends ServiceBase { ...@@ -33,7 +33,7 @@ class diagnosisneedbusService extends ServiceBase {
where.publish_name = { [this.db.Op.like]: `%${data.publishName}%` } where.publish_name = { [this.db.Op.like]: `%${data.publishName}%` }
} }
if (data.updatedAt) { if (data.updatedAt) {
where.updatedAt = { [this.db.Op.between]: [data.updatedAt.stdate, data.updatedAt.endate] } where.updated_at = { [this.db.Op.between]: data.updatedAt }
} }
if (data.corporateType) { if (data.corporateType) {
where.corporate_type = data.corporateType where.corporate_type = data.corporateType
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment