From cf9f043713908fb5e6c330a23a76b41aeeffde17 Mon Sep 17 00:00:00 2001 From: CZT <czt18638530771@163.com> Date: 星期三, 13 九月 2023 19:28:00 +0800 Subject: [PATCH] 优化补单文件时间保存 --- igds-core/src/main/java/com/ld/igds/models/CheckStandard.java | 124 ++++++++++++++++++---------------------- 1 files changed, 56 insertions(+), 68 deletions(-) diff --git a/igds-core/src/main/java/com/ld/igds/models/CheckStandard.java b/igds-core/src/main/java/com/ld/igds/models/CheckStandard.java index ee2703a..6fddff1 100644 --- a/igds-core/src/main/java/com/ld/igds/models/CheckStandard.java +++ b/igds-core/src/main/java/com/ld/igds/models/CheckStandard.java @@ -1,105 +1,93 @@ package com.ld.igds.models; import com.bstek.dorado.annotation.PropertyDef; + import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.io.Serializable; import java.util.Date; + import lombok.Data; /** - * 鍖栭獙鏍囧噯閰嶇疆淇℃伅 + * 鍖栭獙鏍囧噯閰嶇疆 * * @author: chen - * */ @Data @Entity @Table(name = "D_CHECK_STANDARD") public class CheckStandard implements Serializable { - /** - * - */ - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 1L; - @Id - @Column(name = "ID_", length = 40) - @PropertyDef(label = "ID") - private String id; + @Id + @Column(name = "ID_", length = 40) + @PropertyDef(label = "ID") + private String id; - @Column(name = "COMPANY_ID_", length = 10) - @PropertyDef(label = "缁勭粐缂栫爜") - private String companyId; + @Column(name = "COMPANY_ID_", length = 10) + @PropertyDef(label = "缁勭粐缂栫爜") + private String companyId; - @Column(name = "DEPT_ID_", length = 40) - @PropertyDef(label = "鎵�灞炲簱鐐�") - private String deptId; + @Column(name = "FOOD_VARIETY_", length = 20) + @PropertyDef(label = "绮鍝佺") + private String foodVariety; - @Column(name = "FOOD_VARIETY_", length = 20) - @PropertyDef(label = "绮鍝佺") - private String foodVariety; + @Column(name = "STANDARD_ID_", length = 10) + @PropertyDef(label = "鍖栭獙椤�") + private String standardId; - @Column(name = "STANDARD_ID_", length = 10) - @PropertyDef(label = "鍖栭獙椤�") - private String standardId; + @Column(name = "STANDARD_NAME_", length = 50) + @PropertyDef(label = "鍖栭獙椤�") + private String standardName; - @Column(name = "STANDARD_NAME_", length = 50) - @PropertyDef(label = "鍖栭獙椤�") - private String standardName; + @Column(name = "UNIT_", length = 20) + @PropertyDef(label = "鍗曚綅") + private String unit; - @Column(name = "UNIT_", length = 20) - @PropertyDef(label = "鍗曚綅") - private String unit; + @Column(name = "OPERA_SYMBOL_", length = 4) + @PropertyDef(label = "杩愮畻绗﹀彿") + private String operaSymbol; - @Column(name = "OPERA_SYMBOL_",length = 4) - @PropertyDef(label = "杩愮畻绗﹀彿") - private String operaSymbol; + @Column(name = "UPPER_LIMIT_") + @PropertyDef(label = "鏍囧噯鍊�") + private Double upperLimit; - @Column(name = "UPPER_LIMIT_") - @PropertyDef(label = "鏍囧噯涓婇檺") - private Double upperLimit; + @Column(name = "RULE_NUM_") + @PropertyDef(label = "澧炴墸閲嶇郴鏁�") + private Double ruleNum; -// @Column(name = "LOWER_LIMIT_") -// @PropertyDef(label = "鏍囧噯涓嬮檺") -// private Double lowerLimit; + @Column(name = "RULE_REDUCE_") + @PropertyDef(label = "鎵i噸姣斾緥") + private Double ruleReduce; - @Column(name = "RULE_NUM_") - @PropertyDef(label = "鎵i噸绯绘暟") - private Double ruleNum; + @Column(name = "RULE_ADD_") + @PropertyDef(label = "澧為噸姣斾緥") + private Double ruleAdd; - @Column(name = "RULE_ADD_") - @PropertyDef(label = "澧為噸%") - private Double ruleAdd; + @Column(name = "RULE_ADD_END_") + @PropertyDef(label = "澧為噸涓婇檺%") + private Double ruleAddEnd; - @Column(name = "RULE_ADD_END_") - @PropertyDef(label = "澧為噸涓婇檺%") - private Double ruleAddEnd; + @Column(name = "RULE_PRICE_") + @PropertyDef(label = "鎵h垂绯绘暟") + private Double rulePrice; - @Column(name = "RULE_REDUCE_") - @PropertyDef(label = "鎵i噸%") - private Double ruleReduce; + @Column(name = "RULE_REDUCE_PRICE_") + @PropertyDef(label = "鎵h垂姣斾緥") + private Double ruleReducePrice; - @Column(name = "STANDARD_PRICE_") - @PropertyDef(label = "鏍囧噯鍗曚环锛堝厓/鏂わ級") - private Double standardPrice; + @Column(name = "UPDATE_TIME_") + @PropertyDef(label = "鏇存柊鏃堕棿") + private Date updateTime; - @Column(name = "RULE_PRICE_") - @PropertyDef(label = "鎵h垂绯绘暟") - private Double rulePrice; - - @Column(name = "RULE_REDUCE_PRICE_") - @PropertyDef(label = "鎵h垂") - private Double ruleReducePrice; - - @Column(name = "UPDATE_TIME_") - @PropertyDef(label = "鏇存柊鏃堕棿") - private Date updateTime; - - @Column(name = "REMARKS_",length= 200) - @PropertyDef(label = "璇存槑") - private String remarks; - + @Column(name = "REMARKS_", length = 200) + @PropertyDef(label = "璇存槑") + private String remarks; } -- Gitblit v1.9.3