zouxuan 5 years ago
parent
commit
926e44f483

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/TeacherSchoolDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.TeacherSchool;
+
+public interface TeacherSchoolDao extends BaseDAO<Long, TeacherSchool> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/VipGroupClassGroupMapperDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.VipGroupClassGroupMapper;
+
+public interface VipGroupClassGroupMapperDao extends BaseDAO<Long, VipGroupClassGroupMapper> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/VipGroupDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.VipGroup;
+
+public interface VipGroupDao extends BaseDAO<Long, VipGroup> {
+
+	
+}

+ 121 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/TeacherSchool.java

@@ -0,0 +1,121 @@
+package com.ym.mec.web.dal.entity;
+
+import io.swagger.annotations.ApiModelProperty;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(teacher_school):
+ */
+public class TeacherSchool {
+
+	/**  */
+	private Long id;
+	
+	/**  */
+	@ApiModelProperty(value = "用户编号",required = false)
+	private Integer userId;
+	
+	/** 省 */
+	@ApiModelProperty(value = "省份",required = false)
+	private String province;
+	
+	/** 市 */
+	@ApiModelProperty(value = "市",required = false)
+	private String city;
+	
+	/** 区 */
+	@ApiModelProperty(value = "区",required = false)
+	private String district;
+	
+	/** 地址 */
+	@ApiModelProperty(value = "地址",required = false)
+	private String address;
+	
+	/** 经纬度 */
+	@ApiModelProperty(value = "经纬度",required = false)
+	private String longitudeLatitude;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	public void setId(Long id){
+		this.id = id;
+	}
+	
+	public Long getId(){
+		return this.id;
+	}
+			
+	public void setUserId(Integer userId){
+		this.userId = userId;
+	}
+	
+	public Integer getUserId(){
+		return this.userId;
+	}
+			
+	public void setProvince(String province){
+		this.province = province;
+	}
+	
+	public String getProvince(){
+		return this.province;
+	}
+			
+	public void setCity(String city){
+		this.city = city;
+	}
+	
+	public String getCity(){
+		return this.city;
+	}
+			
+	public void setDistrict(String district){
+		this.district = district;
+	}
+	
+	public String getDistrict(){
+		return this.district;
+	}
+			
+	public void setAddress(String address){
+		this.address = address;
+	}
+	
+	public String getAddress(){
+		return this.address;
+	}
+			
+	public void setLongitudeLatitude(String longitudeLatitude){
+		this.longitudeLatitude = longitudeLatitude;
+	}
+	
+	public String getLongitudeLatitude(){
+		return this.longitudeLatitude;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 133 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/VipGroup.java

@@ -0,0 +1,133 @@
+package com.ym.mec.web.dal.entity;
+
+import io.swagger.annotations.ApiModelProperty;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(vip_group):
+ */
+public class VipGroup {
+
+	/**  */
+	private Long id;
+	
+	/**  */
+	@ApiModelProperty(value = "用户编号",required = false)
+	private Integer userId;
+	
+	/** 单节课时 */
+	@ApiModelProperty(value = "单节课时",required = false)
+	private Integer singleClassMinutes;
+	
+	/** 缴费截止时间 */
+	@ApiModelProperty(value = "缴费截止时间",required = false)
+	private java.util.Date paymentExpireDate;
+	
+	/** 课程结束日期 */
+	@ApiModelProperty(value = "课程结束日期",required = false)
+	private java.util.Date coursesExpireDate;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	/** 教学点 */
+	@ApiModelProperty(value = "教学点",required = false)
+	private Long teacherSchoolId;
+	
+	/** 线上课课时数 */
+	@ApiModelProperty(value = "线上课课时数",required = false)
+	private Integer onlineClassesNum;
+	
+	/** 线下课课时数 */
+	@ApiModelProperty(value = "线下课课时数",required = false)
+	private Integer offlineClassesNum;
+	
+	public void setId(Long id){
+		this.id = id;
+	}
+	
+	public Long getId(){
+		return this.id;
+	}
+			
+	public void setUserId(Integer userId){
+		this.userId = userId;
+	}
+	
+	public Integer getUserId(){
+		return this.userId;
+	}
+			
+	public void setSingleClassMinutes(Integer singleClassMinutes){
+		this.singleClassMinutes = singleClassMinutes;
+	}
+	
+	public Integer getSingleClassMinutes(){
+		return this.singleClassMinutes;
+	}
+			
+	public void setPaymentExpireDate(java.util.Date paymentExpireDate){
+		this.paymentExpireDate = paymentExpireDate;
+	}
+	
+	public java.util.Date getPaymentExpireDate(){
+		return this.paymentExpireDate;
+	}
+			
+	public void setCoursesExpireDate(java.util.Date coursesExpireDate){
+		this.coursesExpireDate = coursesExpireDate;
+	}
+	
+	public java.util.Date getCoursesExpireDate(){
+		return this.coursesExpireDate;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	public void setTeacherSchoolId(Long teacherSchoolId){
+		this.teacherSchoolId = teacherSchoolId;
+	}
+	
+	public Long getTeacherSchoolId(){
+		return this.teacherSchoolId;
+	}
+			
+	public void setOnlineClassesNum(Integer onlineClassesNum){
+		this.onlineClassesNum = onlineClassesNum;
+	}
+	
+	public Integer getOnlineClassesNum(){
+		return this.onlineClassesNum;
+	}
+			
+	public void setOfflineClassesNum(Integer offlineClassesNum){
+		this.offlineClassesNum = offlineClassesNum;
+	}
+	
+	public Integer getOfflineClassesNum(){
+		return this.offlineClassesNum;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 62 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/VipGroupClassGroupMapper.java

@@ -0,0 +1,62 @@
+package com.ym.mec.web.dal.entity;
+
+import io.swagger.annotations.ApiModelProperty;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(vip_group_class_group_mapper):
+ */
+public class VipGroupClassGroupMapper {
+
+	/**  */
+	private Long id;
+	
+	/**  */
+	@ApiModelProperty(value = "vip课编号",required = false)
+	private Long vipGroupId;
+	
+	/**  */
+	@ApiModelProperty(value = "班级编号编号",required = false)
+	private Integer classGroupId;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	public void setId(Long id){
+		this.id = id;
+	}
+	
+	public Long getId(){
+		return this.id;
+	}
+			
+	public void setVipGroupId(Long vipGroupId){
+		this.vipGroupId = vipGroupId;
+	}
+	
+	public Long getVipGroupId(){
+		return this.vipGroupId;
+	}
+			
+	public void setClassGroupId(Integer classGroupId){
+		this.classGroupId = classGroupId;
+	}
+	
+	public Integer getClassGroupId(){
+		return this.classGroupId;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/TeacherSchoolService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.TeacherSchool;
+
+public interface TeacherSchoolService extends BaseService<Long, TeacherSchool> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/VipGroupClassGroupMapperService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.VipGroupClassGroupMapper;
+
+public interface VipGroupClassGroupMapperService extends BaseService<Long, VipGroupClassGroupMapper> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/VipGroupService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.VipGroup;
+
+public interface VipGroupService extends BaseService<Long, VipGroup> {
+
+}

+ 22 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/TeacherSchoolServiceImpl.java

@@ -0,0 +1,22 @@
+package com.ym.mec.web.service.impl;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.TeacherSchoolDao;
+import com.ym.mec.web.dal.entity.TeacherSchool;
+import com.ym.mec.web.service.TeacherSchoolService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+@Service
+public class TeacherSchoolServiceImpl extends BaseServiceImpl<Long, TeacherSchool> implements TeacherSchoolService {
+	
+	@Autowired
+	private TeacherSchoolDao teacherSchoolDao;
+
+	@Override
+	public BaseDAO<Long, TeacherSchool> getDAO() {
+		return teacherSchoolDao;
+	}
+	
+}

+ 22 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/VipGroupClassGroupMapperServiceImpl.java

@@ -0,0 +1,22 @@
+package com.ym.mec.web.service.impl;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.VipGroupClassGroupMapperDao;
+import com.ym.mec.web.dal.entity.VipGroupClassGroupMapper;
+import com.ym.mec.web.service.VipGroupClassGroupMapperService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+@Service
+public class VipGroupClassGroupMapperServiceImpl extends BaseServiceImpl<Long, VipGroupClassGroupMapper> implements VipGroupClassGroupMapperService {
+	
+	@Autowired
+	private VipGroupClassGroupMapperDao vipGroupClassGroupMapperDao;
+
+	@Override
+	public BaseDAO<Long, VipGroupClassGroupMapper> getDAO() {
+		return vipGroupClassGroupMapperDao;
+	}
+	
+}

+ 22 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/VipGroupServiceImpl.java

@@ -0,0 +1,22 @@
+package com.ym.mec.web.service.impl;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.VipGroupDao;
+import com.ym.mec.web.dal.entity.VipGroup;
+import com.ym.mec.web.service.VipGroupService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+@Service
+public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> implements VipGroupService {
+	
+	@Autowired
+	private VipGroupDao vipGroupDao;
+
+	@Override
+	public BaseDAO<Long, VipGroup> getDAO() {
+		return vipGroupDao;
+	}
+	
+}

+ 88 - 0
mec-web/src/main/resources/config/mybatis/TeacherSchoolMapper.xml

@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<!--
+这个文件是自动生成的。
+不要修改此文件。所有改动将在下次重新自动生成时丢失。
+-->
+<mapper namespace="com.ym.mec.web.dal.dao.TeacherSchoolDao">
+
+    <resultMap type="com.ym.mec.web.dal.entity.TeacherSchool" id="TeacherSchool">
+        <result column="id_" property="id"/>
+        <result column="user_id_" property="userId"/>
+        <result column="province_" property="province"/>
+        <result column="city_" property="city"/>
+        <result column="district_" property="district"/>
+        <result column="address_" property="address"/>
+        <result column="longitude_latitude_" property="longitudeLatitude"/>
+        <result column="create_time_" property="createTime"/>
+        <result column="update_time_" property="updateTime"/>
+    </resultMap>
+
+    <!-- 根据主键查询一条记录 -->
+    <select id="get" resultMap="TeacherSchool">
+		SELECT * FROM teacher_school WHERE id_ = #{id} 
+	</select>
+
+    <!-- 全查询 -->
+    <select id="findAll" resultMap="TeacherSchool">
+		SELECT * FROM teacher_school ORDER BY id_
+	</select>
+
+    <!-- 向数据库增加一条记录 -->
+    <insert id="insert" parameterType="com.ym.mec.web.dal.entity.TeacherSchool" useGeneratedKeys="true" keyColumn="id"
+            keyProperty="id">
+        <!--
+        <selectKey resultClass="int" keyProperty="id" >
+        SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL
+        </selectKey>
+        -->
+        INSERT INTO teacher_school
+        (id_,user_id_,province_,city_,district_,address_,longitude_latitude_,create_time_,update_time_)
+        VALUES(#{id},#{userId},#{province},#{city},#{district},#{address},#{longitudeLatitude},now(),now())
+    </insert>
+
+    <!-- 根据主键查询一条记录 -->
+    <update id="update" parameterType="com.ym.mec.web.dal.entity.TeacherSchool">
+        UPDATE teacher_school
+        <set>
+            <if test="city != null">
+                city_ = #{city},
+            </if>
+            <if test="address != null">
+                address_ = #{address},
+            </if>
+            <if test="userId != null">
+                user_id_ = #{userId},
+            </if>
+            <if test="updateTime != null">
+                update_time_ = #{updateTime},
+            </if>
+            <if test="longitudeLatitude != null">
+                longitude_latitude_ = #{longitudeLatitude},
+            </if>
+            <if test="district != null">
+                district_ = #{district},
+            </if>
+            <if test="province != null">
+                province_ = #{province},
+            </if>
+        </set>
+        WHERE id_ = #{id}
+    </update>
+
+    <!-- 根据主键删除一条记录 -->
+    <delete id="delete">
+		DELETE FROM teacher_school WHERE id_ = #{id} 
+	</delete>
+
+    <!-- 分页查询 -->
+    <select id="queryPage" resultMap="TeacherSchool" parameterType="map">
+        SELECT * FROM teacher_school ORDER BY id_
+        <include refid="global.limit"/>
+    </select>
+
+    <!-- 查询当前表的总记录数 -->
+    <select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM teacher_school
+	</select>
+</mapper>

+ 70 - 0
mec-web/src/main/resources/config/mybatis/VipGroupClassGroupMapperMapper.xml

@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<!--
+这个文件是自动生成的。
+不要修改此文件。所有改动将在下次重新自动生成时丢失。
+-->
+<mapper namespace="com.ym.mec.web.dal.dao.VipGroupClassGroupMapperDao">
+
+    <resultMap type="com.ym.mec.web.dal.entity.VipGroupClassGroupMapper" id="VipGroupClassGroupMapper">
+        <result column="id_" property="id"/>
+        <result column="vip_group_id_" property="vipGroupId"/>
+        <result column="class_group_id_" property="classGroupId"/>
+        <result column="create_time_" property="createTime"/>
+    </resultMap>
+
+    <!-- 根据主键查询一条记录 -->
+    <select id="get" resultMap="VipGroupClassGroupMapper">
+		SELECT * FROM vip_group_class_group_mapper WHERE id_ = #{id} 
+	</select>
+
+    <!-- 全查询 -->
+    <select id="findAll" resultMap="VipGroupClassGroupMapper">
+		SELECT * FROM vip_group_class_group_mapper ORDER BY id_
+	</select>
+
+    <!-- 向数据库增加一条记录 -->
+    <insert id="insert" parameterType="com.ym.mec.web.dal.entity.VipGroupClassGroupMapper" useGeneratedKeys="true"
+            keyColumn="id" keyProperty="id">
+        <!--
+        <selectKey resultClass="int" keyProperty="id" >
+        SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL
+        </selectKey>
+        -->
+        INSERT INTO vip_group_class_group_mapper (id_,vip_group_id_,class_group_id_,create_time_)
+        VALUES(#{id},#{vipGroupId},#{classGroupId},now())
+    </insert>
+
+    <!-- 根据主键查询一条记录 -->
+    <update id="update" parameterType="com.ym.mec.web.dal.entity.VipGroupClassGroupMapper">
+        UPDATE vip_group_class_group_mapper
+        <set>
+            <if test="vipGroupId != null">
+                vip_group_id_ = #{vipGroupId},
+            </if>
+            <if test="id != null">
+                id_ = #{id},
+            </if>
+            <if test="classGroupId != null">
+                class_group_id_ = #{classGroupId},
+            </if>
+        </set>
+        WHERE id_ = #{id}
+    </update>
+
+    <!-- 根据主键删除一条记录 -->
+    <delete id="delete">
+		DELETE FROM vip_group_class_group_mapper WHERE id_ = #{id} 
+	</delete>
+
+    <!-- 分页查询 -->
+    <select id="queryPage" resultMap="VipGroupClassGroupMapper" parameterType="map">
+        SELECT * FROM vip_group_class_group_mapper ORDER BY id_
+        <include refid="global.limit"/>
+    </select>
+
+    <!-- 查询当前表的总记录数 -->
+    <select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM vip_group_class_group_mapper
+	</select>
+</mapper>

+ 92 - 0
mec-web/src/main/resources/config/mybatis/VipGroupMapper.xml

@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<!--
+这个文件是自动生成的。
+不要修改此文件。所有改动将在下次重新自动生成时丢失。
+-->
+<mapper namespace="com.ym.mec.web.dal.dao.VipGroupDao">
+
+    <resultMap type="com.ym.mec.web.dal.entity.VipGroup" id="VipGroup">
+        <result column="id_" property="id"/>
+        <result column="user_id_" property="userId"/>
+        <result column="single_class_minutes_" property="singleClassMinutes"/>
+        <result column="payment_expire_date_" property="paymentExpireDate"/>
+        <result column="courses_expire_date_" property="coursesExpireDate"/>
+        <result column="create_time_" property="createTime"/>
+        <result column="update_time_" property="updateTime"/>
+        <result column="teacher_school_id_" property="teacherSchoolId"/>
+        <result column="online_classes_num_" property="onlineClassesNum"/>
+        <result column="offline_classes_num_" property="offlineClassesNum"/>
+    </resultMap>
+
+    <!-- 根据主键查询一条记录 -->
+    <select id="get" resultMap="VipGroup">
+		SELECT * FROM vip_group WHERE id_ = #{id} 
+	</select>
+
+    <!-- 全查询 -->
+    <select id="findAll" resultMap="VipGroup">
+		SELECT * FROM vip_group ORDER BY id_
+	</select>
+
+    <!-- 向数据库增加一条记录 -->
+    <insert id="insert" parameterType="com.ym.mec.web.dal.entity.VipGroup" useGeneratedKeys="true" keyColumn="id"
+            keyProperty="id">
+        <!--
+        <selectKey resultClass="int" keyProperty="id" >
+        SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL
+        </selectKey>
+        -->
+        INSERT INTO vip_group
+        (id_,user_id_,single_class_minutes_,payment_expire_date_,courses_expire_date_,create_time_,update_time_,teacher_school_id_,online_classes_num_,offline_classes_num_)
+        VALUES(#{id},#{userId},#{singleClassMinutes},#{paymentExpireDate},#{coursesExpireDate},now(),now(),#{teacherSchoolId},#{onlineClassesNum},#{offlineClassesNum})
+    </insert>
+
+    <!-- 根据主键查询一条记录 -->
+    <update id="update" parameterType="com.ym.mec.web.dal.entity.VipGroup">
+        UPDATE vip_group
+        <set>
+            <if test="paymentExpireDate != null">
+                payment_expire_date_ = #{paymentExpireDate},
+            </if>
+            <if test="userId != null">
+                user_id_ = #{userId},
+            </if>
+            <if test="offlineClassesNum != null">
+                offline_classes_num_ = #{offlineClassesNum},
+            </if>
+            <if test="onlineClassesNum != null">
+                online_classes_num_ = #{onlineClassesNum},
+            </if>
+            <if test="updateTime != null">
+                update_time_ = #{updateTime},
+            </if>
+            <if test="singleClassMinutes != null">
+                single_class_minutes_ = #{singleClassMinutes},
+            </if>
+            <if test="teacherSchoolId != null">
+                teacher_school_id_ = #{teacherSchoolId},
+            </if>
+            <if test="coursesExpireDate != null">
+                courses_expire_date_ = #{coursesExpireDate},
+            </if>
+        </set>
+        WHERE id_ = #{id}
+    </update>
+
+    <!-- 根据主键删除一条记录 -->
+    <delete id="delete">
+		DELETE FROM vip_group WHERE id_ = #{id} 
+	</delete>
+
+    <!-- 分页查询 -->
+    <select id="queryPage" resultMap="VipGroup" parameterType="map">
+        SELECT * FROM vip_group ORDER BY id_
+        <include refid="global.limit"/>
+    </select>
+
+    <!-- 查询当前表的总记录数 -->
+    <select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM vip_group
+	</select>
+</mapper>