Commit a196b705 by huangZW

111

parent 316cd204
...@@ -4,13 +4,13 @@ import java.io.Serializable; ...@@ -4,13 +4,13 @@ import java.io.Serializable;
import java.util.Date; import java.util.Date;
public class AuditDTO implements Serializable { public class AuditDTO implements Serializable {
private Integer auditId; private String auditId;
private Integer auditType; private Integer auditType;
private String commitName; private String commitName;
private Integer commitStaffId; private String commitStaffId;
private String commitStaffName; private String commitStaffName;
...@@ -20,6 +20,10 @@ public class AuditDTO implements Serializable { ...@@ -20,6 +20,10 @@ public class AuditDTO implements Serializable {
private String changeField; private String changeField;
private String oldValue;
private String newValue;
private Date commitTime; private Date commitTime;
private String enterpriseId; private String enterpriseId;
...@@ -30,18 +34,20 @@ public class AuditDTO implements Serializable { ...@@ -30,18 +34,20 @@ public class AuditDTO implements Serializable {
private String auditReason; private String auditReason;
private String oldValue; private Date createTime;
private String newValue; private Date updateTime;
private Integer statusFlag;
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
public Integer getAuditId() { public String getAuditId() {
return auditId; return auditId;
} }
public void setAuditId(Integer auditId) { public void setAuditId(String auditId) {
this.auditId = auditId; this.auditId = auditId == null ? null : auditId.trim();
} }
public Integer getAuditType() { public Integer getAuditType() {
...@@ -60,12 +66,12 @@ public class AuditDTO implements Serializable { ...@@ -60,12 +66,12 @@ public class AuditDTO implements Serializable {
this.commitName = commitName == null ? null : commitName.trim(); this.commitName = commitName == null ? null : commitName.trim();
} }
public Integer getCommitStaffId() { public String getCommitStaffId() {
return commitStaffId; return commitStaffId;
} }
public void setCommitStaffId(Integer commitStaffId) { public void setCommitStaffId(String commitStaffId) {
this.commitStaffId = commitStaffId; this.commitStaffId = commitStaffId == null ? null : commitStaffId.trim();
} }
public String getCommitStaffName() { public String getCommitStaffName() {
...@@ -100,6 +106,22 @@ public class AuditDTO implements Serializable { ...@@ -100,6 +106,22 @@ public class AuditDTO implements Serializable {
this.changeField = changeField == null ? null : changeField.trim(); 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() { public Date getCommitTime() {
return commitTime; return commitTime;
} }
...@@ -140,19 +162,27 @@ public class AuditDTO implements Serializable { ...@@ -140,19 +162,27 @@ public class AuditDTO implements Serializable {
this.auditReason = auditReason == null ? null : auditReason.trim(); this.auditReason = auditReason == null ? null : auditReason.trim();
} }
public String getOldValue() { public Date getCreateTime() {
return oldValue; return createTime;
} }
public void setOldValue(String oldValue) { public void setCreateTime(Date createTime) {
this.oldValue = oldValue == null ? null : oldValue.trim(); this.createTime = createTime;
} }
public String getNewValue() { public Date getUpdateTime() {
return newValue; return updateTime;
} }
public void setNewValue(String newValue) { public void setUpdateTime(Date updateTime) {
this.newValue = newValue == null ? null : newValue.trim(); 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{ ...@@ -41,7 +41,11 @@ public class AuditApiServiceImpl implements AuditApiService{
} }
@Override @Override
public void refuse(String auditId, String auditReason) { 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