Browse Source

'问题表结构调整'

master
daixiantong 4 years ago
parent
commit
4fa3c67e8e
2 changed files with 21 additions and 9 deletions
  1. +21
    -8
      src/main/java/com/taauav/admin/entity/TauvInspectQuestion.java
  2. +0
    -1
      src/main/java/com/taauav/admin/service/impl/TauvInspectFileServiceImpl.java

+ 21
- 8
src/main/java/com/taauav/admin/entity/TauvInspectQuestion.java View File

@@ -1,10 +1,13 @@
package com.taauav.admin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.taauav.common.domain.Entity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
* 问题管理对象 tauv_inspect_question
*
@@ -31,21 +34,26 @@ public class TauvInspectQuestion extends Entity {
*/
private String questionNo;
/**
* 问题类型ID
* 指派负责人
*/
private Integer questionId;
private Integer assignUser;
/**
* 处理人
* 指派负责人联系方式
*/
private Integer handlerUser;
private String assignContact;
/**
* 处理人联系方式
* 指派备注
*/
private String handlerContact;
private String assignNote;
/**
* 处理备注
* 指派时间
*/
private String handlerNote;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date assignTime;
/**
* 处理人
*/
private Integer handlerUser;
/**
* 处理反馈图片
*/
@@ -54,4 +62,9 @@ public class TauvInspectQuestion extends Entity {
* 处理结果
*/
private String handlerResult;
/**
* 处理完成时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date handlerTime;
}

+ 0
- 1
src/main/java/com/taauav/admin/service/impl/TauvInspectFileServiceImpl.java View File

@@ -1191,7 +1191,6 @@ public class TauvInspectFileServiceImpl extends BaseServiceImpl<TauvInspectFileM
question.setInspectDriverId(inspectDriver.getId());
question.setInspectFileId(item.getId());
question.setQuestionNo(createQuestionNo());
question.setQuestionId(item.getQuestionId());
question.setCreateUser(ShiroUtils.getAdminId());
question.setCreateTime(DateUtil.now());
inspectQuestionMapper.insert(question);

Loading…
Cancel
Save