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