Commit 7e708fae by Sxy

fix: 代码规范

parent 1922961f
......@@ -59,7 +59,8 @@ class DeliverDao extends Dao {
}
} else if (type === 'annualReport') {
qc.where.product_code = (
(product_code && [system.SERVICECODE.ICPANNUALREPORT, system.SERVICECODE.EDIANNUALREPORT].includes(product_code))
(product_code
&& [system.SERVICECODE.ICPANNUALREPORT, system.SERVICECODE.EDIANNUALREPORT].includes(product_code))
? product_code
: {
$in: [system.SERVICECODE.EDIANNUALREPORT, system.SERVICECODE.ICPANNUALREPORT],
......
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