feat:样品模板增加用户姓名字段

besure_bit
ck-chenkang 3 weeks ago
parent 2680f3e5e2
commit 16f75d6659

@ -6,12 +6,20 @@
INSERT INTO system_dict_data
(sort, label, value, dict_type, status, color_type, css_class, remark, creator, create_time, updater, update_time, deleted)
SELECT 7, 'BIT样品标签', '7', 'print_template_type', 0, 'primary', '', 'qrcodeUrl,name,code', '1', NOW(), '1', NOW(), b'0'
SELECT 7, 'BIT样品标签', '7', 'print_template_type', 0, 'primary', '', 'qrcodeUrl,name,code,sampleCategory,customerName', '1', NOW(), '1', NOW(), b'0'
WHERE NOT EXISTS (
SELECT 1 FROM system_dict_data
WHERE dict_type = 'print_template_type' AND value = '7'
);
UPDATE system_dict_data
SET remark = 'qrcodeUrl,name,code,sampleCategory,customerName',
updater = '1',
update_time = NOW()
WHERE dict_type = 'print_template_type'
AND value = '7'
AND deleted = b'0';
INSERT INTO system_dict_data
(sort, label, value, dict_type, status, color_type, css_class, remark, creator, create_time, updater, update_time, deleted)
SELECT 8, 'BIT库位标签', '8', 'print_template_type', 0, 'success', '', 'qrcodeUrl,name,code', '1', NOW(), '1', NOW(), b'0'

Loading…
Cancel
Save