作者 yangfu

角色用户修改

@@ -399,7 +399,7 @@ func (usersService *UsersService) CooperationUserList(cooperationUserListQuery * @@ -399,7 +399,7 @@ func (usersService *UsersService) CooperationUserList(cooperationUserListQuery *
399 OrgName: v.Org.OrgName, 399 OrgName: v.Org.OrgName,
400 OrgId: strconv.Itoa(v.Org.OrgId), 400 OrgId: strconv.Itoa(v.Org.OrgId),
401 } 401 }
402 - if !v.CooperationInfo.CooperationDeadline.IsZero() { 402 + if !v.CooperationInfo.CooperationDeadline.IsZero() && v.CooperationInfo.CooperationDeadline.After(time.Unix(1136044800, 0)) {
403 item.CooperationDeadline = v.CooperationInfo.CooperationDeadline.Format("2006-01-02") 403 item.CooperationDeadline = v.CooperationInfo.CooperationDeadline.Format("2006-01-02")
404 } 404 }
405 405
@@ -438,7 +438,7 @@ func (usersService *UsersService) CooperationUserUpdate(cooperationUserUpdateCom @@ -438,7 +438,7 @@ func (usersService *UsersService) CooperationUserUpdate(cooperationUserUpdateCom
438 _, err := creationUserGateway.CooperatorUserUpdate(allied_creation_user.ReqUpdateCooperatorUser{ 438 _, err := creationUserGateway.CooperatorUserUpdate(allied_creation_user.ReqUpdateCooperatorUser{
439 UserId: cooperationUserUpdateCommand.UserId, 439 UserId: cooperationUserUpdateCommand.UserId,
440 CooperationCompany: cooperationUserUpdateCommand.CooperationCompany, 440 CooperationCompany: cooperationUserUpdateCommand.CooperationCompany,
441 - CooperationDeadline: time.Unix(cooperationUserUpdateCommand.CooperationDeadline, 0), 441 + CooperationDeadline: time.Unix(cooperationUserUpdateCommand.CooperationDeadline/1000, 0),
442 Email: cooperationUserUpdateCommand.Email, 442 Email: cooperationUserUpdateCommand.Email,
443 EnableStatus: cooperationUserUpdateCommand.EnableStatus, 443 EnableStatus: cooperationUserUpdateCommand.EnableStatus,
444 UserCode: cooperationUserUpdateCommand.UserCode, 444 UserCode: cooperationUserUpdateCommand.UserCode,