Commit 6b6764bd by wkliang

fix format

parent df69fd15
...@@ -46,7 +46,7 @@ class diagnosisneedbusService extends ServiceBase { ...@@ -46,7 +46,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.stdate && data.endate) { if (data.stdate && data.endate) {
where.updated_at = { [this.db.Op.between]: [data.stdate, data.endate]} where.updated_at = { [this.db.Op.between]: [data.stdate, data.endate] }
} }
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