f952129e kangwei

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

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