# 现在是这种
sql = """
update hr_employee set x_kslx='158' where x_kslx is null;
update hr_employee set x_bslx='160' where x_bslx is null;
update employee_time_config set work_calendar_id='1' where work_calendar_id is null;
update employee_time_config set default_daily_model_id='1' where default_daily_model_id is null;
"""
env.cr.execute(sql)
# 如果不行,你就用类似这种,把update语句分开,多条就写多条
env.cr.execute("""update hr_employee set x_kslx='158' where x_kslx is null;""")
env.cr.execute("""update hr_employee set x_bslx='160' where x_bslx is null;""")