|
@@ -68,15 +68,14 @@ public class SettlementController {
|
|
|
* 2.0
|
|
|
*
|
|
|
* @param settlementBasicInfo
|
|
|
- * @param request
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
@ResponseBody
|
|
|
@RequestMapping("addBillBasicInformation")
|
|
|
// @OperationLog(operationModule = "结算单",operationType = OperationTypeEnum.INSERT,description = "新建结算单")
|
|
|
- public Object add(SettlementBasicInfo settlementBasicInfo, HttpServletRequest request) throws Exception {
|
|
|
- settlementManagementService.add(settlementBasicInfo, request);
|
|
|
+ public Object add(@RequestBody SettlementBasicInfo settlementBasicInfo) throws Exception {
|
|
|
+ settlementManagementService.add(settlementBasicInfo);
|
|
|
return new SuccessResponseData("添加成功");
|
|
|
}
|
|
|
/**
|
|
@@ -305,7 +304,7 @@ public class SettlementController {
|
|
|
@ResponseBody
|
|
|
@RequestMapping("updateBill")
|
|
|
// @OperationLog(operationModule = "结算单",operationType = OperationTypeEnum.INSERT,description = "修改结算")
|
|
|
- public Object updateBill(SettlementBasicInfo settlementBasicInfo){
|
|
|
+ public Object updateBill(@RequestBody SettlementBasicInfo settlementBasicInfo){
|
|
|
settlementManagementService.updateBill(settlementBasicInfo);
|
|
|
return new SuccessResponseData("修改成功");
|
|
|
}
|