feat(wms): 更新应付款管理功能
- 在 IWmsPayableService 接口中添加了 updatePaidAmountAndAddJournal 方法 - 在 WmsPayableController 中添加了 updatePaidAmount 控制器方法- 在 WmsPayableServiceImpl 中实现了 updatePaidAmountAndAddJournal 方法 - 新增了应付款已付金额更新和资金日记账添加的功能
This commit is contained in:
@@ -3,6 +3,7 @@ package com.klp.controller;
|
||||
import java.util.List;
|
||||
import java.util.Arrays;
|
||||
|
||||
import com.klp.domain.bo.WmsReceivableBo;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import javax.validation.constraints.*;
|
||||
@@ -75,6 +76,16 @@ public class WmsPayableController extends BaseController {
|
||||
return toAjax(iWmsPayableService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新应付款已付金额 & 新增资金日记账
|
||||
*/
|
||||
@Log(title = "应付款管理(宽松版)", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PostMapping("/updatePaidAmount")
|
||||
public R<Void> updatePaidAmount(@RequestBody WmsPayableBo bo) {
|
||||
return toAjax(iWmsPayableService.updatePaidAmountAndAddJournal(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改应付款管理(宽松版)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user