feat: 新增计算保留上月小数位数
This commit is contained in:
@@ -32,6 +32,7 @@ class PricePublish(db.Model, Model, OperationTrackMixin, BaseModelMixin):
|
||||
status = Column('STATUS', Integer, default=0, comment='状态')
|
||||
type = Column('TYPE', Integer, default=0, comment='类型')
|
||||
unit = Column('UNIT', String(128), default='', comment='单位')
|
||||
display_digit = Column('DISPLAY_DIGIT', Integer, default='', comment='显示小数位数')
|
||||
|
||||
__tablename__ = 'PRICE_PUBLISH'
|
||||
__table_args__ = (
|
||||
|
@@ -36,6 +36,7 @@ class PriceResult(db.Model, Model, OperationTrackMixin, BaseModelMixin):
|
||||
weight_survey = Column('WEIGHT_SURVEY', Numeric(16, 4), default=0, comment='')
|
||||
spec = Column('SPEC', String(128), default='', comment='规格')
|
||||
unit = Column('UNIT', String(128), default='', comment='单位')
|
||||
display_digit = Column('DISPLAY_DIGIT', Integer, default='', comment='显示小数位数')
|
||||
|
||||
__tablename__ = 'PRICE_RESULT'
|
||||
__table_args__ = (
|
||||
|
Reference in New Issue
Block a user