ARTICLE DETAIL

资讯详情

深耕郑州网站建设与运营推广的一线实战洞察。

质检模拟四个参数检查项

质检模拟四个参数检查项 测试检查项SQL(包含Double/Int/Bool/Dropdown四种参数类型)先说明:你当前的QCParamItem类没有下拉选项字段,Dropdown 渲染时是空的。需要补两个小改动才能看到下拉效果,我一并给你。一、SQL插入语句INSERT INTO CheckItemMeta(CheckItemId,GroupName,ItemShowName,CheckerClass,ParamSchema,DefaultJson,SortIndex,Remark) VALUES( 'PIPE_ATTR_COMPLETE', '管线属性检查', '管线属性完整性检查', 'PipeQC.Checker.PipeAttrCompleteChecker', '{ "Params":[ {"Key":"MinLength","Label":"最短检查长度","Type":"Double","Default":0.5,"Unit":"m","Min":0.01,"Max":null}, {"Key":"MaxWarningCount","Label":"最大警告数量","Type":"Int","Default":10,"Unit":"个","Min":0,"Max":999}, {"Key":"AutoMarkError","Label":"自动标记错误实体","Type":"Bool","Default":true,"Unit":"","Min":null,"Max":null}, {"Key":"CheckLevel","Label":"检查严格程度","Type":"Dropdown","Default":"Normal","Unit":"","Min":null,"Max":null, "Options":[ {"Value":"Loose","Text":"宽松"}, {"Value":"
返回列表