update
This commit is contained in:
parent
0d3a4f17b0
commit
a6cacb556a
|
@ -49,6 +49,8 @@ public class ContactDb extends BaseEntity{
|
||||||
*/
|
*/
|
||||||
@ApiModelProperty(value = "主题名称")
|
@ApiModelProperty(value = "主题名称")
|
||||||
private String subjectName;
|
private String subjectName;
|
||||||
|
@ApiModelProperty(value = "活动地点")
|
||||||
|
private String place;
|
||||||
|
|
||||||
@ApiModelProperty(value = "活动主题")
|
@ApiModelProperty(value = "活动主题")
|
||||||
private String event;
|
private String event;
|
||||||
|
|
|
@ -58,4 +58,7 @@ public class ContactDbSubjectRequest {
|
||||||
@ApiModelProperty(value = "相关资料附件关联会议名称 英文逗号间隔")
|
@ApiModelProperty(value = "相关资料附件关联会议名称 英文逗号间隔")
|
||||||
String informationAttachmentConferenceName;
|
String informationAttachmentConferenceName;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "活动地点")
|
||||||
|
private String place;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -129,7 +129,8 @@ public class ContactDbService extends BaseService<ContactDbMapper, ContactDb> {
|
||||||
contactDb.setState(ContactDb.STATE_CHOOSE);
|
contactDb.setState(ContactDb.STATE_CHOOSE);
|
||||||
contactDb.setCreatedId(loginUser.getId());
|
contactDb.setCreatedId(loginUser.getId());
|
||||||
saveOrUpdate(contactDb);
|
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
|
saveUser(contactDb.getId(), contactDbSubjectRequest.getChooseAdminUserIds(), loginUser, ContactDb.STATE_SUBJECT
|
||||||
, Const.TYPE_ADMIN);
|
, Const.TYPE_ADMIN);
|
||||||
saveUser(contactDb.getId(), contactDbSubjectRequest.getChooseDbUserIds(), loginUser, ContactDb.STATE_SUBJECT,
|
saveUser(contactDb.getId(), contactDbSubjectRequest.getChooseDbUserIds(), loginUser, ContactDb.STATE_SUBJECT,
|
||||||
|
|
|
@ -230,6 +230,7 @@ public class ContactDbWrapper extends BaseWrapper<ContactDb, ContactDbDto> {
|
||||||
List<ContactDbUser> subjectUserList = contactDbUserService.list(new LambdaQueryWrapper<ContactDbUser>()
|
List<ContactDbUser> subjectUserList = contactDbUserService.list(new LambdaQueryWrapper<ContactDbUser>()
|
||||||
.eq(ContactDbUser::getContactDbId, contactDb.getId())
|
.eq(ContactDbUser::getContactDbId, contactDb.getId())
|
||||||
.eq(ContactDbUser::getType, ContactDb.STATE_SUBJECT)
|
.eq(ContactDbUser::getType, ContactDb.STATE_SUBJECT)
|
||||||
|
.eq(ContactDbUser::getIdentity, Const.TYPE_CONTACT)
|
||||||
.orderByAsc(ContactDbUser::getSortNo));
|
.orderByAsc(ContactDbUser::getSortNo));
|
||||||
List<ContactDbUser> chooseAdminUserList = contactDbUserService.list(new LambdaQueryWrapper<ContactDbUser>()
|
List<ContactDbUser> chooseAdminUserList = contactDbUserService.list(new LambdaQueryWrapper<ContactDbUser>()
|
||||||
.eq(ContactDbUser::getContactDbId, contactDb.getId())
|
.eq(ContactDbUser::getContactDbId, contactDb.getId())
|
||||||
|
|
Loading…
Reference in New Issue