feat: 上传京东账单时自动软删除其他来源中的京东订单
This commit is contained in:
@@ -51,4 +51,9 @@ type BillRepository interface {
|
||||
|
||||
// CountRawByField 按字段统计原始数据数量
|
||||
CountRawByField(fieldName, value string) (int64, error)
|
||||
|
||||
// SoftDeleteJDRelatedBills 软删除描述中包含"京东-订单编号"的非京东账单
|
||||
// 用于避免京东账单与其他来源(微信、支付宝)账单重复计算
|
||||
// 返回: 删除数量、错误
|
||||
SoftDeleteJDRelatedBills() (int64, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user