Commit a196b705 by huangZW

111

parent 316cd204
......@@ -4,13 +4,13 @@ import java.io.Serializable;
import java.util.Date;
public class AuditDTO implements Serializable {
private Integer auditId;
private String auditId;
private Integer auditType;
private String commitName;
private Integer commitStaffId;
private String commitStaffId;
private String commitStaffName;
......@@ -20,6 +20,10 @@ public class AuditDTO implements Serializable {
private String changeField;
private String oldValue;
private String newValue;
private Date commitTime;
private String enterpriseId;
......@@ -30,18 +34,20 @@ public class AuditDTO implements Serializable {
private String auditReason;
private String oldValue;
private Date createTime;
private String newValue;
private Date updateTime;
private Integer statusFlag;
private static final long serialVersionUID = 1L;
public Integer getAuditId() {
public String getAuditId() {
return auditId;
}
public void setAuditId(Integer auditId) {
this.auditId = auditId;
public void setAuditId(String auditId) {
this.auditId = auditId == null ? null : auditId.trim();
}
public Integer getAuditType() {
......@@ -60,12 +66,12 @@ public class AuditDTO implements Serializable {
this.commitName = commitName == null ? null : commitName.trim();
}
public Integer getCommitStaffId() {
public String getCommitStaffId() {
return commitStaffId;
}
public void setCommitStaffId(Integer commitStaffId) {
this.commitStaffId = commitStaffId;
public void setCommitStaffId(String commitStaffId) {
this.commitStaffId = commitStaffId == null ? null : commitStaffId.trim();
}
public String getCommitStaffName() {
......@@ -100,6 +106,22 @@ public class AuditDTO implements Serializable {
this.changeField = changeField == null ? null : changeField.trim();
}
public String getOldValue() {
return oldValue;
}
public void setOldValue(String oldValue) {
this.oldValue = oldValue == null ? null : oldValue.trim();
}
public String getNewValue() {
return newValue;
}
public void setNewValue(String newValue) {
this.newValue = newValue == null ? null : newValue.trim();
}
public Date getCommitTime() {
return commitTime;
}
......@@ -140,19 +162,27 @@ public class AuditDTO implements Serializable {
this.auditReason = auditReason == null ? null : auditReason.trim();
}
public String getOldValue() {
return oldValue;
public Date getCreateTime() {
return createTime;
}
public void setOldValue(String oldValue) {
this.oldValue = oldValue == null ? null : oldValue.trim();
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getNewValue() {
return newValue;
public Date getUpdateTime() {
return updateTime;
}
public void setNewValue(String newValue) {
this.newValue = newValue == null ? null : newValue.trim();
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public Integer getStatusFlag() {
return statusFlag;
}
public void setStatusFlag(Integer statusFlag) {
this.statusFlag = statusFlag;
}
}
\ No newline at end of file
......@@ -41,7 +41,11 @@ public class AuditApiServiceImpl implements AuditApiService{
}
@Override
public void refuse(String auditId, String auditReason) {
// TODO Auto-generated method stub
TabHaobanAudit tab = new TabHaobanAudit();
tab.setAuditId(auditId);
tab.setAuditStatus(0);
tab.setUpdateTime(new Date());
tab.setAuditReason(auditReason);
auditMapper.updateByPrimaryKeySelective(tab);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment