更新proto

This commit is contained in:
lzh 2025-09-28 14:18:11 +08:00
parent 61b7fedf0d
commit 5edac38772
4 changed files with 532 additions and 532 deletions

View File

@ -220,8 +220,8 @@ func CreateBundleBalance(data model.BundleBalance) error {
func GetUsedRecord(req *bundle.GetUsedRecordListReq) (data []model.CostLog, total int64, err error) {
session := app.ModuleClients.BundleDB.Model(&model.CostLog{})
if req.Title != "" {
session = session.Where("title = ?", req.Title)
if req.WorkTitle != "" {
session = session.Where("work_title like ?", "%"+req.WorkTitle+"%")
}
if req.Platform != 0 {
session = session.Where(fmt.Sprintf("JSON_CONTAINS(platform_ids,'%d')", req.Platform))

View File

@ -707,7 +707,7 @@ message GetUsedRecordListReq{
string account = 3;
int32 platform = 4;
int32 type = 5;
string title = 6;
string workTitle = 6;
int64 submitTimeStart = 7;
int64 submitTimeEnd = 8;
int32 page = 9;

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
// versions:
// - protoc-gen-go-triple v1.0.8
// - protoc v3.20.3
// - protoc v3.12.4
// source: pb/bundle.proto
package bundle