Commit 452718bf by 任晓松

update

parent 3a0b33b8
......@@ -701,8 +701,11 @@ class OrderInfoService extends ServiceBase {
mobile: actionBody.orderContact.mobile,//手机号
email: actionBody.orderContact.email || ""
};
if(actionBody.tel){
updateFields['tel'] = actionBody.tel
if(actionBody.orderContact.tel){
updateFields['tel'] = actionBody.orderContact.tel
}
if(actionBody.orderContact.fax){
updateFields['tel'] = actionBody.orderContact.fax
}
this.ordercontactsDao.updateByWhere(updateFields, { where: { sourceOrderNo: actionBody.orderNo } });
if (actionBody.notes) {
......
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