package com.yc.utils;
|
|
import java.io.Serializable;
|
import java.util.*;
|
|
|
/**
|
* Gt-grid返回的json对象
|
* @author 邓文峰
|
* 2010-2-23
|
* **/
|
public class GTJson implements Serializable{
|
private String action;
|
private PageInfo pageInfo;
|
private String panelAction;//面板动作
|
private String panelTable;//面板的表名
|
private String doccode;//面板的单号
|
private String masterCode;//10类型参数转换
|
private List<HashMap<String,String>> deletedRecords=new ArrayList<HashMap<String,String>>();
|
private List<HashMap<String,String>> insertedRecords=new ArrayList<HashMap<String,String>>();
|
private List<HashMap<String,String>> updatedRecords=new ArrayList<HashMap<String,String>>();
|
private List<HashMap<String,String>> panelRecords=new ArrayList<HashMap<String,String>>();
|
private List<HashMap<String,String>> vssRecords=new ArrayList<HashMap<String,String>>();//更新时用全匹配更新
|
private List<HashMap<String,String>> oARecords=new ArrayList<HashMap<String,String>>();//保存OA审核时把格线数据传回后台
|
private List<HashMap<String,String>> tranRecords=new ArrayList<HashMap<String,String>>();//确定时提交的数据
|
private List<HashMap<String,String>> emptyRecords=new ArrayList<HashMap<String,String>>();//空数据
|
private List<HashMap<String,String>> auditRecords=new ArrayList<HashMap<String,String>>();
|
|
//---------3表结构
|
private List<HashMap<String,String>> otherDeleteds=new ArrayList<HashMap<String,String>>();
|
private List<HashMap<String,String>> otherInserteds=new ArrayList<HashMap<String,String>>();
|
private List<HashMap<String,String>> otherUpdateds=new ArrayList<HashMap<String,String>>();
|
private List<HashMap<String,String>> otherVss=new ArrayList<HashMap<String,String>>();
|
private List<HashMap<String,String>> otherOA=new ArrayList<HashMap<String,String>>();
|
private String otherTable;//三表的表类型
|
private int otherFormid=0;//三表的功能号
|
private String otherKey;//关联表关键字
|
private List<HashMap<String,String>> otherTranRecords=new ArrayList<HashMap<String,String>>();//确定时提交的数据
|
private List<HashMap<String,String>> muilTranRecords=new ArrayList<HashMap<String,String>>();//多表确定时提交的数据
|
private String[] fieldsName;//字段显示列表,把它提交到数据库,避免用*号查询,性能较好
|
private String fields;//字段显示列表,作为淘宝接口的字段列表
|
//---------多表结构
|
private List<Panel> panels;//面板数据集合
|
private List<Grid> grids;//表格数据集合
|
private String gType;//表示当前页面是哪一个窗体类型,因为499类型是由多个功能号组成,所以需要通过这个来区分
|
private String formid;//499类型的主功能号
|
private String fl;//499类型返回参数
|
private String oa="";//审核,通过,驳回
|
private boolean cp;//复单标记
|
private String expr="";//权限控制
|
private String cudoc="";//自定义单号功能
|
private String otherColns="";//过滤列
|
private String colns="";//过滤列
|
private String token ="";//令牌
|
private String disableDuplicateSubmitUUID ="";//防止重复提交的唯一标记
|
private int aFlag=0;
|
private int isGantt=0;//是否为甘特图
|
private String[] rowids;//15类型 复单处理前台rowid更新不了的问题,传到这里再作进一步处理
|
private String btnId = "";
|
private int clickTran = 0;//直接点击确认触发
|
private int dcFlag = 0;//flag标记数据范围检查已通过
|
private String primeKey = "";//主键,用作更新,删除时候做where条件,匹配
|
private String otherPrimeKey = "";//15,77类型的第三表主键
|
private Map<String, String> refKeyMap = new HashMap<>();//保存多表中子功能号有关联
|
private int is497 = 0;//app保存多表中的子功能时是传16,1类型,需要返回rowid,后端需要知道是多表才能返回rowid
|
private String userName;
|
private int onlinePay = -1;//在线支付
|
private int onlineRefund = -1;//在线退款
|
private String tableName;
|
|
public String getTableName() {
|
return tableName;
|
}
|
|
public void setTableName(String tableName) {
|
this.tableName = tableName;
|
}
|
|
public int getOnlinePay() {
|
return onlinePay;
|
}
|
|
public void setOnlinePay(int onlinePay) {
|
this.onlinePay = onlinePay;
|
}
|
|
public int getOnlineRefund() {
|
return onlineRefund;
|
}
|
|
public void setOnlineRefund(int onlineRefund) {
|
this.onlineRefund = onlineRefund;
|
}
|
public String getUserName() {
|
return userName;
|
}
|
|
public void setUserName(String userName) {
|
this.userName = userName;
|
}
|
|
public int getIs497() {
|
return is497;
|
}
|
|
public void setIs497(int is497) {
|
this.is497 = is497;
|
}
|
|
public Map<String, String> getRefKeyMap() {
|
return refKeyMap;
|
}
|
|
public void setRefKeyMap(Map<String, String> refKeyMap) {
|
this.refKeyMap = refKeyMap;
|
}
|
|
public String getOtherPrimeKey() {
|
return otherPrimeKey;
|
}
|
public void setOtherPrimeKey(String otherPrimeKey) {
|
this.otherPrimeKey = otherPrimeKey;
|
}
|
public String getPrimeKey() {
|
return primeKey;
|
}
|
public void setPrimeKey(String primeKey) {
|
this.primeKey = primeKey;
|
}
|
public int getDcFlag() {
|
return dcFlag;
|
}
|
public void setDcFlag(int dcFlag) {
|
this.dcFlag = dcFlag;
|
}
|
public int getClickTran() {
|
return clickTran;
|
}
|
public void setClickTran(int clickTran) {
|
this.clickTran = clickTran;
|
}
|
public String getBtnId() {
|
return btnId;
|
}
|
public void setBtnId(String btnId) {
|
this.btnId = btnId;
|
}
|
public int getIsGantt() {
|
return isGantt;
|
}
|
public void setIsGantt(int isGantt) {
|
this.isGantt = isGantt;
|
}
|
//------treegrid增加需要处理的内容
|
private HashMap<String,String> IO;
|
private List<HashMap<String,String>> Changes;//数据保存处理
|
private List<HashMap<String,String>> otherChanges;//数据保存处理
|
//---把treegrid的格式转化为以前gtgrid的格式,兼容以前的代码
|
private String funlink="";//功能链接
|
private List<Map<String,Map<String,String>>> taobao=new ArrayList<Map<String,Map<String,String>>>();//taobao接口集合,以接口名称为key,应用级参数集合为值
|
private int tbtotal=0;//淘宝接口返回数据总数量
|
public int getTbtotal() {
|
return tbtotal;
|
}
|
public void setTbtotal(int tbtotal) {
|
this.tbtotal = tbtotal;
|
}
|
Map<String, String> env;
|
|
private String keyID;//接口主从表ID,用来处理当重复下载,需要根据这个ID来判断当前ERP是否已存在,以决定是用update,还是新增
|
private static String picMatch="^\\|/smallpic.*?"+JsonUtil.IMGRANG.replaceAll("\\|", "\\\\|")+"+?"; //去掉格式图片,因为这个不是真正的图片不需要保存到数据库
|
private static String picMatch_uuid="^\\|/getImage.*?"+JsonUtil.IMGRANG.replaceAll("\\|", "\\\\|")+"+?"; //去掉格式图片,因为这个不是真正的图片不需要保存到数据库
|
public List<HashMap<String, String>> getAuditRecords() {
|
return auditRecords;
|
}
|
public void setAuditRecords(List<HashMap<String, String>> auditRecords) {
|
this.auditRecords = auditRecords;
|
}
|
public String[] getRowids() {
|
return rowids;
|
}
|
public void setRowids(String[] rowids) {
|
this.rowids = rowids;
|
}
|
public String getKeyID() {
|
return keyID;
|
}
|
public void setKeyID(String keyID) {
|
this.keyID = keyID;
|
}
|
public Map<String, String> getEnv() {
|
return env;
|
}
|
public void setEnv(Map<String, String> env) {
|
this.env = env;
|
}
|
public List<Map<String, Map<String, String>>> getTaobao() {
|
return taobao;
|
}
|
public void setTaobao(List<Map<String, Map<String, String>>> taobao) {
|
this.taobao = taobao;
|
}
|
public String getFields() {
|
return fields;
|
}
|
public void setFields(String fields) {
|
this.fields = fields;
|
}
|
public String getFunlink() {
|
return funlink;
|
}
|
public void setFunlink(String funlink) {
|
this.funlink = funlink;
|
}
|
|
|
public String getMasterCode() {
|
return masterCode;
|
}
|
public void setMasterCode(String masterCode) {
|
this.masterCode = masterCode;
|
}
|
|
public List<HashMap<String, String>> getOtherOA() {
|
return otherOA;
|
}
|
|
public void setOtherOA(List<HashMap<String, String>> otherOA) {
|
this.otherOA = otherOA;
|
}
|
public String getDisableDuplicateSubmitUUID() {
|
return disableDuplicateSubmitUUID;
|
}
|
|
public void setDisableDuplicateSubmitUUID(String disableDuplicateSubmitUUID) {
|
this.disableDuplicateSubmitUUID = disableDuplicateSubmitUUID;
|
}
|
/**
|
* 装配只有格线窗体类型数据作为集合传过去
|
* @param action-表示当前操作是保存还是确定(save,tran)
|
* @param panelAction-指明面板数据当前是新增还是修改(add,update)--必填
|
* @param panelTable-指明面板当前所属的功能号和类型(格式:"formid;type")--必填
|
* @param doccode-单号(修改操作需要指定)
|
* @param masterCode-关键主字段,作为查询替换的字段
|
* @param insertedRecords--表示格线新增数据
|
|
* @param updatedRecords--表示格线修改数据
|
* @param panelRecords--表示面板数据(新增或修改)
|
*
|
*
|
* **/
|
public void create0(String action, String panelAction,String doccode,
|
List<HashMap<String, String>> insertedRecords,
|
List<HashMap<String, String>> updatedRecords,
|
String gType,
|
String formid
|
) {
|
this.action = action;
|
this.panelAction = panelAction;
|
this.panelTable = formid+";"+gType.split("\\|")[0];
|
this.doccode = doccode;
|
this.insertedRecords = insertedRecords;
|
this.updatedRecords = updatedRecords;
|
this.gType = gType;
|
this.formid = formid;
|
}
|
/**
|
* 装配只有面板窗体类型数据作为集合传过去
|
* @param action-表示当前操作是保存还是确定(save,tran)
|
* @param panelAction-指明面板数据当前是新增还是修改(add,update)--必填
|
* @param panelTable-指明面板当前所属的功能号和类型(格式:"formid;type")--必填
|
* @param doccode-单号(修改操作需要指定)
|
* @param masterCode-关键主字段,作为查询替换的字段
|
* @param insertedRecords--表示格线新增数据
|
* @param updatedRecords--表示格线修改数据
|
* @param panelRecords--表示面板数据(新增或修改)
|
*
|
*
|
* **/
|
public void create1(String action, String panelAction,String doccode,
|
List<HashMap<String, String>> panelRecords,
|
String gType,
|
String formid
|
) {
|
this.action = action;
|
this.panelAction = panelAction;
|
this.panelTable = formid+";"+gType.split("\\|")[0];
|
this.doccode = doccode;
|
this.panelRecords = panelRecords;
|
this.gType = gType;
|
this.formid = formid;
|
}
|
/**
|
* 装配双表(面板和格线)窗体类型数据作为集合传过去
|
* @param action-表示当前操作是保存还是确定(save,tran)
|
* @param panelAction-指明面板数据当前是新增还是修改(add,update)--必填
|
* @param panelTable-指明面板当前所属的功能号和类型(格式:"formid;type")--必填
|
* @param doccode-单号(修改操作需要指定)
|
* @param masterCode-关键主字段,作为查询替换的字段
|
* @param insertedRecords--表示格线新增数据
|
* @param updatedRecords--表示格线修改数据
|
* @param panelRecords--表示面板数据(新增或修改)
|
*
|
*
|
* **/
|
public void create2(String action, String panelAction,String doccode,
|
List<HashMap<String, String>> insertedRecords,
|
List<HashMap<String, String>> updatedRecords,
|
List<HashMap<String, String>> panelRecords,
|
String gType,
|
String formid
|
) {
|
this.action = action;
|
this.panelAction = panelAction;
|
this.panelTable = formid+";"+gType.split("\\|")[0];
|
this.panelRecords = panelRecords;
|
this.insertedRecords = insertedRecords;
|
this.doccode = doccode;
|
this.updatedRecords = updatedRecords;
|
this.gType = gType;
|
this.formid = formid;
|
}
|
|
/**
|
* 淘宝调用
|
* @param action
|
* @param panelAction
|
* @param doccode
|
* @param insertedRecords
|
* @param updatedRecords
|
* @param panelRecords
|
* @param gType
|
* @param formid
|
* @param conts
|
*/
|
public void create2taobao(String action, String panelAction,String doccode,
|
List<HashMap<String, String>> insertedRecords,
|
List<HashMap<String, String>> updatedRecords,
|
List<HashMap<String, String>> panelRecords,
|
String gType,
|
String formid,
|
String conts,
|
int total
|
) {
|
// this.action = action;
|
// this.panelAction = panelAction;
|
// this.panelTable = formid+";"+gType.split("\\|")[0];
|
this.panelRecords = panelRecords;
|
this.insertedRecords = insertedRecords;
|
// this.doccode = doccode;
|
this.updatedRecords = updatedRecords;
|
this.colns=conts;
|
this.tbtotal=total;
|
// this.gType = gType;
|
// this.formid = formid;
|
}
|
|
/**
|
* 装配3表类型数据作为集合传过去
|
* @param action-表示当前操作是保存还是确定(save,tran)
|
* @param panelAction-指明面板数据当前是新增还是修改(add,update)--必填
|
* @param panelTable-指明面板当前所属的功能号和类型(格式:"formid;type")--必填
|
* @param doccode-单号(修改操作需要指定)
|
* @param masterCode-关键主字段,作为查询替换的字段
|
* @param insertedRecords--表示格线新增数据
|
* @param updatedRecords--表示格线修改数据
|
* @param panelRecords--表示面板数据(新增或修改)
|
*
|
*
|
* **/
|
public void create3(
|
//--常规基础数据
|
String action, String panelAction, String doccode,
|
List<HashMap<String, String>> insertedRecords,
|
List<HashMap<String, String>> updatedRecords,
|
List<HashMap<String, String>> panelRecords,
|
|
//如果当前是3表结构 则需要把下面的的传进来,否则为null
|
List<HashMap<String, String>> otherInserteds,
|
List<HashMap<String, String>> otherUpdateds,
|
String otherTable, int otherFormid, String otherKey,
|
String otherColns,
|
//--3表 end
|
String gType,
|
String formid
|
) {
|
this.action = action;
|
this.panelAction = panelAction;
|
this.panelTable = formid+";"+gType.split("\\|")[0];
|
this.doccode = doccode;
|
this.insertedRecords = insertedRecords;
|
this.updatedRecords = updatedRecords;
|
this.panelRecords = panelRecords;
|
this.otherInserteds = otherInserteds;
|
this.otherUpdateds = otherUpdateds;
|
this.otherTable = otherTable;
|
this.otherFormid = otherFormid;
|
this.otherKey = otherKey;
|
this.gType = gType;
|
this.formid = formid;
|
}
|
/**
|
* 装配多表窗体类型数据作为集合传过去
|
* @param action-表示当前操作是保存还是确定(save,tran)
|
* @param panelAction-指明面板数据当前是新增还是修改(add,update)--必填
|
* @param panelTable-指明面板当前所属的功能号和类型(格式:"formid;type")--必填
|
* @param doccode-单号(修改操作需要指定)
|
* @param masterCode-关键主字段,作为查询替换的字段
|
* @param insertedRecords--表示格线新增数据
|
* @param updatedRecords--表示格线修改数据
|
* @param panelRecords--表示面板数据(新增或修改)
|
*
|
*
|
* **/
|
public void create4(
|
//--常规基础数据
|
String action, String panelAction, String panelTable, String doccode,
|
|
List<Panel> panels,
|
List<Grid> grids,
|
|
String gType,
|
String formid
|
) {
|
this.action = action;
|
this.panelAction = panelAction;
|
this.panelTable = panelTable;
|
this.doccode = doccode;
|
this.panels = panels;
|
this.grids = grids;
|
this.gType = gType;
|
this.formid = formid;
|
}
|
public void process(){
|
String delrowid="";//保存二表是新增且又删除的rowid,以便给第三表做关联删除用
|
if(Changes!=null&&Changes.size()>0){
|
int index=0;
|
for(HashMap<String,String> map:Changes){
|
if(isGantt==0) map.remove("id");
|
if(
|
("1".equalsIgnoreCase(map.get("Deleted"))||"true".equalsIgnoreCase(map.get("Deleted")))
|
&&(!"1".equalsIgnoreCase(map.get("Added"))&&!"true".equalsIgnoreCase(map.get("Added")))//当存在新增行又马上删除的情况,在这里需要做个判断
|
){
|
if(map.containsKey("G")) map.remove("G");//去掉甘特图的信息
|
deletedRecords.add(map);
|
continue;
|
}
|
if("1".equalsIgnoreCase(map.get("Added"))&&"1".equalsIgnoreCase(map.get("Deleted"))){
|
//新增且又马上删除的情况
|
if("15".equalsIgnoreCase(this.getgType())){
|
delrowid+=","+map.get("rowid");
|
}
|
}
|
if(
|
("1".equalsIgnoreCase(map.get("Added"))||"true".equalsIgnoreCase(map.get("Added")))
|
&&(!"1".equalsIgnoreCase(map.get("Deleted"))&&!"true".equalsIgnoreCase(map.get("Deleted")))
|
){
|
if(this.getCp()&&"15".equalsIgnoreCase(this.getgType())){//15类型且是复单情况处理rowid
|
if(rowids!=null) {
|
map.put("rowid", rowids[index]);
|
}
|
}
|
insertedRecords.add(map);
|
index++;
|
continue;
|
}
|
if("1".equalsIgnoreCase(map.get("Changed"))||"true".equalsIgnoreCase(map.get("Changed"))){
|
getChanged(map,updatedRecords,vssRecords);
|
continue;
|
}
|
if("1".equalsIgnoreCase(map.get("OAChanged"))||"true".equalsIgnoreCase(map.get("OAChanged"))){
|
oARecords.add(map);
|
continue;
|
}
|
if("1".equalsIgnoreCase(map.get("_YCAUDIT_"))||"true".equalsIgnoreCase(map.get("_YCAUDIT_"))){//处理审计数据
|
auditRecords.add(map);
|
continue;
|
}
|
|
}
|
}
|
if(otherChanges!=null&&otherChanges.size()>0){//三表结构
|
for(HashMap<String,String> map:otherChanges){
|
map.remove("id");
|
if(
|
//"1".equalsIgnoreCase(map.get("Deleted"))||"true".equalsIgnoreCase(map.get("Deleted"))
|
("1".equalsIgnoreCase(map.get("Deleted"))||"true".equalsIgnoreCase(map.get("Deleted")))
|
&&(!"1".equalsIgnoreCase(map.get("Added"))&&!"true".equalsIgnoreCase(map.get("Added")))
|
){
|
otherDeleteds.add(map);
|
continue;
|
}
|
if(
|
//"1".equalsIgnoreCase(map.get("Added"))||"true".equalsIgnoreCase(map.get("Added"))
|
("1".equalsIgnoreCase(map.get("Added"))||"true".equalsIgnoreCase(map.get("Added")))
|
&&(!"1".equalsIgnoreCase(map.get("Deleted"))&&!"true".equalsIgnoreCase(map.get("Deleted")))
|
){
|
if(delrowid.contains(","+map.get("rowid"))){
|
if(this.cp) continue;//复单时且当前行关联的第二表是删除,且这一行也就不需要增加写到后台
|
otherDeleteds.add(map);
|
}else
|
otherInserteds.add(map);
|
continue;
|
}
|
if("1".equalsIgnoreCase(map.get("Changed"))||"true".equalsIgnoreCase(map.get("Changed"))){
|
getChanged(map,otherUpdateds,otherVss);
|
continue;
|
}
|
if("1".equalsIgnoreCase(map.get("OAChanged"))||"true".equalsIgnoreCase(map.get("OAChanged"))){
|
otherOA.add(map);
|
continue;
|
}
|
if("1".equalsIgnoreCase(map.get("_YCAUDIT_"))||"true".equalsIgnoreCase(map.get("_YCAUDIT_"))){//处理审计数据
|
auditRecords.add(map);
|
continue;
|
}
|
}
|
}
|
}
|
public void getChanged(HashMap<String, String> map,List<HashMap<String,String>> upp,List<HashMap<String,String>> vss) {
|
HashMap<String,String> up=new HashMap<String,String>();
|
HashMap<String,String> vs=new HashMap<String,String>();
|
map.remove("Changed");
|
Iterator<Map.Entry<String,String>> iter = map.entrySet().iterator();
|
String flg="";
|
int ind=0;
|
boolean img=false;
|
while (iter.hasNext()) {
|
Map.Entry<String,String> entry =iter.next();
|
img=false;
|
String key = entry.getKey();
|
String value = entry.getValue();
|
if(key.lastIndexOf("Orig")<0&&!map.containsKey(key+"Orig")){
|
img=this.checkImg(value);
|
if(img) continue;
|
}else{
|
flg=key;
|
}
|
if(value!=null&&value!="") value=value.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
if(key.equalsIgnoreCase("_ConstWidth")) continue;
|
if(key.equalsIgnoreCase("id")){
|
if(value!=null&&value!="")
|
if(value.startsWith("AR")) continue;
|
|
}
|
if(key.lastIndexOf("Orig")>-1){//表示需要放在匹配里面
|
ind+=1;
|
// if(value!=null&&!"".equalsIgnoreCase(value)){
|
// img=this.checkImg(map.get(key.substring(0,key.length()-4)));//取得当是Orig时候,原值是不是就是图片的值,需要处理这种情况
|
// if(img) continue;
|
// }
|
if(value!=null&&!value.matches(picMatch_uuid)){//当前是上传,但不是图片,保留的只是显示值,而不是实际值需要去掉
|
|
vs.put(key.substring(0,key.length()-4), value);
|
|
}else{
|
flg=key.substring(0,key.length()-4);//保存在当前行中需要移除的值
|
|
}
|
String temp=map.get(key.substring(0,key.length()-4));//取新值
|
if(temp!=null&&temp!="") temp=temp.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");//去掉更新时候存在&的转义
|
if(!img)
|
up.put(key.substring(0,key.length()-4),temp );
|
}else{
|
if(flg.equalsIgnoreCase(key)){
|
continue;
|
}else
|
if(!vs.containsKey(key)) vs.put(key, value);
|
}
|
}
|
if((!img&&ind>0)){//(!img&&ind>0)是没有图片的情况,
|
upp.add(up);
|
vss.add(vs);
|
}
|
}
|
|
|
|
private boolean checkImg(String value) {
|
if(value==null) return false;
|
if(value.matches(picMatch_uuid)) //JsonUtil.IMGRANG
|
return true;
|
|
return false;
|
}
|
public int getaFlag() {
|
return aFlag;
|
}
|
|
|
|
public void setaFlag(int aFlag) {
|
this.aFlag = aFlag;
|
}
|
|
|
|
public List<HashMap<String, String>> getOtherChanges() {
|
return otherChanges;
|
}
|
|
|
|
public void setOtherChanges(List<HashMap<String, String>> otherChanges) {
|
this.otherChanges = otherChanges;
|
}
|
|
|
|
public HashMap<String, String> getIO() {
|
return IO;
|
}
|
|
|
|
public void setIO(HashMap<String, String> iO) {
|
IO = iO;
|
}
|
|
|
|
public List<HashMap<String, String>> getChanges() {
|
return Changes;
|
}
|
|
|
|
public void setChanges(List<HashMap<String, String>> changes) {
|
Changes = changes;
|
}
|
|
|
|
public String getToken() {
|
return token;
|
}
|
public void setToken(String token) {
|
this.token = token;
|
}
|
public String getOtherColns() {
|
return otherColns;
|
}
|
public void setOtherColns(String otherColns) {
|
this.otherColns = otherColns;
|
}
|
public String getColns() {
|
return colns;
|
}
|
public void setColns(String colns) {
|
this.colns = colns;
|
}
|
public String getCudoc() {
|
return cudoc;
|
}
|
public void setCudoc(String cudoc) {
|
this.cudoc = cudoc;
|
}
|
public String getExpr() {
|
return expr;
|
}
|
public void setExpr(String expr) {
|
this.expr = expr;
|
}
|
public boolean getCp() {
|
return cp;
|
}
|
public void setCp(boolean cp) {
|
this.cp = cp;
|
}
|
public String getOa() {
|
return oa;
|
}
|
public void setOa(String oa) {
|
this.oa = oa;
|
}
|
public String getFl() {
|
return fl;
|
}
|
public void setFl(String fl) {
|
this.fl = fl;
|
}
|
public List<HashMap<String, String>> getEmptyRecords() {
|
return emptyRecords;
|
}
|
public void setEmptyRecords(List<HashMap<String, String>> emptyRecords) {
|
this.emptyRecords = emptyRecords;
|
}
|
public String getFormid() {
|
return formid;
|
}
|
public void setFormid(String formid) {
|
this.formid = formid;
|
}
|
public List<HashMap<String, String>> getMuilTranRecords() {
|
return muilTranRecords;
|
}
|
public void setMuilTranRecords(List<HashMap<String, String>> muilTranRecords) {
|
this.muilTranRecords = muilTranRecords;
|
}
|
public String getgType() {
|
return gType;
|
}
|
public void setgType(String gType) {
|
this.gType = gType;
|
}
|
public List<Panel> getPanels() {
|
return panels;
|
}
|
public void setPanels(List<Panel> panels) {
|
this.panels = panels;
|
}
|
public List<Grid> getGrids() {
|
return grids;
|
}
|
public void setGrids(List<Grid> grids) {
|
this.grids = grids;
|
}
|
public String getOtherKey() {
|
return otherKey;
|
}
|
public void setOtherKey(String otherKey) {
|
this.otherKey = otherKey;
|
}
|
public int getOtherFormid() {
|
return otherFormid;
|
}
|
public void setOtherFormid(int otherFormid) {
|
this.otherFormid = otherFormid;
|
}
|
public List<HashMap<String, String>> getOtherDeleteds() {
|
return otherDeleteds;
|
}
|
public void setOtherDeleteds(List<HashMap<String, String>> otherDeleteds) {
|
this.otherDeleteds = otherDeleteds;
|
}
|
public List<HashMap<String, String>> getOtherInserteds() {
|
return otherInserteds;
|
}
|
public void setOtherInserteds(List<HashMap<String, String>> otherInserteds) {
|
this.otherInserteds = otherInserteds;
|
}
|
public List<HashMap<String, String>> getOtherUpdateds() {
|
return otherUpdateds;
|
}
|
public void setOtherUpdateds(List<HashMap<String, String>> otherUpdateds) {
|
this.otherUpdateds = otherUpdateds;
|
}
|
public List<HashMap<String, String>> getOtherVss() {
|
return otherVss;
|
}
|
public void setOtherVss(List<HashMap<String, String>> otherVss) {
|
this.otherVss = otherVss;
|
}
|
|
public String getOtherTable() {
|
return otherTable;
|
}
|
public void setOtherTable(String otherTable) {
|
this.otherTable = otherTable;
|
}
|
public List<HashMap<String, String>> getOtherTranRecords() {
|
return otherTranRecords;
|
}
|
public void setOtherTranRecords(List<HashMap<String, String>> otherTranRecords) {
|
this.otherTranRecords = otherTranRecords;
|
}
|
public String getDoccode() {
|
return doccode;
|
}
|
public void setDoccode(String doccode) {
|
this.doccode = doccode;
|
}
|
public String getPanelAction() {
|
return panelAction;
|
}
|
public void setPanelAction(String panelAction) {
|
this.panelAction = panelAction;
|
}
|
public String getPanelTable() {
|
return panelTable;
|
}
|
public void setPanelTable(String panelTable) {
|
this.panelTable = panelTable;
|
}
|
public List<HashMap<String, String>> getTranRecords() {
|
return tranRecords;
|
}
|
public void setTranRecords(List<HashMap<String, String>> tranRecords) {
|
this.tranRecords = tranRecords;
|
}
|
public List<HashMap<String, String>> getDeletedRecords() {
|
return deletedRecords;
|
}
|
public void setDeletedRecords(List<HashMap<String, String>> deletedRecords) {
|
this.deletedRecords = deletedRecords;
|
}
|
public List<HashMap<String, String>> getInsertedRecords() {
|
return insertedRecords;
|
}
|
public void setInsertedRecords(List<HashMap<String, String>> insertedRecords) {
|
this.insertedRecords = insertedRecords;
|
}
|
public List<HashMap<String, String>> getUpdatedRecords() {
|
return updatedRecords;
|
}
|
public void setUpdatedRecords(List<HashMap<String, String>> updatedRecords) {
|
this.updatedRecords = updatedRecords;
|
}
|
public List<HashMap<String, String>> getVssRecords() {
|
return vssRecords;
|
}
|
public void setVssRecords(List<HashMap<String, String>> vssRecords) {
|
this.vssRecords = vssRecords;
|
}
|
public String[] getFieldsName() {
|
return fieldsName;
|
}
|
public void setFieldsName(String[] fieldsName) {
|
this.fieldsName = fieldsName;
|
}
|
|
public String getAction() {
|
return action;
|
}
|
public void setAction(String action) {
|
this.action = action;
|
}
|
public PageInfo getPageInfo() {
|
return pageInfo;
|
}
|
public void setPageInfo(PageInfo pageInfo) {
|
this.pageInfo = pageInfo;
|
}
|
public List<HashMap<String, String>> getPanelRecords() {
|
return panelRecords;
|
}
|
public void setPanelRecords(List<HashMap<String, String>> panelRecords) {
|
this.panelRecords = panelRecords;
|
}
|
|
public List<HashMap<String, String>> getoARecords() {
|
return oARecords;
|
}
|
|
public void setoARecords(List<HashMap<String, String>> oARecords) {
|
this.oARecords = oARecords;
|
}
|
}
|