18 lines
570 B
C#
18 lines
570 B
C#
using F9WebAiTest.Domain.Entities.SYS.Zq;
|
|
|
|
namespace F9WebAiTest.Domain.Interfaces.SYS.Zq;
|
|
|
|
/// <summary>账期写仓储(聚合根仓储)</summary>
|
|
public interface IZhangqiWriteRepository : IDInterface
|
|
{
|
|
/// <summary>返回聚合根</summary>
|
|
Task<Zhangqi> GetByIdAsync(long id, CancellationToken cancellationToken);
|
|
|
|
Task<bool> AddAsync(Zhangqi zhangqi);
|
|
Task<bool> UpdateAsync(Zhangqi zhangqi);
|
|
Task<bool> SoftDeleteAsync(long id);
|
|
|
|
/// <summary>扎帐 / 取消扎帐</summary>
|
|
Task<bool> SetZhaZhangAsync(long id, bool isZhaZhang);
|
|
}
|