完善基础数据
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user