工单管理-字段类型修改
This commit is contained in:
@ -26,7 +26,7 @@ public class EmsTicket extends BaseEntity
|
|||||||
|
|
||||||
/** 提交用户ID */
|
/** 提交用户ID */
|
||||||
@Excel(name = "提交用户ID")
|
@Excel(name = "提交用户ID")
|
||||||
private String userId;
|
private Long userId;
|
||||||
|
|
||||||
/** 工单标题 */
|
/** 工单标题 */
|
||||||
@Excel(name = "工单标题")
|
@Excel(name = "工单标题")
|
||||||
@ -77,12 +77,12 @@ public class EmsTicket extends BaseEntity
|
|||||||
return ticketNo;
|
return ticketNo;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUserId(String userId)
|
public void setUserId(Long userId)
|
||||||
{
|
{
|
||||||
this.userId = userId;
|
this.userId = userId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getUserId()
|
public Long getUserId()
|
||||||
{
|
{
|
||||||
return userId;
|
return userId;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -143,7 +143,7 @@ public class EmsAlarmRecordsServiceImpl implements IEmsAlarmRecordsService
|
|||||||
emsTicket.setTicketNo(ticketNo);
|
emsTicket.setTicketNo(ticketNo);
|
||||||
emsTicket.setTitle("工单"+id.toString());
|
emsTicket.setTitle("工单"+id.toString());
|
||||||
emsTicket.setContent(emsAlarmRecords.getAlarmContent());
|
emsTicket.setContent(emsAlarmRecords.getAlarmContent());
|
||||||
emsTicket.setUserId(userId.toString());
|
emsTicket.setUserId(userId);
|
||||||
emsTicket.setWorkUserId(userId);
|
emsTicket.setWorkUserId(userId);
|
||||||
emsTicket.setCreateTime(DateUtils.getNowDate());
|
emsTicket.setCreateTime(DateUtils.getNowDate());
|
||||||
emsTicket.setCreateBy(user.getUserName());
|
emsTicket.setCreateBy(user.getUserName());
|
||||||
|
|||||||
Reference in New Issue
Block a user