IPaymentGoodsService.java 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /*
  2. * Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions are met:
  6. *
  7. * Redistributions of source code must retain the above copyright notice,
  8. * this list of conditions and the following disclaimer.
  9. * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * Neither the name of the dreamlu.net developer nor the names of its
  13. * contributors may be used to endorse or promote products derived from
  14. * this software without specific prior written permission.
  15. * Author: Chill 庄骞 (smallchill@163.com)
  16. */
  17. package com.fjhx.paymentgoods.service;
  18. import com.alibaba.fastjson.JSONObject;
  19. import com.baomidou.mybatisplus.extension.service.IService;
  20. import com.fjhx.paymentgoods.entity.PaymentGoods;
  21. import com.fjhx.purchase.entity.PurchaseContract;
  22. import java.util.List;
  23. import java.util.Map;
  24. /**
  25. * 付款账单 服务类
  26. *
  27. * @author BladeX
  28. * @since 2022-12-12
  29. */
  30. public interface IPaymentGoodsService extends IService<PaymentGoods> {
  31. /**
  32. * 列表
  33. *
  34. * @param condition 查询条件
  35. * @return
  36. */
  37. List<PaymentGoods> getList(Map<String, Object> condition);
  38. /**
  39. * 列表总数
  40. *
  41. * @param condition 查询条件
  42. * @return
  43. */
  44. Integer getListCount(Map<String, Object> condition);
  45. /**
  46. * 根据供应商ID查询采购合同
  47. *
  48. * @param supplyId 供应商ID
  49. * @return
  50. */
  51. List<PurchaseContract> getPurchaseContractSelectBySupplyId(String supplyId);
  52. /**
  53. * 查询银行历史数据
  54. *
  55. * @return
  56. */
  57. List<JSONObject> historyBankData();
  58. /**
  59. * 保存草稿
  60. *
  61. * @param entity
  62. * @return
  63. */
  64. void saveOrUpdateDraft(PaymentGoods entity);
  65. /**
  66. * 删除
  67. *
  68. * @param id 数据ID
  69. * @return
  70. */
  71. boolean deleteLogic(String id);
  72. /**
  73. * 打款
  74. *
  75. * @param entity
  76. */
  77. void addPaid(PaymentGoods entity);
  78. }