This commit is contained in:
lijiaqi 2022-11-11 11:46:05 +08:00
parent 0d3a4f17b0
commit a6cacb556a
4 changed files with 8 additions and 1 deletions

View File

@ -49,6 +49,8 @@ public class ContactDb extends BaseEntity{
*/
@ApiModelProperty(value = "主题名称")
private String subjectName;
@ApiModelProperty(value = "活动地点")
private String place;
@ApiModelProperty(value = "活动主题")
private String event;

View File

@ -58,4 +58,7 @@ public class ContactDbSubjectRequest {
@ApiModelProperty(value = "相关资料附件关联会议名称 英文逗号间隔")
String informationAttachmentConferenceName;
@ApiModelProperty(value = "活动地点")
private String place;
}

View File

@ -129,7 +129,8 @@ public class ContactDbService extends BaseService<ContactDbMapper, ContactDb> {
contactDb.setState(ContactDb.STATE_CHOOSE);
contactDb.setCreatedId(loginUser.getId());
saveOrUpdate(contactDb);
saveUser(contactDb.getId(), contactDbSubjectRequest.getSubjectUserIds(), loginUser, ContactDb.STATE_SUBJECT);
saveUser(contactDb.getId(), contactDbSubjectRequest.getSubjectUserIds(), loginUser, ContactDb.STATE_SUBJECT,
Const.TYPE_CONTACT);
saveUser(contactDb.getId(), contactDbSubjectRequest.getChooseAdminUserIds(), loginUser, ContactDb.STATE_SUBJECT
, Const.TYPE_ADMIN);
saveUser(contactDb.getId(), contactDbSubjectRequest.getChooseDbUserIds(), loginUser, ContactDb.STATE_SUBJECT,

View File

@ -230,6 +230,7 @@ public class ContactDbWrapper extends BaseWrapper<ContactDb, ContactDbDto> {
List<ContactDbUser> subjectUserList = contactDbUserService.list(new LambdaQueryWrapper<ContactDbUser>()
.eq(ContactDbUser::getContactDbId, contactDb.getId())
.eq(ContactDbUser::getType, ContactDb.STATE_SUBJECT)
.eq(ContactDbUser::getIdentity, Const.TYPE_CONTACT)
.orderByAsc(ContactDbUser::getSortNo));
List<ContactDbUser> chooseAdminUserList = contactDbUserService.list(new LambdaQueryWrapper<ContactDbUser>()
.eq(ContactDbUser::getContactDbId, contactDb.getId())