Commit 1a039632 by linboxuan

needClose update followManMobile,followManUserId

parent 91263a4c
...@@ -15,7 +15,7 @@ module.exports = (db, DataTypes) => { ...@@ -15,7 +15,7 @@ module.exports = (db, DataTypes) => {
followManName: DataTypes.STRING,//跟进人姓名 followManName: DataTypes.STRING,//跟进人姓名
followManMobile: DataTypes.STRING,//跟进人手机号(合伙人) followManMobile: DataTypes.STRING,//跟进人手机号(合伙人)
followManOnlyCode: DataTypes.STRING(50),//跟进者唯一码 followManOnlyCode: DataTypes.STRING(50),//跟进者唯一码
followContent: DataTypes.STRING,//跟进内容 followContent: DataTypes.JSON,//跟进内容
productOneType_id: DataTypes.STRING,//产品大类Id productOneType_id: DataTypes.STRING,//产品大类Id
productType_id: DataTypes.STRING,//产品类型Id productType_id: DataTypes.STRING,//产品类型Id
notes: DataTypes.STRING,//备注 notes: DataTypes.STRING,//备注
......
...@@ -151,6 +151,9 @@ class NeedinfoService extends ServiceBase { ...@@ -151,6 +151,9 @@ class NeedinfoService extends ServiceBase {
return system.getResultSuccess(); return system.getResultSuccess();
} else { } else {
needinfo.status = "ygb"; needinfo.status = "ygb";
// 2020 0821 lin 新增 修改增加 跟进者唯一码(非必填),跟进者手机号(必填)
needinfo.followManMobile = actionBody.followManMobile;
needinfo.followManUserId = actionBody.followManUserId;
var self = this; var self = this;
await self.update(needinfo.dataValues); await self.update(needinfo.dataValues);
await self.needsolutionSve.abolishProgrammeByNeed(pobj); await self.needsolutionSve.abolishProgrammeByNeed(pobj);
......
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