导入工号
This commit is contained in:
+3
-2
@@ -55,6 +55,7 @@ INSERT INTO `sys_dict_item` VALUES ('1509830576870400001', '1509830472616779778'
|
||||
INSERT INTO `sys_dict_item` VALUES ('1509830618775691265', '1509830472616779778', '收入合同', '2', '', 1.00, 1, 'LKGLZ', '2022-04-01 17:50:45', NULL, NULL);
|
||||
|
||||
-- 2022-4-8 导入工号
|
||||
|
||||
/*
|
||||
Navicat Premium Data Transfer
|
||||
|
||||
@@ -174,9 +175,9 @@ INSERT INTO `sheet0` VALUES ('01432', '谢东明');
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
|
||||
ALTER TABLE `income_payments_prod`.`sys_user`
|
||||
ALTER TABLE `sys_user`
|
||||
DROP INDEX `uniq_sys_user_work_no`;
|
||||
|
||||
update sys_user set sys_user.work_no = (select sheet0.username from sheet0 where sys_user.realname = sheet0.fullname)
|
||||
update sys_user set sys_user.work_no = (select sheet0.username from sheet0 where sys_user.realname = sheet0.fullname);
|
||||
|
||||
DROP TABLE IF EXISTS `sheet0`;
|
||||
|
||||
Reference in New Issue
Block a user