if (null != caseList && 0 != caseList.size()) {
for (Iterator it = caseList.iterator(); it.hasNext();) {
int beginRow = ++r;
Object[] row = (Object[]) it.next();
requisitionTime=(Date) row[0];
businessTitle= (String) row[1];
problem=(String) row[2];
solution=(String) row[3];
addCellbyMerge(0,beginRow,0,r,ToDateString(requisitionTime),false,sheet);
addCellbyMerge(1,beginRow,1,r,businessTitle,false,sheet);
addCellbyMerge(2,beginRow,2,r,problem,false,sheet);
addCellbyMerge(3,beginRow,3,r,solution,false,sheet);
addCellbyMerge(4,beginRow,4,r,"",false,sheet);
}
}
Map map = null;
String businessTitle=null;
Timestamp requisitionTime=null;
String problem=null;
String solution=null;
if (null != caseList && 0 != caseList.size()) {
for (Iterator it = caseList.iterator(); it.hasNext();) {
int beginRow = ++r;
map = (Map) it.next();
businessTitle=(String)map.get("businessTitle");
requisitionTime=(Timestamp)map.get("requisitionTime");
problem=(String)map.get("problem");
solution=(String)map.get("solution");
addCellbyMerge(0,beginRow,0,r,ToDateString(requisitionTime),false,sheet);
addCellbyMerge(1,beginRow,1,r,businessTitle,false,sheet);
addCellbyMerge(2,beginRow,2,r,problem,false,sheet);
addCellbyMerge(3,beginRow,3,r,solution,false,sheet);
addCellbyMerge(4,beginRow,4,r,"",false,sheet);
}
}
StringBuffer hql = new StringBuffer("Select new Map(t.requisitionTime as requisitionTime," +
"t.businessTitle as businessTitle,t.problem as problem, r.solution as solution ) from BusinessInfo t ,MyProjectInfo p ,BusinessProcess r " +
"where t.id=r.businessId and r.processType='2' and p.projectId=t.projectId and p.clientId=" + clientId);
分享到:
相关推荐
2.内容:【提供操作视频】基于GPS+IMU的卡尔曼滤波融合定位算法仿真,其中惯导用来进行状态预测,GPS用来滤波矫正 3.用处:用于GPS+IMU的卡尔曼滤波融合定位算法算法编程学习 4.指向人群:本硕博等教研学习使用 5....
定义一个20*5的二维数组,用来存储某班级20位学员的5门课的成绩;这5门课 按存储顺序依次为:core C++,coreJava,Servlet,JSP和EJB。 (1)循环给二维数组的每一个元素赋0~100之间的随机整数。 (2)按照列表的...
如何将地图导出成dxf文件用来作为CAD底图共6页.pdf.zip
百万数据csv文件,用来做程序测试
用来生成robots.txt文件的Vuepress插件
用来脱口而出的100个精典句子
编写自定义函数max,用来求三个数的最大值(要求:数据的输入、输出在主函数中实现)。
类的静态数据成员的实际应用场景之一:用来统计该类对象存在的个数;并且如果在头文件中初始化静态变量将导致obj重复定义的错误,解决办法:将静态成员的初始化放到.cpp文件中
P2P终结者是由Net.Soft工作室开发的一套专门用来控制企业网络P2P下载流量的网络管理软件
深圳公路交通数据集,可以用来机器学习预测交通数据流量
我自己用来测试的功能文件
这个软件主要是用来制作GIF动画的,将静态图片转换为动态的
编写一个计算机程序用来计算一个文件的16位效验和。最快速的方法是用一个32位的整数来存放这个和。记住要处理进位(例如,超过16位的那些位),把它们加到效验和中。
python写的用来找到css中没有用到的代码片段,并删除
通达信指标公式源码均线粘合度及角度,量比粘合度,尺度主要是用来衡量角度的.doc
用java的Swing编写的一个简单的绘图软件,可以用来绘制简单的图形,还可以保存,复制,粘贴。虽然有点小Bug,但是用来当一个毕业设计绝对够格!
输入一组数据,xy值,用来拟合椭圆。只要改变输入数据,该代码就可以直接使用
用来做GUI设计,学会可以轻松上手。里面有很多实例,各个模块功能描述比较详细
词法分析器,用来显示输入字符分析,自己做的,很短,简单,容易懂
这个程序可以用来加法运算,程序运行后,用户只要将加数、被加数分别输入就会得到它们之和