zcr:数据信息统计表

This commit is contained in:
Kevin
2021-11-16 09:17:06 +08:00
parent 303640aa27
commit a5d0745aa0
32 changed files with 622 additions and 103 deletions
@@ -2,6 +2,11 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.adc.da.slrs.wgdCensusZ.dao.WgdAssocCostDao">
<sql id="pages">
<if test=" null != pageSize ">
LIMIT ${(page-1) * pageSize},${pageSize}
</if>
</sql>
<!-- 基础信息-->
<sql id="BaseInfo">
id,sc_name,ssc_name,wg_name,pay_standard,pay_reality,cost_outlay,annual_payment
@@ -35,14 +40,24 @@
</if>
</where>
</sql>
<select id="getTotal" resultType="java.lang.Integer">
select count(*) from wgd_assoc_cost
</select>
<select id="getQueryTotal" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost" resultType="java.lang.Integer">
select count(*) from wgd_assoc_cost
<include refid="Conditions"></include>
</select>
<!-- 查询所有-->
<select id="selectAll" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost">
select <include refid="BaseInfo"></include> from wgd_assoc_cost
<include refid="pages"></include>
</select>
<!-- 多条件查询-->
<select id="queryAll" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost">
select <include refid="BaseInfo"></include> from wgd_assoc_cost
<include refid="Conditions"></include>
<include refid="pages"></include>
</select>
<!-- 查询详情-->
<select id="selectOne" parameterType="java.lang.String" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost">