...
|
...
|
@@ -155,6 +155,7 @@ func (service SyncEmployeeService) DoAction(action string, byteData []byte) erro |
|
|
}
|
|
|
}
|
|
|
|
|
|
//addEmployeeData 添加用户
|
|
|
func (service SyncEmployeeService) addEmployeeData(datas []EmployeeData) error {
|
|
|
var (
|
|
|
transactionContext, _ = factory.CreateTransactionContext(nil)
|
...
|
...
|
@@ -203,6 +204,7 @@ func (service SyncEmployeeService) addEmployeeData(datas []EmployeeData) error { |
|
|
return err
|
|
|
}
|
|
|
|
|
|
// updateEmployeeData 更新用户
|
|
|
func (service SyncEmployeeService) updateEmployeeData(datas []EmployeeData) error {
|
|
|
var (
|
|
|
transactionContext, _ = factory.CreateTransactionContext(nil)
|
...
|
...
|
@@ -280,7 +282,7 @@ func (service SyncEmployeeService) deleteEmployeeData(data DeleteUserData) error |
|
|
return err
|
|
|
}
|
|
|
|
|
|
//UpdateUsersStatus 批量更新用户的状态
|
|
|
//updateUsersStatus 批量更新用户的状态
|
|
|
func (service SyncEmployeeService) updateUsersStatus(data ForbidAllowUserData) error {
|
|
|
var (
|
|
|
transactionContext, _ = factory.CreateTransactionContext(nil)
|
...
|
...
|
|