Commit 2ca917ab by 孙亚楠

dd

parent 17d23305
......@@ -4,7 +4,7 @@ class OorderdeliverDao extends Dao {
constructor() {
super(Dao.getModelName(OorderdeliverDao));
this.ORDER_HANDING = ['1030', '1040', '1050', '1060', '1070', '1080', '1090', '1100', '1110', '1120', '1130', '1140', '1150', '1160', '1170'];
this.PLATE_FORM_AUDIT_DETERMINE = "1180";
this.PLATE_FORM_AUDIT_DETERMINE = ["1180", "1190", "1200"];
}
/**
......@@ -151,9 +151,10 @@ class OorderdeliverDao extends Dao {
sql.push("SELECT");
sql.push("COUNT(1) as order_complete_count ,b.deliver_id");
sql.push("FROM `o_order_deliver` b inner join o_order a on b.id = a.deliver_id");
sql.push(`WHERE 1 = 1 and a.status = '${this.PLATE_FORM_AUDIT_DETERMINE}' `);
sql.push(`WHERE 1 = 1 and a.status IN (:PLATE_FORM_AUDIT_DETERMINE) `);
var params = {
PLATE_FORM_AUDIT_DETERMINE: this.PLATE_FORM_AUDIT_DETERMINE,
begin: begin,
end: end,
deliverSet: deliverSet
......
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