f952129e kangwei

kangwei:考试任务,显示考试人员名称

1 个父辈 0bf1356c
......@@ -143,6 +143,7 @@ public class Paper {
@TableField(exist=false)
@ApiModelProperty(value = "扩展:考试人员")
@Dict(dictTable = "sys_user", dicCode="id", dicText = "realname")
private String userId;
@TableField(exist=false)
......
......@@ -5,7 +5,7 @@
<!-- 考试任务 -->
<select id="queryPaperTaskList" resultType="com.skua.modules.edu.entity.Paper">
select p.* ,t.status 'examStatus' from edu_paper p ,edu_paper_task t
select p.* ,t.status 'examStatus' ,t.user_id from edu_paper p ,edu_paper_task t
where p.id = t.paper_id and p.send_status =1
<if test="param.userId != null and param.userId !=''">
and t.user_id = #{param.userId}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!