mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-13 04:46:50 +08:00
考试任务发放的修改
This commit is contained in:
@@ -49,7 +49,7 @@ public class ExamUserTask extends IdBaseEntity{
|
|||||||
/**
|
/**
|
||||||
* 群组,受众id
|
* 群组,受众id
|
||||||
*/
|
*/
|
||||||
@Column(name = "group_id",nullable=false,length=20)
|
@Column(name = "group_id",nullable=false,length=36)
|
||||||
private String groupId;
|
private String groupId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ public class ExamUserTaskServiceImpl implements IExamUserTaskService{
|
|||||||
@Transactional
|
@Transactional
|
||||||
public void rePushTask(ExamTestDto task) {
|
public void rePushTask(ExamTestDto task) {
|
||||||
//执行推送,当前因为是固定人,所以这里直接添加处理,按受众添加到每个人中
|
//执行推送,当前因为是固定人,所以这里直接添加处理,按受众添加到每个人中
|
||||||
//查询受众的信息
|
//查询受众的信息,2022、11、30 这个的返回需要从接口获取人员信息,然后推送
|
||||||
List<UserGroupItem> items = ugroupDao.findList("groupId", task.getGroupId());
|
List<UserGroupItem> items = ugroupDao.findList("groupId", task.getGroupId());
|
||||||
if(items.size()>0) {
|
if(items.size()>0) {
|
||||||
//防止加入两条的问题,应该是先查询,再添加
|
//防止加入两条的问题,应该是先查询,再添加
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ public class UserGroupItem extends IdEntity {
|
|||||||
/**
|
/**
|
||||||
* 受众ID
|
* 受众ID
|
||||||
*/
|
*/
|
||||||
@Column(name = "group_Id", nullable = false, length = 20)
|
@Column(name = "group_Id", nullable = false, length = 36)
|
||||||
private String groupId;
|
private String groupId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user