webapi
1.公司管理
获取List
url:http://dev.nbeport.com/aps/rest/Company/List获取Model
url:http://dev.nbeport.com/aps/rest/Company/Get/{id}-
保存Post
url:http://dev.nbeport.com/aps/rest/Company/savemain- 传入Aps_Company,其中 RowStatus:0新增,1修改;
- 返回Aps_Company
删除delete
url:http://dev.nbeport.com/aps/rest/Company/delete/{id}修改审核状态SetStatus
url:http://dev.nbeport.com/aps/rest/Company/SetStatus
post参数:status,id-
Aps_Company类
public string ID { get; set; } public string Company_Name { get; set; } public string Company_Type { get; set; } public string Shipping_Type { get; set; } public string Company_Cert { get; set; } public string Doc_No { get; set; } public Nullable<System.DateTime> Founding_Date { get; set; } public string Reg_Address { get; set; } public string Office_Address { get; set; } public string LinkMan { get; set; } public string LinkMan2 { get; set; } public string LinkMan3 { get; set; } public string Is_Water_Cert { get; set; } public string Is_InterNal_Cert { get; set; } public string Credit_Level { get; set; } public string Area_Dept { get; set; } public string Company_Status { get; set; } public string Remark { get; set; } public string Manager_Ship_Attr { get; set; } public Nullable<int> Manager_Ship_Amount { get; set; } public Nullable<int> In_System_Amount { get; set; } public Nullable<int> Out_System_Amount { get; set; } public string Manager_Ship_Type { get; set; } public Nullable<System.DateTime> Check_Date { get; set; } public string Organize_Code { get; set; } public string Company_Leader { get; set; } public string Company_Manage { get; set; } public Nullable<System.DateTime> DOC_Validate_Date { get; set; } public string linkman4 { get; set; } public string Water_Cert { get; set; } public string InterNal_Cert { get; set; } public Nullable<System.DateTime> Modify_Date { get; set; } public string Modify_Person { get; set; } public string Declared_State { get; set; } public string OU { get; set; } public string CREATE_USER { get; set; } public Nullable<System.DateTime> CREATE_TIME { get; set; } public apsCommon.RowStatus RowStatus { get; set; }
2.人员管理
获取List
url:http://dev.nbeport.com/aps/rest/Company/getemployeelist获取Model
url:http://dev.nbeport.com/aps/rest/Company/getemployee/{id}-
保存Post
url:http://dev.nbeport.com/aps/rest/Company/saveemployee- 传入Aps_Company_Employee,其中 RowStatus:0新增,1修改;
- 返回Aps_Company_Employee
删除delete
url:http://dev.nbeport.com/aps/rest/Company/employeedelete/{id}
-
Aps_Company_Employee类
public string ID { get; set; } public string Company_ID { get; set; } public string Employee_Duty { get; set; } public string Employee_Name { get; set; } public string Linkman { get; set; } public string Remark { get; set; } public string Sex { get; set; } public string Office_Tel { get; set; } public string CertNo { get; set; } public string CertType { get; set; } public Nullable<System.DateTime> ValidDate { get; set; } public string CREATE_USER { get; set; } public Nullable<DateTime> CREATE_TIME { get; set; }