供应商账单相关接口
This commit is contained in:
parent
68042f21d2
commit
31b1691a7f
|
|
@ -110,7 +110,7 @@ public class ShopVendorController {
|
|||
* @return 统计信息
|
||||
*/
|
||||
@GetMapping("summary")
|
||||
@OperationLog("供应商账单-统计")
|
||||
// @OperationLog("供应商账单-统计")
|
||||
public CzgResult<ShopVendorSummaryVO> summary() {
|
||||
return CzgResult.success(shopVendorService.summary(StpKit.USER.getShopId()));
|
||||
}
|
||||
|
|
@ -120,7 +120,7 @@ public class ShopVendorController {
|
|||
* @return 账单列表
|
||||
*/
|
||||
@GetMapping("/bill")
|
||||
@OperationLog("供应商账单-列表")
|
||||
// @OperationLog("供应商账单-列表")
|
||||
public CzgResult<Page<ShopVendorBillVO>> bill() {
|
||||
return CzgResult.success(shopVendorService.billList(StpKit.USER.getShopId()));
|
||||
}
|
||||
|
|
@ -130,7 +130,7 @@ public class ShopVendorController {
|
|||
* @return 记录list
|
||||
*/
|
||||
@GetMapping("/bill/record")
|
||||
@OperationLog("供应商账单-列表")
|
||||
// @OperationLog("供应商账单-列表")
|
||||
public CzgResult<Page<ShopVendorBillRecordVO>> bill(@RequestParam Integer vendorId) {
|
||||
return CzgResult.success(shopVendorService.billRecord(StpKit.USER.getShopId(), vendorId));
|
||||
}
|
||||
|
|
@ -141,7 +141,7 @@ public class ShopVendorController {
|
|||
* @return 记录list
|
||||
*/
|
||||
@PostMapping("/bill/pay")
|
||||
@OperationLog("供应商账单-付款")
|
||||
// @OperationLog("供应商账单-付款")
|
||||
public CzgResult<Boolean> pay(@RequestBody @Validated ShopVendorBillPayDTO payDTO) {
|
||||
return CzgResult.success(shopVendorService.pay(StpKit.USER.getShopId(), payDTO));
|
||||
}
|
||||
|
|
@ -152,7 +152,7 @@ public class ShopVendorController {
|
|||
* @return 记录list
|
||||
*/
|
||||
@GetMapping("/bill/pay/record")
|
||||
@OperationLog("供应商账单-付款记录")
|
||||
// @OperationLog("供应商账单-付款记录")
|
||||
public CzgResult<Page<ShopVendorBillPayRecordVO>> payRecord(@RequestParam Long flowId) {
|
||||
return CzgResult.success(shopVendorService.payRecord(StpKit.USER.getShopId(), flowId));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue