Commit c2beb718 by Sxy

fix: 建账状态筛选

parent 4eadd5b4
......@@ -98,9 +98,25 @@ class DeliverybillDao extends Dao {
}
if (qc.where.setupStatus) {
filters.push({
v_setup_status: qc.where.setupStatus
});
if (qobj && qobj.search && qobj.search.setupStatus && qobj.search.setupStatus === system.SERVERSESTATUS.SETUP) {
filters.push({
v_setup_status: qc.where.setupStatus
});
} else {
filters.push({
$or: [
{
v_setup_status: qc.where.setupStatus
},
{
v_setup_status: {
$eq: null
}
}
]
});
}
delete qc.where.setupStatus;
}
......
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