feat: qm 合格率设置阈值
This commit is contained in:
parent
4254e226d3
commit
e0f7ce4636
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.2.12 on 2025-01-21 06:58
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('qm', '0039_ftest_defect_main'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='quastat',
|
||||
name='rate_pass_t',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='合格率目标值'),
|
||||
),
|
||||
]
|
|
@ -201,6 +201,7 @@ class QuaStat(CommonBDModel):
|
|||
num_test = models.PositiveSmallIntegerField('检测次数', null=True, blank=True)
|
||||
num_ok = models.PositiveSmallIntegerField('合格次数', null=True, blank=True)
|
||||
rate_pass = models.FloatField('合格率', null=True, blank=True)
|
||||
rate_pass_t = models.FloatField('合格率目标值', null=True, blank=True)
|
||||
|
||||
|
||||
class FtestWork(CommonBDModel):
|
||||
|
|
Loading…
Reference in New Issue