批量更新功能

This commit is contained in:
2026-09-14 16:15:44 +08:00
parent 6f106e43af
commit a26c98b92b
79 changed files with 4529 additions and 724 deletions
+1
View File
@@ -23,6 +23,7 @@ type TenantCrmProduct struct {
TaxRate float64 `orm:"column(tax_rate);digits(6);decimals(2);default(0)" json:"tax_rate"` // 税率(%)
LineType string `orm:"column(line_type);size(20);default(product)" json:"line_type"` // 行类型 product/dev
DevUnitPrice float64 `orm:"column(dev_unit_price);digits(14);decimals(2);default(0)" json:"dev_unit_price"` // 软件开发统一人天单价
DevMode string `orm:"column(dev_mode);size(20);default(self)" json:"dev_mode"` // 软件开发研发方式:self自行研发/outsource外协研发(别人帮我们研发)
DevTree string `orm:"column(dev_tree);type(text);null" json:"dev_tree"` // 软件开发模块树JSON文本
Status int8 `orm:"column(status);default(1)" json:"status"` // 1启用/0停用
ProjectID *uint64 `orm:"column(project_id);null" json:"project_id"` // 来源项目ID(由项目生成时填入)