mirror of https://github.com/veops/cmdb.git
fix: default arg value
This commit is contained in:
parent
4cecdb10fb
commit
dc6da9ba2a
|
@ -231,7 +231,7 @@ class EmployeeCRUD(object):
|
||||||
raise Exception(err)
|
raise Exception(err)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_employee_list_by_body(department_id, block_status, search='', order='', conditions=[], page=1,
|
def get_employee_list_by_body(department_id, block_status, search='', order='', conditions=None, page=1,
|
||||||
page_size=10):
|
page_size=10):
|
||||||
criterion = [
|
criterion = [
|
||||||
Employee.deleted == 0
|
Employee.deleted == 0
|
||||||
|
|
Loading…
Reference in New Issue