Commit 93d25f12 by 王昆

gsb

parent e0f38080
const system = require("../../../system");
const ServiceBase = require("../../sve.base")
/**
* 订单产品表
*/
class OprocessService extends ServiceBase {
constructor() {
super("product", ServiceBase.getDaoName(OprocessService));
}
}
module.exports = OprocessService;
\ No newline at end of file
...@@ -5,9 +5,9 @@ const ServiceBase = require("../../sve.base") ...@@ -5,9 +5,9 @@ const ServiceBase = require("../../sve.base")
*/ */
class OproductService extends ServiceBase { class OproductService extends ServiceBase {
constructor() { constructor() {
super("order", ServiceBase.getDaoName(OproductService)); super("product", ServiceBase.getDaoName(OproductService));
this.oproductprocessDao = system.getObject("db.order.oproductprocessDao"); this.oproductprocessDao = system.getObject("db.product.oproductprocessDao");
this.iborderbaseDao = system.getObject("db.order.iborderbaseDao"); this.iborderbaseDao = system.getObject("db.product.iborderbaseDao");
} }
/** /**
......
...@@ -5,7 +5,7 @@ const ServiceBase = require("../../sve.base") ...@@ -5,7 +5,7 @@ const ServiceBase = require("../../sve.base")
*/ */
class OproductprocessService extends ServiceBase { class OproductprocessService extends ServiceBase {
constructor() { constructor() {
super("order", ServiceBase.getDaoName(OproductprocessService)); super("product", ServiceBase.getDaoName(OproductprocessService));
} }
} }
......
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