-
Change
-
解决结果: 完成
-
Block
-
无
-
Y-银雁科技-Y2021008
-
PRO
-
人力资源等
-
同问题 https://pm.ersoft.cn/browse/SLAL2-4247
sql = """
update hr_employee set x_kslx='158' where hr_employee.x_kslx is null;
update hr_employee set x_bslx='160' where hr_employee.x_bslx is null;
update employee_time_config set work_calendar_id='1' where employee_time_config.work_calendar_id is null;
update employee_time_config set default_daily_model_id='1' where employee_time_config.default_daily_model_id is null;
update hr_employee set x_client='缺省' where x_client is null;
"""
env.cr.execute(sql)