|
@@ -12,7 +12,12 @@
|
|
|
ofType="cn.ezhizao.project.system.domain.SysFileStorage"
|
|
|
select="getReportFiles" column="id"/>
|
|
|
</resultMap>
|
|
|
+ <resultMap id="BaseResultMap2"
|
|
|
+ type="cn.ezhizao.project.business.socialSecurity.domain.BizSocialSecurityDeclareDetail">
|
|
|
+ <id column="id" jdbcType="BIGINT" property="id"/>
|
|
|
+ <result column="id" jdbcType="BIGINT" property="id"/>
|
|
|
|
|
|
+ </resultMap>
|
|
|
<resultMap type="cn.ezhizao.project.system.domain.SysFileStorage" id="FileStorageResult">
|
|
|
<id column="id" property="id"/>
|
|
|
</resultMap>
|
|
@@ -38,7 +43,9 @@
|
|
|
<select id="getList" resultMap="BaseResultMap">
|
|
|
<include refid="getListSql"/>
|
|
|
</select>
|
|
|
-
|
|
|
+ <select id="getList2" resultMap="BaseResultMap2">
|
|
|
+ <include refid="getListSql"/>
|
|
|
+ </select>
|
|
|
<!--带条件的List查询 数据总条数-->
|
|
|
<select id="getTotal" resultType="java.lang.Integer">
|
|
|
SELECT COUNT(1) FROM (<include refid="getListSql"/>) AS C
|