|
1
2
|
package com.huaheng.api.erp;
|
|
3
4
5
|
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.huaheng.api.erp.domain.InfoSerial;
|
|
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
import com.kingdee.bos.webapi.sdk.SaveParam;
/**
* erp数据格式
*/
public class ExtSaveParam<T> extends SaveParam<T> {
boolean IsDeleteEntry= true;
String SubSystemId= "";
boolean IsVerifyBaseDataField= false;
boolean IsEntryBatchFill= true;
boolean ValidateFlag= true;
boolean NumberSearch= true;
boolean IsAutoAdjustField= false;
String InterationFlags= "";
String IgnoreInterationFlag= "";
public ExtSaveParam(T data) {
super(data);
}
|
|
26
27
28
29
30
31
32
|
//
// @Override
// public String toJson() {
// Gson gson = new GsonBuilder().registerTypeAdapter(ExtSaveParam.class,new InfoSerial()).create();
// System.out.println(gson.toJson(this));
// return gson.toJson(this);
// }
|
|
33
|
}
|