|
|
|
@ -103,6 +103,26 @@ namespace DS.WMS.MainApi.Controllers
|
|
|
|
|
return await _invokeService.GetAsync(id);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建客户干系人并提交审核
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="clientId">客户ID</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpPost, Route("CreateSubmit")]
|
|
|
|
|
public async Task<DataResult> AddSubmitAsync(long clientId)
|
|
|
|
|
{
|
|
|
|
|
var date = DateTime.Now.Date;
|
|
|
|
|
return await _invokeService.AddSubmitAsync(new InfoClientStakeholder
|
|
|
|
|
{
|
|
|
|
|
ClientId = clientId,
|
|
|
|
|
CreateBy = long.Parse(_user.UserId),
|
|
|
|
|
CreateByName = _user.UserName,
|
|
|
|
|
StartDate = date,
|
|
|
|
|
EndDate = date.AddMonths(4),
|
|
|
|
|
Status = StakeholderStatus.Uncommitted
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 新增客户干系人
|
|
|
|
|
/// </summary>
|
|
|
|
|