| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | [HttpPost("EmergencyRelease")] |
| | | public ResponseResult EmergencyRelease([FromBody] JObject data) |
| | | { |
| | | var id = Convert.ToInt32(data["id"].ToString()); |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = new LljService().EmergencyRelease(id); |
| | | resultInfos.tbBillList = tbBillList; |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | [HttpPost("WithdrawEmergencyRelease")] |
| | | public ResponseResult WithdrawEmergencyRelease([FromBody] JObject data) |
| | | { |
| | | var id = Convert.ToInt32(data["id"].ToString()); |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = new LljService().WithdrawEmergencyRelease(id); |
| | | resultInfos.tbBillList = tbBillList; |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | } |