Commit 5652e58f by zhaoxiqing

gsb

parent 4be04550
...@@ -8,7 +8,7 @@ class OfflinecompanyService extends ServiceBase{ ...@@ -8,7 +8,7 @@ class OfflinecompanyService extends ServiceBase{
async updateCreate(params){ async updateCreate(params){
var offlinecompany = await this.dao.findOne({company_name : params.company_name}); var offlinecompany = await this.dao.findOne({company_name : params.company_name});
if(null != offlinecompany){ if(offlinecompany){
// params.id = offlinecompany.id; // params.id = offlinecompany.id;
// var saveId = await this.dao.update(params); // var saveId = await this.dao.update(params);
offlinecompany.contact_man = params.contact_man; offlinecompany.contact_man = params.contact_man;
......
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