LingGong 5 years ago
parent
commit
80e982a22a
34 changed files with 0 additions and 118 deletions
  1. 0 25
      src/main/resources/mapper/FormSample.xml
  2. 0 23
      src/main/resources/mapper/FormSampleCig.xml
  3. 0 70
      src/main/resources/mapper/Interfaces.xml
  4. 0 0
      src/main/resources/mapper/base/AdmissionsSource.xml
  5. 0 0
      src/main/resources/mapper/base/Article.xml
  6. 0 0
      src/main/resources/mapper/base/ArticleType.xml
  7. 0 0
      src/main/resources/mapper/base/Consultation.xml
  8. 0 0
      src/main/resources/mapper/base/ConsultationRoom.xml
  9. 0 0
      src/main/resources/mapper/base/Dept.xml
  10. 0 0
      src/main/resources/mapper/base/DictDetailMapper.xml
  11. 0 0
      src/main/resources/mapper/base/DictHeadMapper.xml
  12. 0 0
      src/main/resources/mapper/base/Employee.xml
  13. 0 0
      src/main/resources/mapper/base/Evaluate.xml
  14. 0 0
      src/main/resources/mapper/base/FormClient.xml
  15. 0 0
      src/main/resources/mapper/base/FormLogMessage.xml
  16. 0 0
      src/main/resources/mapper/base/Notice.xml
  17. 0 0
      src/main/resources/mapper/base/Org.xml
  18. 0 0
      src/main/resources/mapper/base/OrgPost.xml
  19. 0 0
      src/main/resources/mapper/base/OrgUrlResource.xml
  20. 0 0
      src/main/resources/mapper/base/Params.xml
  21. 0 0
      src/main/resources/mapper/base/ParamsDetail.xml
  22. 0 0
      src/main/resources/mapper/base/ParamsHead.xml
  23. 0 0
      src/main/resources/mapper/base/PersonMapper.xml
  24. 0 0
      src/main/resources/mapper/base/PriceBase.xml
  25. 0 0
      src/main/resources/mapper/base/PriceClient.xml
  26. 0 0
      src/main/resources/mapper/base/RegionalismMapper.xml
  27. 0 0
      src/main/resources/mapper/base/ResourceApp.xml
  28. 0 0
      src/main/resources/mapper/base/RoleExt.xml
  29. 0 0
      src/main/resources/mapper/base/RoleResource.xml
  30. 0 0
      src/main/resources/mapper/base/UrlResource.xml
  31. 0 0
      src/main/resources/mapper/base/User.xml
  32. 0 0
      src/main/resources/mapper/base/Video.xml
  33. 0 0
      src/main/resources/mapper/base/VideoType.xml
  34. 0 0
      src/main/resources/mapper/base/VoiceParam.xml

+ 0 - 25
src/main/resources/mapper/FormSample.xml

@@ -1,25 +0,0 @@
-<?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="FormSampleMapper" >
-
-
-  <select id="list" resultType="map" parameterType="map">
-    select a.client_code "clientCode",b.short_name "shortName",c.corp_name "corpName",d.corp_name "corpName",e.cnname "cname" from form_sample a
-    join v_b_client b on a.client_code=b.client_code
-    join t_b_corp c on b.county_code=c.corp_code
-    join t_b_corp d on b.market_code=d.corp_code
-    join t_b_employee e on b.manager_code=e.employee_code
-    <where>
-      <if test="countyCode != null">and a.COUNTY_CODE=#{countyCode}</if>
-    </where>
-  </select>
-
-  <delete id="delete" parameterType="map">
-    DELETE FROM FORM_SAMPLE
-    <where>
-      <if test="countyCode != null">and COUNTY_CODE=#{countyCode}</if>
-    </where>
-  </delete>
-
-
-</mapper>

+ 0 - 23
src/main/resources/mapper/FormSampleCig.xml

@@ -1,23 +0,0 @@
-<?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="FormSampleCigMapper" >
-
-
-  <select id="list" resultType="map" parameterType="map">
-   SELECT A.CIG_CODE "cigCode",B.CIG_NAME "cigName" FROM FORM_SAMPLE_CIG A
-  JOIN T_B_CIG_INFO B ON A.CIG_CODE=B.CIG_CODE
-    <where>
-      <if test="countyCode != null">and A.COUNTY_CODE=#{countyCode}</if>
-    </where>
-
-  </select>
-
-  <delete id="delete" parameterType="map">
-    DELETE FROM FORM_SAMPLE_CIG
-    <where>
-      <if test="countyCode != null">and COUNTY_CODE=#{countyCode}</if>
-    </where>
-  </delete>
-
-
-</mapper>

+ 0 - 70
src/main/resources/mapper/Interfaces.xml

@@ -1,70 +0,0 @@
-<?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="InterfacesMapper" >
-    <sql id="TableName">
-    hz_interfaces
-    </sql>
-
-    <sql id="Columns">
-    ID id,DEPT_ID deptId,INTERFACES_NAME interfacesName,INTERFACES_TYPE interfacesType,URL url,IS_USE 'use',DESCRIBES describes,ORG_ID orgId,ORDER_NUM orderNum
-    </sql>
-
-    <select id="list" resultType="am.lodge.platform.model.Interfaces" >
-        SELECT
-        <include refid="Columns"/>
-        FROM
-        <include refid="TableName"/>
-        <where>
-            <if test="id !=null">and id=#{id}  </if>
-            <if test="deptId !=null">and DEPT_ID=#{deptId}  </if>
-            <if test="interfacesName != null">and INTERFACES_NAME like CONCAT('%',#{interfacesName},'%') </if>
-        </where>
-    </select>
-
-    <select id="checkForName" resultType="int" parameterType="am.lodge.platform.model.Interfaces">
-        SELECT
-        COUNT(0)
-        FROM
-        <include refid="TableName"/>
-        <where>
-            <if test="id != null">  id<![CDATA[!= ]]>#{id}  </if>
-            <if test="interfacesName != null">AND INTERFACES_NAME=#{interfacesName}</if>
-            <if test="orgId != null">AND ORG_ID=#{orgId}</if>
-        </where>
-    </select>
-
-    <select id="listForPage" resultType="am.lodge.platform.model.Interfaces" >
-        SELECT
-                A.ID id,A.DEPT_ID deptId,A.INTERFACES_NAME interfacesName,A.INTERFACES_TYPE interfacesType,A.URL url,A.IS_USE 'use',
-                A.DESCRIBES describes,A.ORG_ID orgId,A.ORDER_NUM orderNum
-        FROM
-        hz_interfaces A
-        <where>
-            <if test="id !=null">AND A.ID=#{id} </if>
-            <if test="deptId !=null">AND A.DEPT_ID=#{deptId}  </if>
-            <if test="interfacesName != null">AND A.INTERFACES_NAME like CONCAT('%',#{interfacesName},'%') </if>
-            <if test="use !=null">AND A.IS_USE=#{use} </if>
-            <if test="orgId != null">AND A.ORG_ID=#{orgId}</if>
-        </where>
-        ORDER BY A.ORDER_NUM
-    </select>
-
-    <delete id="deleteByTypeId">
-        DELETE FROM
-        <include refid="TableName"/>
-        WHERE
-        DEPT_ID IN
-        <foreach collection="deptId.split(',')" index="index" item="deptId" open="(" separator="," close=")">
-            #{deptId}
-        </foreach>
-    </delete>
-
-    <delete id="deleteTypeId">
-        DELETE FROM
-        <include refid="TableName"/>
-        WHERE
-        DEPT_ID=#{deptId}
-    </delete>
-
-
-</mapper>

src/main/resources/mapper/AdmissionsSource.xml → src/main/resources/mapper/base/AdmissionsSource.xml


src/main/resources/mapper/Article.xml → src/main/resources/mapper/base/Article.xml


src/main/resources/mapper/ArticleType.xml → src/main/resources/mapper/base/ArticleType.xml


src/main/resources/mapper/Consultation.xml → src/main/resources/mapper/base/Consultation.xml


src/main/resources/mapper/ConsultationRoom.xml → src/main/resources/mapper/base/ConsultationRoom.xml


src/main/resources/mapper/Dept.xml → src/main/resources/mapper/base/Dept.xml


src/main/resources/mapper/DictDetailMapper.xml → src/main/resources/mapper/base/DictDetailMapper.xml


src/main/resources/mapper/DictHeadMapper.xml → src/main/resources/mapper/base/DictHeadMapper.xml


src/main/resources/mapper/Employee.xml → src/main/resources/mapper/base/Employee.xml


src/main/resources/mapper/Evaluate.xml → src/main/resources/mapper/base/Evaluate.xml


src/main/resources/mapper/FormClient.xml → src/main/resources/mapper/base/FormClient.xml


src/main/resources/mapper/FormLogMessage.xml → src/main/resources/mapper/base/FormLogMessage.xml


src/main/resources/mapper/Notice.xml → src/main/resources/mapper/base/Notice.xml


src/main/resources/mapper/Org.xml → src/main/resources/mapper/base/Org.xml


src/main/resources/mapper/OrgPost.xml → src/main/resources/mapper/base/OrgPost.xml


src/main/resources/mapper/OrgUrlResource.xml → src/main/resources/mapper/base/OrgUrlResource.xml


src/main/resources/mapper/Params.xml → src/main/resources/mapper/base/Params.xml


src/main/resources/mapper/ParamsDetail.xml → src/main/resources/mapper/base/ParamsDetail.xml


src/main/resources/mapper/ParamsHead.xml → src/main/resources/mapper/base/ParamsHead.xml


src/main/resources/mapper/PersonMapper.xml → src/main/resources/mapper/base/PersonMapper.xml


src/main/resources/mapper/PriceBase.xml → src/main/resources/mapper/base/PriceBase.xml


src/main/resources/mapper/PriceClient.xml → src/main/resources/mapper/base/PriceClient.xml


src/main/resources/mapper/RegionalismMapper.xml → src/main/resources/mapper/base/RegionalismMapper.xml


src/main/resources/mapper/ResourceApp.xml → src/main/resources/mapper/base/ResourceApp.xml


src/main/resources/mapper/RoleExt.xml → src/main/resources/mapper/base/RoleExt.xml


src/main/resources/mapper/RoleResource.xml → src/main/resources/mapper/base/RoleResource.xml


src/main/resources/mapper/UrlResource.xml → src/main/resources/mapper/base/UrlResource.xml


src/main/resources/mapper/User.xml → src/main/resources/mapper/base/User.xml


src/main/resources/mapper/Video.xml → src/main/resources/mapper/base/Video.xml


src/main/resources/mapper/VideoType.xml → src/main/resources/mapper/base/VideoType.xml


src/main/resources/mapper/VoiceParam.xml → src/main/resources/mapper/base/VoiceParam.xml