| | |
| | | _basicService = basicService; |
| | | _invokeERPService = invokeERPService; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ·»å äºæç©æ |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("ReceiveMaterial"), AllowAnonymous] |
| | | |
| | | public WebResponseContent ReceiveMaterial([FromBody] ERPRoot<ERPMaterialDTO> eRPMaterialDTO) |
| | | { |
| | | return _basicService.MaterielInfoService.ReceiveMaterial(eRPMaterialDTO.Content); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ·»å äºæä¾åºå |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("ReceiveSupplier"), AllowAnonymous] |
| | | |
| | | public WebResponseContent ReceiveSupplier([FromBody] ERPRoot<ERPSupplierDTO> eRPSupplierDTO) |
| | | { |
| | | return _basicService.SupplierInfoService.ReceiveSupplier(eRPSupplierDTO.Content); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ·»å äºæå®¢æ· |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("ReceiveCustomer"), AllowAnonymous] |
| | | |
| | | public WebResponseContent ReceiveCustomer([FromBody] ERPRoot<ERPCustomerDTO> eRPSupplierDTO) |
| | | { |
| | | return _basicService.CustomerInfoService.ReceiveCustomer(eRPSupplierDTO.Content); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ·»å äºæåå·¥ |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("ReceiveStaff"), AllowAnonymous] |
| | | |
| | | public WebResponseContent ReceiveStaff([FromBody] ERPRoot<ERPUserInfoDTO> eRPCustomerDTO) |
| | | { |
| | | return _basicService.UserInfoService.ReceiveStaff(eRPCustomerDTO.Content); |
| | | } |
| | | } |
| | | } |