liujiandao
2024-04-12 ceeb6be3ca049ce1301b49a1f695da2c4151e3de
添加落丝桶数选中字段
5个文件已修改
63 ■■■■■ 已修改文件
controllers/request/yield_register_request.go 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/docs.go 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/swagger.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/swagger.yaml 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
models/yield_register.go 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
controllers/request/yield_register_request.go
@@ -29,6 +29,9 @@
    FallingSilkBucketOne    decimal.Decimal           `json:"fallingSilkBucketOne"`    //落丝桶数1
    FallingSilkBucketTwo    decimal.Decimal           `json:"fallingSilkBucketTwo"`    //落丝桶数2
    FallingSilkBucketThree  decimal.Decimal           `json:"fallingSilkBucketThree"`  //落丝桶数3
    SelectOne               bool                      `json:"selectOne"`               //落丝桶数1选中
    SelectTwo               bool                      `json:"selectTwo"`               //落丝桶数2选中
    SelectThree             bool                      `json:"selectThree"`             //落丝桶数3选中
    TheorySilkAmount        decimal.Decimal           `json:"theorySilkAmount"`        //理论丝量
    HourYield               decimal.Decimal           `json:"hourYield"`               //台时产量
    OneBack                 string                    `json:"oneBack"`                 //第一回
docs/docs.go
@@ -1613,6 +1613,15 @@
                "record": {
                    "type": "number"
                },
                "selectOne": {
                    "type": "boolean"
                },
                "selectThree": {
                    "type": "boolean"
                },
                "selectTwo": {
                    "type": "boolean"
                },
                "spec": {
                    "type": "string"
                },
@@ -2121,6 +2130,18 @@
                    "description": "生产用时",
                    "type": "number"
                },
                "selectOne": {
                    "description": "落丝桶数1选中",
                    "type": "boolean"
                },
                "selectThree": {
                    "description": "落丝桶数3选中",
                    "type": "boolean"
                },
                "selectTwo": {
                    "description": "落丝桶数2选中",
                    "type": "boolean"
                },
                "spec": {
                    "description": "规格",
                    "type": "string"
docs/swagger.json
@@ -1601,6 +1601,15 @@
                "record": {
                    "type": "number"
                },
                "selectOne": {
                    "type": "boolean"
                },
                "selectThree": {
                    "type": "boolean"
                },
                "selectTwo": {
                    "type": "boolean"
                },
                "spec": {
                    "type": "string"
                },
@@ -2109,6 +2118,18 @@
                    "description": "生产用时",
                    "type": "number"
                },
                "selectOne": {
                    "description": "落丝桶数1选中",
                    "type": "boolean"
                },
                "selectThree": {
                    "description": "落丝桶数3选中",
                    "type": "boolean"
                },
                "selectTwo": {
                    "description": "落丝桶数2选中",
                    "type": "boolean"
                },
                "spec": {
                    "description": "规格",
                    "type": "string"
docs/swagger.yaml
@@ -358,6 +358,12 @@
        type: string
      record:
        type: number
      selectOne:
        type: boolean
      selectThree:
        type: boolean
      selectTwo:
        type: boolean
      spec:
        type: string
      theorySilkAmount:
@@ -710,6 +716,15 @@
      record:
        description: 生产用时
        type: number
      selectOne:
        description: 落丝桶数1选中
        type: boolean
      selectThree:
        description: 落丝桶数3选中
        type: boolean
      selectTwo:
        description: 落丝桶数2选中
        type: boolean
      spec:
        description: 规格
        type: string
models/yield_register.go
@@ -30,6 +30,9 @@
        FallingSilkBucketOne    decimal.Decimal        `json:"fallingSilkBucketOne" gorm:"type:decimal(12,2);comment:落丝桶数1"`
        FallingSilkBucketTwo    decimal.Decimal        `json:"fallingSilkBucketTwo" gorm:"type:decimal(12,2);comment:落丝桶数2"`
        FallingSilkBucketThree  decimal.Decimal        `json:"fallingSilkBucketThree" gorm:"type:decimal(12,2);comment:落丝桶数3"`
        SelectOne               bool                   `json:"selectOne" gorm:"type:int(1);comment:落丝桶数1选中"`
        SelectTwo               bool                   `json:"selectTwo" gorm:"type:int(1);comment:落丝桶数2选中"`
        SelectThree             bool                   `json:"selectThree" gorm:"type:int(1);comment:落丝桶数3选中"`
        TheorySilkAmount        decimal.Decimal        `json:"theorySilkAmount" gorm:"type:decimal(12,2);comment:理论丝量"`
        HourYield               decimal.Decimal        `json:"hourYield" gorm:"type:decimal(12,2);comment:台时产量"`
        OneBack                 string                 `json:"oneBack" gorm:"type:varchar(255);comment:第一回"`