导入工号
This commit is contained in:
+3
-2
@@ -50,6 +50,7 @@ update pay_working_group_subitem set make_invoice = 1 where id = '14847601967257
|
||||
|
||||
|
||||
-- 2022-4-8 导入工号
|
||||
|
||||
/*
|
||||
Navicat Premium Data Transfer
|
||||
|
||||
@@ -169,9 +170,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