{"comment":{"url":"https://api.github.com/repos/hotax/Finelets/comments/28865276","html_url":"https://github.com/hotax/Finelets/commit/96dbbd13c9e38b51d2ce47820499a7231943f800#commitcomment-28865276","id":28865276,"user":{"login":"hotax","id":16955380,"avatar_url":"https://avatars1.githubusercontent.com/u/16955380?v=4","gravatar_id":"","url":"https://api.github.com/users/hotax","html_url":"https://github.com/hotax","followers_url":"https://api.github.com/users/hotax/followers","following_url":"https://api.github.com/users/hotax/following{/other_user}","gists_url":"https://api.github.com/users/hotax/gists{/gist_id}","starred_url":"https://api.github.com/users/hotax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hotax/subscriptions","organizations_url":"https://api.github.com/users/hotax/orgs","repos_url":"https://api.github.com/users/hotax/repos","events_url":"https://api.github.com/users/hotax/events{/privacy}","received_events_url":"https://api.github.com/users/hotax/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"96dbbd13c9e38b51d2ce47820499a7231943f800","created_at":"2018-05-05T04:07:35Z","updated_at":"2018-05-05T04:07:35Z","author_association":"OWNER","body":"`messageSendor.draftSalesOrder.withArgs(orderData).returns(Promise.resolve(taskStatus));`\r\n\r\n从以上的代码看，销售人员直接提交订单草稿数据，这样的设计有“销售人员没有提供价值增值”的问题 👎 \r\n\r\n提议采用以下设计方案，销售人员负责：\r\n- 用[订单工厂]()构造订单，完成数据校验\r\n- 将订单提交[销售数据库](#5)保存，意味着系统已创建订单资源，这也有利于对消息的处理和跟踪\r\n- 向[消息中心](#)提交订单草稿，对外发布”草拟销售订单“消息。"}}
{"actor":{"display_login":"hotax"}}