Commit c744c92c by Sxy

build

parent 20f36509
...@@ -3,37 +3,37 @@ const ServiceBase = require('../../sve.base'); ...@@ -3,37 +3,37 @@ const ServiceBase = require('../../sve.base');
const settings = require('../../../../config/settings'); const settings = require('../../../../config/settings');
const appconfig = system.getSysConfig(); const appconfig = system.getSysConfig();
class SchemeService extends ServiceBase { class SchemeService extends ServiceBase {
constructor() { constructor() {
super('bizchance', ServiceBase.getDaoName(SchemeService)); super('bizchance', ServiceBase.getDaoName(SchemeService));
} }
async findById(qobj) { // 根据id获取方案信息 async findById(qobj) { // 根据id获取方案信息
const oid = qobj.id; const oid = qobj.id;
return await this.dao.findById(oid); return await this.dao.findById(oid);
} }
async findInfoByDemandCode(qobj) { // 根据方案编号获取方案详情 async findInfoByDemandCode(qobj) { // 根据方案编号获取方案详情
return await this.dao.findInfoByDemandCode(qobj); return await this.dao.findInfoByDemandCode(qobj);
} }
async updateStatusByDemandCode(qobj) { // 根据商机编号号更新方案状态及原因 async updateStatusByDemandCode(qobj) { // 根据商机编号号更新方案状态及原因
const self = this; const self = this;
return self.db.transaction(async t => await self.dao.updateStatusByDemandCode(qobj, t)); return self.db.transaction(async t => await self.dao.updateStatusByDemandCode(qobj, t));
} }
async updateInfoByDemandCode(qobj) { // 根据商机编号更新方案详情 async updateInfoByDemandCode(qobj) { // 根据商机编号更新方案详情
const self = this; const self = this;
return self.db.transaction(async t => await self.dao.updateInfoByDemandCode(qobj, t)); return self.db.transaction(async t => await self.dao.updateInfoByDemandCode(qobj, t));
} }
async updateSchemeNumberByDemandCode(qobj) { // 根据商机编号更新方案编号 async updateSchemeNumberByDemandCode(qobj) { // 根据商机编号更新方案编号
const self = this; const self = this;
return self.db.transaction(async t => await self.dao.updateSchemeNumberByDemandCode(qobj, t)); return self.db.transaction(async t => await self.dao.updateSchemeNumberByDemandCode(qobj, t));
} }
async insertInfo(qobj) { // 插入方案信息 async insertInfo(qobj) { // 插入方案信息
const self = this; const self = this;
return await self.db.transaction(async t => await self.dao.insertInfo(qobj, t)); return await self.db.transaction(async t => await self.dao.insertInfo(qobj, t));
} }
} }
module.exports = SchemeService; module.exports = SchemeService;
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/ccc.png><title></title><link href=/css/chunk-0549b710.8fec372c.css rel=prefetch><link href=/css/chunk-0be5a194.9590c6f8.css rel=prefetch><link href=/css/chunk-14b9857b.0dc416de.css rel=prefetch><link href=/css/chunk-1fecdf62.497ffb05.css rel=prefetch><link href=/css/chunk-2c359864.0dc416de.css rel=prefetch><link href=/css/chunk-3385141a.0dc416de.css rel=prefetch><link href=/css/chunk-380fe478.f0171226.css rel=prefetch><link href=/css/chunk-442063fe.a7bf8ee3.css rel=prefetch><link href=/css/chunk-495354df.9c470686.css rel=prefetch><link href=/css/chunk-59b277fc.1e75f0e2.css rel=prefetch><link href=/css/chunk-6e002d3a.c8342904.css rel=prefetch><link href=/js/chunk-0549b710.32867e04.js rel=prefetch><link href=/js/chunk-0be5a194.e9edc156.js rel=prefetch><link href=/js/chunk-14b9857b.1662763f.js rel=prefetch><link href=/js/chunk-1fecdf62.e13e7879.js rel=prefetch><link href=/js/chunk-24c9abaa.39a9b7c4.js rel=prefetch><link href=/js/chunk-2c359864.8674fb28.js rel=prefetch><link href=/js/chunk-3385141a.af9c0d9d.js rel=prefetch><link href=/js/chunk-380fe478.a80f3b6a.js rel=prefetch><link href=/js/chunk-442063fe.1d281405.js rel=prefetch><link href=/js/chunk-495354df.db75b78b.js rel=prefetch><link href=/js/chunk-59b277fc.7501263f.js rel=prefetch><link href=/js/chunk-6e002d3a.59ba7d91.js rel=prefetch><link href=/js/chunk-bb63afb0.aad482ec.js rel=prefetch><link href=/css/app.4886e674.css rel=preload as=style><link href=/css/chunk-vendors.1d90d08d.css rel=preload as=style><link href=/js/app.de17cf97.js rel=preload as=script><link href=/js/chunk-vendors.59e0b54e.js rel=preload as=script><link href=/css/chunk-vendors.1d90d08d.css rel=stylesheet><link href=/css/app.4886e674.css rel=stylesheet></head><body><noscript><strong>We're sorry but iview-admin doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.59e0b54e.js></script><script src=/js/app.de17cf97.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/ccc.png><title></title><link href=/css/chunk-0549b710.8fec372c.css rel=prefetch><link href=/css/chunk-0be5a194.9590c6f8.css rel=prefetch><link href=/css/chunk-14b9857b.0dc416de.css rel=prefetch><link href=/css/chunk-1fecdf62.497ffb05.css rel=prefetch><link href=/css/chunk-2c359864.0dc416de.css rel=prefetch><link href=/css/chunk-3385141a.0dc416de.css rel=prefetch><link href=/css/chunk-380fe478.f0171226.css rel=prefetch><link href=/css/chunk-442063fe.a7bf8ee3.css rel=prefetch><link href=/css/chunk-48ba5e34.1e75f0e2.css rel=prefetch><link href=/css/chunk-495354df.9c470686.css rel=prefetch><link href=/css/chunk-6e002d3a.c8342904.css rel=prefetch><link href=/js/chunk-0549b710.ad9acdf4.js rel=prefetch><link href=/js/chunk-0be5a194.0ffa885f.js rel=prefetch><link href=/js/chunk-14b9857b.36d398bf.js rel=prefetch><link href=/js/chunk-1fecdf62.10518848.js rel=prefetch><link href=/js/chunk-24c9abaa.f4ca3fd9.js rel=prefetch><link href=/js/chunk-2c359864.8ee0bc1b.js rel=prefetch><link href=/js/chunk-3385141a.e63f7890.js rel=prefetch><link href=/js/chunk-380fe478.30828704.js rel=prefetch><link href=/js/chunk-442063fe.2198f6ef.js rel=prefetch><link href=/js/chunk-48ba5e34.a1a8924e.js rel=prefetch><link href=/js/chunk-495354df.18ed18e5.js rel=prefetch><link href=/js/chunk-6e002d3a.1b23e0da.js rel=prefetch><link href=/js/chunk-bb63afb0.c658e271.js rel=prefetch><link href=/css/app.4886e674.css rel=preload as=style><link href=/css/chunk-vendors.1d90d08d.css rel=preload as=style><link href=/js/app.ea382355.js rel=preload as=script><link href=/js/chunk-vendors.0f1e9482.js rel=preload as=script><link href=/css/chunk-vendors.1d90d08d.css rel=stylesheet><link href=/css/app.4886e674.css rel=stylesheet></head><body><noscript><strong>We're sorry but iview-admin doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.0f1e9482.js></script><script src=/js/app.ea382355.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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