`
jxqc_job
  • 浏览: 529 次
社区版块
存档分类
最新评论
收藏列表
标题 标签 来源
birtDemo.rptdesign文件02 birtdemo.rptdesign文件02
<structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">recv_lead</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">2</property>
                        <property name="name">recv_time</property>
                        <property name="dataType">date-time</property>
                    </structure>
                    <structure>
                        <property name="position">3</property>
                        <property name="name">give_time</property>
                        <property name="dataType">date-time</property>
                    </structure>
                    <structure>
                        <property name="position">4</property>
                        <property name="name">class_no</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">5</property>
                        <property name="name">od_state</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">6</property>
                        <property name="name">notesCount</property>
                        <property name="dataType">integer</property>
                    </structure>
                </list-property>
            </structure>
            <property name="dataSource">defectScriptDatasource</property>
            <method name="open"><![CDATA[count = 0;
defectListBean = listBean;]]></method>
            <method name="fetch"><![CDATA[if(count < defectListBean.size()){
    row["recv_lead"] = defectListBean.get(count).getRecv_lead();
    row["recv_time"] = defectListBean.get(count).getRecv_time();
    row["give_time"] = defectListBean.get(count).getGive_time();
    row["class_no"] = defectListBean.get(count).getClass_no();
    if("2".equals(defectListBean.get(count).getOd_state())){
        row["od_state"] = "已完成";
    }
    row["notesCount"] = defectListBean.get(count).getNotesCount();
    if(null == defectListBean.get(count).getNotesCount()){
        row["notesCount"] = 0;
    }
    row["totalCount"] = defectListBean.get(count).getTotalCount();
    if(null == defectListBean.get(count).getTotalCount()){
        row["totalCount"] = 0;
    }
    row["undoneCount"] = defectListBean.get(count).getUndoneCount();
    if(null == defectListBean.get(count).getUndoneCount()){
        row["undoneCount"] = 0;
    }
    row["doneCount"] = defectListBean.get(count).getDoneCount();
    if(null == defectListBean.get(count).getDoneCount()){
        row["doneCount"] = 0;
    }
    row["doneRate"] = defectListBean.get(count).getDoneRate();
    if(null == defectListBean.get(count).getDoneRate()){
        row["doneRate"] = 100;
    }
    row["avgTime"] = defectListBean.get(count).getAvgTime();
    if(null == defectListBean.get(count).getAvgTime()){
        row["avgTime"] = 0;
    }
    row["remainDoneCount"] = defectListBean.get(count).getRemainDoneCount();
    if(null == defectListBean.get(count).getRemainDoneCount()){
        row["remainDoneCount"] = 0;
    }
    count++;
    return true;
}
return false;]]></method>
        </script-data-set>
    </data-sets>
Global site tag (gtag.js) - Google Analytics