瀏覽代碼

feature(订单管理系统):
1、修改字段名称

niezch 2 年之前
父節點
當前提交
a12b45cdcd

+ 1 - 1
opms_parent/app/model/cust/cust_customer_bid_record.go

@@ -35,7 +35,7 @@ type CustCustomerBidRecordAddReq struct {
 	Title         string      `json:"title"`                                // 招标信息标题
 	InfoType      string      `json:"infoType" v:"required#请输入信息分类"`        // 信息分类
 	Bidder        string      `json:"bidder"`                               // 中标单位
-	CreatedOn     *gtime.Time `json:"createdOn" v:"required#请输入创建日期"`       // 发布创建日期
+	BiddingTime   *gtime.Time `json:"BiddingTime" v:"required#请输入日期"`       // 招标日期
 	Remark        string      `json:"remark"`                               // 备注
 }
 

+ 1 - 1
opms_parent/app/model/cust/internal/cust_customer_bid_record.go

@@ -19,7 +19,7 @@ type CustCustomerBidRecord struct {
 	Title         string      `orm:"title"          json:"title"`         // 招标信息标题
 	InfoType      string      `orm:"info_type"      json:"infoType"`      // 信息分类
 	Bidder        string      `orm:"bidder"         json:"bidder"`        // 中标单位
-	CreatedOn     *gtime.Time `orm:"created_on"     json:"createdOn"`     // 创建招标日期
+	BiddingTime   *gtime.Time `orm:"bidding_time"     json:"biddingTime"` // 招标日期
 	Remark        string      `orm:"remark"         json:"remark"`        // 备注
 	CreatedBy     int         `orm:"created_by"     json:"createdBy"`     // 创建者
 	CreatedName   string      `orm:"created_name"   json:"createdName"`   // 创建人

+ 1 - 1
opms_parent/app/service/cust/cust_customer_bid_record.go

@@ -128,7 +128,7 @@ func (s CustCustomerBidRecordService) Add(ctx context.Context, req *model.CustCu
 		UpdatedBy:     int(s.userInfo.Id),
 		UpdatedName:   s.userInfo.NickName,
 		UpdatedTime:   gtime.Now(),
-		CreatedOn:     req.CreatedOn,
+		BiddingTime:   req.BiddingTime,
 	})
 	if err != nil {
 		return 0, err