|
@@ -478,6 +478,20 @@ func (mr *MockSysUserModelMockRecorder) UpdateProfileWithTx(ctx, session, id, us
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateProfileWithTx", reflect.TypeOf((*MockSysUserModel)(nil).UpdateProfileWithTx), ctx, session, id, username, nickname, email, phone, remark, deptId, newStatus, statusChanged, expectedUpdateTime)
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateProfileWithTx", reflect.TypeOf((*MockSysUserModel)(nil).UpdateProfileWithTx), ctx, session, id, username, nickname, email, phone, remark, deptId, newStatus, statusChanged, expectedUpdateTime)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+// UpdateSelfInfo mocks base method.
|
|
|
|
|
+func (m *MockSysUserModel) UpdateSelfInfo(ctx context.Context, id int64, username, nickname, avatar, email, phone string, expectedUpdateTime int64) error {
|
|
|
|
|
+ m.ctrl.T.Helper()
|
|
|
|
|
+ ret := m.ctrl.Call(m, "UpdateSelfInfo", ctx, id, username, nickname, avatar, email, phone, expectedUpdateTime)
|
|
|
|
|
+ ret0, _ := ret[0].(error)
|
|
|
|
|
+ return ret0
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// UpdateSelfInfo indicates an expected call of UpdateSelfInfo.
|
|
|
|
|
+func (mr *MockSysUserModelMockRecorder) UpdateSelfInfo(ctx, id, username, nickname, avatar, email, phone, expectedUpdateTime any) *gomock.Call {
|
|
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSelfInfo", reflect.TypeOf((*MockSysUserModel)(nil).UpdateSelfInfo), ctx, id, username, nickname, avatar, email, phone, expectedUpdateTime)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
// UpdateStatus mocks base method.
|
|
// UpdateStatus mocks base method.
|
|
|
func (m *MockSysUserModel) UpdateStatus(ctx context.Context, id int64, username string, status, expectedUpdateTime int64) error {
|
|
func (m *MockSysUserModel) UpdateStatus(ctx context.Context, id int64, username string, status, expectedUpdateTime int64) error {
|
|
|
m.ctrl.T.Helper()
|
|
m.ctrl.T.Helper()
|