This commit is contained in:
parent
60f028c086
commit
55fb959e49
|
@ -41,6 +41,9 @@ public class SysInterveneRecordVo implements Serializable {
|
|||
*/
|
||||
@ExcelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
@Translation(type = TransConstant.USER_ID_TO_NICKNAME)
|
||||
@AutoMapping(target = "userId")
|
||||
private Long userName;
|
||||
|
||||
/**
|
||||
* 严重度
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
CONCAT(DATE_FORMAT(ir.create_time, '%Y-%m-%d'), ' ', u.nick_name, '的干预') as `name`,
|
||||
ir.create_time as `time`,
|
||||
'intervene' as `type`,
|
||||
ir.annex
|
||||
ir.diagnose_annex as `annex`
|
||||
from sys_intervene_record ir
|
||||
left join sys_user u on u.user_id = ir.counselor_id
|
||||
where ir.user_id = #{userId}
|
||||
|
|
Loading…
Reference in New Issue