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