| xmlversion="1.0"encoding="UTF-8"?>
   <mappernamespace="com.ld.ldstat.mapper.StatementEnteringMapper">
     <resultMapid="queryChartAllTwo"type="com.ld.ldstat.vo.StatementEnteringVO">
         <idproperty="id"jdbcType="BIGINT"column="sid">id>
         <resultproperty="theDate"jdbcType="DATE"column="the_date">result>
         <resultproperty="deptName"jdbcType="VARCHAR"column="dept_name">result>
         <resultproperty="deptId"jdbcType="BIGINT"column="dept_id">result>
         
         
         <collectionproperty="cashCar"javaType="java.util.List"ofType="com.ld.ldstat.entity.CashCar">
             <idproperty="id"jdbcType="BIGINT"column="cid">id>
             <resultproperty="parentId"jdbcType="BIGINT"column="c_parent_id"/>
             <resultproperty="projectName"jdbcType="VARCHAR"column="c_project_name"/>
             <resultproperty="ninetyWithin"jdbcType="INTEGER"column="ninety_within"/>
             <resultproperty="ninetyExcept"jdbcType="INTEGER"column="ninety_except"/>
             <resultproperty="cashCar"jdbcType="INTEGER"column="cash_car"/>
         collection>
         
         
         <collectionproperty="subtotalAll"ofType="com.ld.ldstat.entity.SubtotalAll">
             <idproperty="id"jdbcType="BIGINT"column="aid">id>
             <resultproperty="parentId"jdbcType="BIGINT"column="a_parent_id"/>
             <resultproperty="projectName"jdbcType="VARCHAR"column="a_project_name"/>
             <resultproperty="subtotalType"jdbcType="INTEGER"column="subtotal_type"/>
             <resultproperty="task"jdbcType="INTEGER"column="task"/>
             <resultproperty="theDay"jdbcType="INTEGER"column="the_day"/>
         collection>
     resultMap>
     <selectid="queruMapperPage"resultMap="queryChartAllTwo">
         SELECT
         se.id sid,se.the_date,se.dept_name,
         ca.id cid,ca.project_name c_project_name,ca.parent_id c_parent_id,ca.ninety_Within,ca.ninety_except,ca.cash_car,
         sa.id aid,sa.project_name a_project_name,sa.parent_id a_parent_id,sa.task,sa.the_day
         FROM
         statement_entering se
         LEFT JOIN cash_car ca on se.id = ca.parent_id
         LEFT JOIN subtotal_all sa on se.id = sa.parent_id
         
         
     select>
 mapper>
 |