Commit 6b6764bd by wkliang

fix format

parent df69fd15
......@@ -46,7 +46,7 @@ class diagnosisneedbusService extends ServiceBase {
where.publish_name = { [this.db.Op.like]: `%${data.publishName}%` }
}
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) {
where.corporate_type = data.corporateType
......@@ -65,7 +65,7 @@ class diagnosisneedbusService extends ServiceBase {
}
}
async getDetail (pobj, id) {
async getDetail (pobj, id) {
try {
let res = await this.dao.findById(id)
if (res) {
......@@ -86,7 +86,7 @@ class diagnosisneedbusService extends ServiceBase {
try {
let o = await this.dao.findById(data.id)
if (o && o.diagnosis_mode != 'rg') {
return System.getResultFail(-1, '非人工诊断单 不能修改认证结果')
return System.getResultFail(-1, '非人工诊断单 不能修改认证结果')
} else {
let res = await this.dao.update(query, data.id)
return System.getResultSuccess(res)
......
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