refuse apply

master
wangning 7 years ago
parent 59c1dfac8b
commit 0fe89dbde2

@ -19,7 +19,6 @@ public class AuditModify extends ClientModify {
private Date approve_time; private Date approve_time;
private String refuse_remark; private String refuse_remark;
public AuditModify(JSONObject account, String clientMoniker, Integer approve_result, String approver, Date approve_time) { public AuditModify(JSONObject account, String clientMoniker, Integer approve_result, String approver, Date approve_time) {
super(account, clientMoniker); super(account, clientMoniker);
this.approve_result = approve_result; this.approve_result = approve_result;
@ -35,17 +34,15 @@ public class AuditModify extends ClientModify {
@Override @Override
protected JSONObject getModifyResult() { protected JSONObject getModifyResult() {
JSONObject modify = new JSONObject(); JSONObject modify = new JSONObject();
modify.put("approve_result",approve_result); modify.put("approve_result", approve_result);
modify.put("approver",approver); modify.put("approver", approver);
modify.put("approve_time",approve_time); modify.put("approve_time", approve_time);
if(source!=null){ if (source != null) {
modify.put("source",source); modify.put("source", source);
}
if(open_status!=null){
modify.put("open_status",open_status);
} }
if(StringUtils.isNotEmpty(refuse_remark)){ modify.put("open_status", open_status);
modify.put("refuse_remark",refuse_remark); if (StringUtils.isNotEmpty(refuse_remark)) {
modify.put("refuse_remark", refuse_remark);
} }
return modify; return modify;
} }
@ -66,4 +63,3 @@ public class AuditModify extends ClientModify {
this.approve_result = approve_result; this.approve_result = approve_result;
} }
} }

Loading…
Cancel
Save