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,bhgbl_gq,bhgbl_qt,
wddc_hj,wddc_glxj,wddc_gltj,wddc_glcj,wddc_glkj,wddc_glbj,wddc_jsxj,wddc_jsgj,wddc_jszj,wddc_jscj,wddc_gq,wddc_qt,
wddcbl_hj,wddcbl_glxj,wddcbl_gltj,wddcbl_glcj,wddcbl_glkj,wddcbl_glbj,wddcbl_jsxj,wddcbl_jsgj,wddcbl_jszj,wddcbl_jscj,wddcbl_gq,wddcbl_qt,
wkh_hj,wkh_glxj,wkh_gltj,wkh_glcj,wkh_glkj,wkh_glbj,wkh_jsxj,wkh_jsgj,wkh_jszj,wkh_jscj,wkh_gq,wkh_qt
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public List<KhshbRecViewModel> testList()
{
List<KhshbRecViewModel> khList = new List<KhshbRecViewModel>();
KhshbRecViewModel kh = new KhshbRecViewModel();
kh.ID=0;
kh.dqbm = "00102"; kh.dwbm = "000"; kh.dwmc = "asdfs"; kh.khnd = "2013"; kh.spdw = "全部";
kh.sy_hj=0;kh.sy_glxj=0;kh.sy_gltj=0;kh.sy_glcj=0;kh.sy_glkj=0;kh.sy_glbj=0;kh.sy_jsxj=0;kh.sy_jsgj=0;kh.sy_jszj=0;kh.sy_jscj=0;kh.sy_gq=0;kh.sy_qt=0;
kh.kh_hj = 0; kh.kh_glxj = 0; kh.kh_gltj = 0; kh.kh_glcj = 0; kh.kh_glkj = 0; kh.kh_glbj = 0; kh.kh_jsxj = 0; kh.kh_jsgj = 0; kh.kh_jszj = 0; kh.kh_jscj = 0; kh.kh_gq = 0; kh.kh_qt = 0;
kh.yx_hj = 0; kh.yx_glxj = 0; kh.yx_gltj = 0; kh.yx_glcj = 0; kh.yx_glkj = 0; kh.yx_glbj = 0; kh.yx_jsxj = 0; kh.yx_jsgj = 0; kh.yx_jszj = 0; kh.yx_jscj = 0; kh.yx_gq = 0; kh.yx_qt = 0;
kh.yxbl_hj = 0; kh.yxbl_glxj = 0; kh.yxbl_gltj = 0; kh.yxbl_glcj = 0; kh.yxbl_glkj = 0; kh.yxbl_glbj = 0; kh.yxbl_jsxj = 0; kh.yxbl_jsgj = 0; kh.yxbl_jszj = 0; kh.yxbl_jscj = 0; kh.yxbl_gq = 0; kh.yxbl_qt = 0;
kh.hg_hj = 0; kh.hg_glxj = 0; kh.hg_gltj = 0; kh.hg_glcj = 0; kh.hg_glkj = 0; kh.hg_glbj = 0; kh.hg_jsxj = 0; kh.hg_jsgj = 0; kh.hg_jszj = 0; kh.hg_jscj = 0; kh.hg_gq = 0; kh.hg_qt = 0;
kh.hgbl_hj = 0; kh.hgbl_glxj = 0; kh.hgbl_gltj = 0; kh.hgbl_glcj = 0; kh.hgbl_glkj = 0; kh.hgbl_glbj = 0; kh.hgbl_jsxj = 0; kh.hgbl_jsgj = 0; kh.hgbl_jszj = 0; kh.hgbl_jscj = 0; kh.hgbl_gq = 0; kh.hgbl_qt = 0;
kh.jbhg_hj = 0; kh.jbhg_glxj = 0; kh.jbhg_gltj = 0; kh.jbhg_glcj = 0; kh.jbhg_glkj = 0; kh.jbhg_glbj = 0; kh.jbhg_jsxj = 0; kh.jbhg_jsgj = 0; kh.jbhg_jszj = 0; kh.jbhg_jscj = 0; kh.jbhg_gq = 0; kh.jbhg_qt = 0;
kh.jbhgbl_hj = 0; kh.jbhgbl_glxj = 0; kh.jbhgbl_gltj = 0; kh.jbhgbl_glcj = 0; kh.jbhgbl_glkj = 0; kh.jbhgbl_glbj = 0; kh.jbhgbl_jsxj = 0; kh.jbhgbl_jsgj = 0; kh.jbhgbl_jszj = 0; kh.jbhgbl_jscj = 0; kh.jbhgbl_gq = 0; kh.jbhgbl_qt = 0;
kh.bhg_hj = 0; kh.bhg_glxj = 0; kh.bhg_gltj = 0; kh.bhg_glcj = 0; kh.bhg_glkj = 0; kh.bhg_glbj = 0; kh.bhg_jsxj = 0; kh.bhg_jsgj = 0; kh.bhg_jszj = 0; kh.bhg_jscj = 0; kh.bhg_gq = 0; kh.bhg_qt = 0;
kh.bhgbl_hj = 0; kh.bhgbl_glxj = 0; kh.bhgbl_gltj = 0; kh.bhgbl_glcj = 0; kh.bhgbl_glkj = 0; kh.bhgbl_glbj = 0; kh.bhgbl_jsxj = 0; kh.bhgbl_jsgj = 0; kh.bhgbl_jszj = 0; kh.bhgbl_jscj = 0; kh.bhgbl_gq = 0; kh.bhgbl_qt = 0;
kh.wddc_hj = 0; kh.wddc_glxj = 0; kh.wddc_gltj = 0; kh.wddc_glcj = 0; kh.wddc_glkj = 0; kh.wddc_glbj = 0; kh.wddc_jsxj = 0; kh.wddc_jsgj = 0; kh.wddc_jszj = 0; kh.wddc_jscj = 0; kh.wddc_gq = 0; kh.wddc_qt = 0;
kh.wddcbl_hj = 0; kh.wddcbl_glxj = 0; kh.wddcbl_gltj = 0; kh.wddcbl_glcj = 0; kh.wddcbl_glkj = 0; kh.wddcbl_glbj = 0; kh.wddcbl_jsxj = 0; kh.wddcbl_jsgj = 0; kh.wddcbl_jszj = 0; kh.wddcbl_jscj = 0; kh.wddcbl_gq = 0; kh.wddcbl_qt = 0;
kh.wkh_hj = 0; kh.wkh_glxj = 0; kh.wkh_gltj = 0; kh.wkh_glcj = 0; kh.wkh_glkj = 0; kh.wkh_glbj = 0; kh.wkh_jsxj = 0; kh.wkh_jsgj = 0; kh.wkh_jszj = 0; kh.wkh_jscj = 0; kh.wkh_gq = 0; kh.wkh_qt = 0;
khList.Add(kh);
return khList;
} |