作者:Lora1201 | 来源:互联网 | 2024-10-13 19:30
记录项目中关于c标签的c:when,c:forEach,c:set的处理
c:choose和c:when条件判断
c:forEach遍历
c:set来进行累计
整段代码如下:
${index.count } |
${obj.departmentName } |
${daily.departmentStation } |
>${daily.personNumberLastMonth } |
>${daily.personNumberThisQuarter } |
>${daily.personTotalNumberRework } |
>${daily.personTodayNumberRework } |
>${daily.personTotalNumberWork } |
${daily.rateQuarter } |
${daily.lastMonthQuarter } |
${daily.departmentStation } |
>${daily.personNumberLastMonth } |
>${daily.personNumberThisQuarter } |
>${daily.personTotalNumberRework } |
>${daily.personTodayNumberRework } |
>${daily.personTotalNumberWork } |
${daily.rateQuarter } |
${daily.lastMonthQuarter } |
汇总数据 |
${lastMonthPersonTotal } |
${thisQuarterPersonTotal } |
${historyReturnWorkPersonTotal } |
${todayReturnWorkPersonTotal } |
${todayWorkPersonTotal } |
-- |
-- |
没有获取到相关数据,请重新指定查询条件 |