| | |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | //resultInfos.tbBillList = ErpParametersServer.Resend(data); |
| | | resultInfos.tbBillList = ErpParametersServer.Resend(data); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | |
| | | [HttpPost("GetByPid")] |
| | | public ResponseResult ResetUpdate([FromBody] JObject data) |
| | | { |
| | | var pid = data["pid"].ToString(); |
| | | var pid = data["pid"].ToString(); |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | |
| | | |
| | | var parsedGuid = Guid.Empty; |
| | | if (string.IsNullOrEmpty(pid)) |
| | | { |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | |
| | | bool isValid = Guid.TryParse(pid, out parsedGuid); |
| | | var isValid = Guid.TryParse(pid, out parsedGuid); |
| | | if (!isValid) |
| | | throw new ApplicationException("GUID转换错误"); |
| | | |