考试任务发放的修改

This commit is contained in:
daihh
2022-11-30 14:55:43 +08:00
parent 8f123d4cd1
commit 87c57c27e7
3 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ public class ExamUserTask extends IdBaseEntity{
/**
* 群组受众id
*/
@Column(name = "group_id",nullable=false,length=20)
@Column(name = "group_id",nullable=false,length=36)
private String groupId;
/**

View File

@@ -90,7 +90,7 @@ public class ExamUserTaskServiceImpl implements IExamUserTaskService{
@Transactional
public void rePushTask(ExamTestDto task) {
//执行推送,当前因为是固定人,所以这里直接添加处理,按受众添加到每个人中
//查询受众的信息
//查询受众的信息2022、11、30 这个的返回需要从接口获取人员信息,然后推送
List<UserGroupItem> items = ugroupDao.findList("groupId", task.getGroupId());
if(items.size()>0) {
//防止加入两条的问题,应该是先查询,再添加

View File

@@ -23,7 +23,7 @@ public class UserGroupItem extends IdEntity {
/**
* 受众ID
*/
@Column(name = "group_Id", nullable = false, length = 20)
@Column(name = "group_Id", nullable = false, length = 36)
private String groupId;
/**