8 lines
620 B
SQL
8 lines
620 B
SQL
-- USE_RECEIVE_WEIGHT: hit by product/country/customer/weight range, use receive/actual weight
|
|
SET NAMES utf8mb4;
|
|
|
|
INSERT INTO sys_dict_data (dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, remark)
|
|
SELECT 3, N'取实重(收货重)', 'USE_RECEIVE_WEIGHT', 'bms_biz_rule_type', '', 'warning', 'N', '0', 'admin', sysdate(),
|
|
N'命中后按取值字段取重;实重优先 actual_weight,次收货重 receive_weight'
|
|
FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM sys_dict_data WHERE dict_type = 'bms_biz_rule_type' AND dict_value = 'USE_RECEIVE_WEIGHT');
|