suochencheng 7 vuotta sitten
vanhempi
commit
36a1496a2f
100 muutettua tiedostoa jossa 2075 lisäystä ja 6 poistoa
  1. 33 0
      src/main/java/com/izouma/awesomeadmin/dao/CompanyInfoMapper.java
  2. 269 0
      src/main/java/com/izouma/awesomeadmin/dao/CompanyInfoMapper.xml
  3. 33 0
      src/main/java/com/izouma/awesomeadmin/dao/FacedInfoMapper.java
  4. 235 0
      src/main/java/com/izouma/awesomeadmin/dao/FacedInfoMapper.xml
  5. 77 0
      src/main/java/com/izouma/awesomeadmin/model/CompanyInfo.java
  6. 69 0
      src/main/java/com/izouma/awesomeadmin/model/FacedInfo.java
  7. 27 0
      src/main/java/com/izouma/awesomeadmin/service/CompanyInfoService.java
  8. 27 0
      src/main/java/com/izouma/awesomeadmin/service/FacedInfoService.java
  9. 137 0
      src/main/java/com/izouma/awesomeadmin/service/impl/CompanyInfoServiceImpl.java
  10. 137 0
      src/main/java/com/izouma/awesomeadmin/service/impl/FacedInfoServiceImpl.java
  11. 156 0
      src/main/java/com/izouma/awesomeadmin/web/CompanyInfoController.java
  12. 155 0
      src/main/java/com/izouma/awesomeadmin/web/FacedInfoController.java
  13. 82 0
      src/main/vue/src/pages/CompanyInfo.vue
  14. 271 0
      src/main/vue/src/pages/CompanyInfos.vue
  15. 76 0
      src/main/vue/src/pages/FacedInfo.vue
  16. 260 0
      src/main/vue/src/pages/FacedInfos.vue
  17. 4 4
      src/main/vue/src/pages/HousingDistricts.vue
  18. 26 1
      src/main/vue/src/router/index.js
  19. 1 1
      src/main/webapp/WEB-INF/html/admin.html
  20. 0 0
      src/main/webapp/static/js/17.700e6238bffce94bd57a.js
  21. 0 0
      src/main/webapp/static/js/17.700e6238bffce94bd57a.js.map
  22. 0 0
      src/main/webapp/static/js/17.f7e7938e900cf7a553d7.js
  23. 0 0
      src/main/webapp/static/js/17.f7e7938e900cf7a553d7.js.map
  24. 0 0
      src/main/webapp/static/js/18.90af47fa42cdc825e86a.js
  25. 0 0
      src/main/webapp/static/js/18.90af47fa42cdc825e86a.js.map
  26. 0 0
      src/main/webapp/static/js/19.3604f5d9b3ef9bdd423a.js
  27. 0 0
      src/main/webapp/static/js/19.3604f5d9b3ef9bdd423a.js.map
  28. 0 0
      src/main/webapp/static/js/19.4b7cd1e89f21ede11c19.js
  29. 0 0
      src/main/webapp/static/js/19.4b7cd1e89f21ede11c19.js.map
  30. 0 0
      src/main/webapp/static/js/20.ee73e98ff2287aef2ed5.js
  31. 0 0
      src/main/webapp/static/js/20.ee73e98ff2287aef2ed5.js.map
  32. 0 0
      src/main/webapp/static/js/21.a7157cafa7648d1ca1bf.js
  33. 0 0
      src/main/webapp/static/js/21.a7157cafa7648d1ca1bf.js.map
  34. 0 0
      src/main/webapp/static/js/22.51aa72b0bbeac83a2284.js
  35. 0 0
      src/main/webapp/static/js/22.51aa72b0bbeac83a2284.js.map
  36. 0 0
      src/main/webapp/static/js/23.fedbbcb28232ae49033b.js
  37. 0 0
      src/main/webapp/static/js/23.fedbbcb28232ae49033b.js.map
  38. 0 0
      src/main/webapp/static/js/24.031d7341e59ee1a41d41.js
  39. 0 0
      src/main/webapp/static/js/24.031d7341e59ee1a41d41.js.map
  40. 0 0
      src/main/webapp/static/js/25.ef1c4ad44602e4956793.js
  41. 0 0
      src/main/webapp/static/js/25.ef1c4ad44602e4956793.js.map
  42. 0 0
      src/main/webapp/static/js/26.41064d35e499b3011207.js
  43. 0 0
      src/main/webapp/static/js/26.41064d35e499b3011207.js.map
  44. 0 0
      src/main/webapp/static/js/27.a94e0b2ec721ef506317.js
  45. 0 0
      src/main/webapp/static/js/27.a94e0b2ec721ef506317.js.map
  46. 0 0
      src/main/webapp/static/js/28.f15e5260dd4b1da646e1.js
  47. 0 0
      src/main/webapp/static/js/28.f15e5260dd4b1da646e1.js.map
  48. 0 0
      src/main/webapp/static/js/29.a3af63792c1f4de4f924.js
  49. 0 0
      src/main/webapp/static/js/29.a3af63792c1f4de4f924.js.map
  50. 0 0
      src/main/webapp/static/js/29.b6330be4851ba5aeb801.js
  51. 0 0
      src/main/webapp/static/js/29.b6330be4851ba5aeb801.js.map
  52. 0 0
      src/main/webapp/static/js/30.6b14fba603a151edf9a8.js
  53. 0 0
      src/main/webapp/static/js/30.6b14fba603a151edf9a8.js.map
  54. 0 0
      src/main/webapp/static/js/31.6e4bb380be15c0db7996.js
  55. 0 0
      src/main/webapp/static/js/31.6e4bb380be15c0db7996.js.map
  56. 0 0
      src/main/webapp/static/js/32.529e82ae9095b5f777df.js
  57. 0 0
      src/main/webapp/static/js/32.529e82ae9095b5f777df.js.map
  58. 0 0
      src/main/webapp/static/js/33.dac658bb9e1d2704a193.js
  59. 0 0
      src/main/webapp/static/js/33.dac658bb9e1d2704a193.js.map
  60. 0 0
      src/main/webapp/static/js/34.2e4d56d3336b48bfa4e3.js
  61. 0 0
      src/main/webapp/static/js/34.2e4d56d3336b48bfa4e3.js.map
  62. 0 0
      src/main/webapp/static/js/35.7e4d1e441756c019e605.js
  63. 0 0
      src/main/webapp/static/js/35.7e4d1e441756c019e605.js.map
  64. 0 0
      src/main/webapp/static/js/36.f24c5b0399a341f575eb.js
  65. 0 0
      src/main/webapp/static/js/36.f24c5b0399a341f575eb.js.map
  66. 0 0
      src/main/webapp/static/js/37.419e82eb115196b211f9.js
  67. 0 0
      src/main/webapp/static/js/37.419e82eb115196b211f9.js.map
  68. 0 0
      src/main/webapp/static/js/37.f5adac9871673d4a3755.js
  69. 0 0
      src/main/webapp/static/js/37.f5adac9871673d4a3755.js.map
  70. 0 0
      src/main/webapp/static/js/38.16fb341308bc6ccf8887.js
  71. 0 0
      src/main/webapp/static/js/38.16fb341308bc6ccf8887.js.map
  72. 0 0
      src/main/webapp/static/js/39.f401d07862e445fae537.js
  73. 0 0
      src/main/webapp/static/js/39.f401d07862e445fae537.js.map
  74. 0 0
      src/main/webapp/static/js/40.a4fc627c72d79143a551.js
  75. 0 0
      src/main/webapp/static/js/40.a4fc627c72d79143a551.js.map
  76. 0 0
      src/main/webapp/static/js/41.ab13112a07d0e6c17911.js
  77. 0 0
      src/main/webapp/static/js/41.ab13112a07d0e6c17911.js.map
  78. 0 0
      src/main/webapp/static/js/42.8429997f89a52fab342f.js.map
  79. 0 0
      src/main/webapp/static/js/42.9e17e0a330080021695f.js
  80. 0 0
      src/main/webapp/static/js/42.9e17e0a330080021695f.js.map
  81. 0 0
      src/main/webapp/static/js/43.4ec9410352e656c59eef.js
  82. 0 0
      src/main/webapp/static/js/43.4ec9410352e656c59eef.js.map
  83. 0 0
      src/main/webapp/static/js/44.f2fb84a47485efd97a63.js
  84. 0 0
      src/main/webapp/static/js/44.f2fb84a47485efd97a63.js.map
  85. 0 0
      src/main/webapp/static/js/45.e1a5c61a03fecff1d387.js
  86. 0 0
      src/main/webapp/static/js/45.e1a5c61a03fecff1d387.js.map
  87. 0 0
      src/main/webapp/static/js/46.7c955432d98e56628cd8.js
  88. 0 0
      src/main/webapp/static/js/46.7c955432d98e56628cd8.js.map
  89. 0 0
      src/main/webapp/static/js/47.832f7677e8366b10eb82.js
  90. 0 0
      src/main/webapp/static/js/47.832f7677e8366b10eb82.js.map
  91. 0 0
      src/main/webapp/static/js/48.97a83329924313b52fe0.js
  92. 0 0
      src/main/webapp/static/js/48.97a83329924313b52fe0.js.map
  93. 0 0
      src/main/webapp/static/js/49.f124e9c019cee95b2a37.js
  94. 0 0
      src/main/webapp/static/js/49.f124e9c019cee95b2a37.js.map
  95. 0 0
      src/main/webapp/static/js/50.ee342f5fb55ee52f836e.js
  96. 0 0
      src/main/webapp/static/js/50.ee342f5fb55ee52f836e.js.map
  97. 0 0
      src/main/webapp/static/js/51.7be381798089c56ea170.js
  98. 0 0
      src/main/webapp/static/js/51.7be381798089c56ea170.js.map
  99. 0 0
      src/main/webapp/static/js/52.2c696bc280c1b5c4a5e7.js
  100. 0 0
      src/main/webapp/static/js/52.2c696bc280c1b5c4a5e7.js.map

+ 33 - 0
src/main/java/com/izouma/awesomeadmin/dao/CompanyInfoMapper.java

@@ -0,0 +1,33 @@
+package com.izouma.awesomeadmin.dao;
+
+import java.util.*;
+import com.izouma.awesomeadmin.datasource.DataSource;
+import org.springframework.stereotype.Repository;
+import com.izouma.awesomeadmin.model.CompanyInfo;
+
+
+/**
+*  Dao接口
+*/
+@Repository("com.zoumaframe.dao.CompanyInfoMapper")
+public interface CompanyInfoMapper{
+
+    int deleteByPrimaryKey(Integer id);
+
+    int insertSelective(CompanyInfo record);
+
+    CompanyInfo selectByPrimaryKey(Integer id);
+
+    int updateByPrimaryKeySelective(CompanyInfo record);
+
+    List<CompanyInfo> queryAllCompanyInfo(CompanyInfo record);
+
+    List<CompanyInfo> queryCompanyInfoByPage(Map<String, Object> parameter);
+
+    int delete(String id);
+
+    CompanyInfo queryCompanyInfo(CompanyInfo record);
+
+    List<CompanyInfo> query(CompanyInfo record);
+}
+

+ 269 - 0
src/main/java/com/izouma/awesomeadmin/dao/CompanyInfoMapper.xml

@@ -0,0 +1,269 @@
+<?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.izouma.awesomeadmin.dao.CompanyInfoMapper">
+    <resultMap id="BaseResultMap" type="com.izouma.awesomeadmin.model.CompanyInfo">
+        <id column="id" property="id" jdbcType="INTEGER"/>
+        <result column="del_flag" property="delFlag" jdbcType="CHAR"/>
+        <result column="title" property="title" jdbcType="VARCHAR"/>
+        <result column="remark" property="remark" jdbcType="VARCHAR"/>
+        <result column="rank" property="rank" jdbcType="INTEGER"/>
+    </resultMap>
+    <sql id="Base_Column_List">
+        <trim suffixOverrides=",">
+            id,
+
+            del_flag,
+
+            title,
+
+            remark,
+
+            rank,
+
+        </trim>
+    </sql>
+    <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer">
+        select
+        <include refid="Base_Column_List"/>
+        from company_info
+        where id = #{id,jdbcType=INTEGER}
+    </select>
+    <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+        delete from company_info
+        where id = #{id,jdbcType=INTEGER}
+    </delete>
+    <insert id="insertSelective" parameterType="com.izouma.awesomeadmin.model.CompanyInfo" useGeneratedKeys="true"
+            keyProperty="id">
+        insert into company_info
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id!= null">
+                id,
+            </if>
+            <if test="delFlag!= null">
+                del_flag,
+            </if>
+            <if test="title!= null">
+                title,
+            </if>
+            <if test="remark!= null">
+                remark,
+            </if>
+            <if test="rank!= null">
+                rank,
+            </if>
+        </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">
+                #{id,jdbcType=INTEGER},
+            </if>
+            <if test="delFlag != null">
+                #{delFlag,jdbcType=CHAR},
+            </if>
+            <if test="title != null">
+                #{title,jdbcType=VARCHAR},
+            </if>
+            <if test="remark != null">
+                #{remark,jdbcType=VARCHAR},
+            </if>
+            <if test="rank != null">
+                #{rank,jdbcType=INTEGER},
+            </if>
+        </trim>
+    </insert>
+    <update id="updateByPrimaryKeySelective" parameterType="com.izouma.awesomeadmin.model.CompanyInfo">
+        update company_info
+        <set>
+            <if test="id != null">
+                id= #{id,jdbcType=INTEGER},
+            </if>
+            <if test="delFlag != null">
+                del_flag= #{delFlag,jdbcType=CHAR},
+            </if>
+            <if test="title != null">
+                title= #{title,jdbcType=VARCHAR},
+            </if>
+            <if test="remark != null">
+                remark= #{remark,jdbcType=VARCHAR},
+            </if>
+            <if test="rank != null">
+                rank= #{rank,jdbcType=INTEGER},
+            </if>
+        </set>
+        where id = #{id,jdbcType=INTEGER}
+    </update>
+    <select id="queryCompanyInfoByPage" parameterType="java.util.Map"
+            resultType="com.izouma.awesomeadmin.model.CompanyInfo">
+        select
+        <include refid="Base_Column_List"/>
+        from company_info
+        <where>
+            and del_flag = 'N'
+            <if test="record.id != null and !&quot;&quot;.equals(record.id)">
+                and id = #{record.id}
+            </if>
+            <if test="record.delFlag != null and !&quot;&quot;.equals(record.delFlag)">
+                and del_flag = #{record.delFlag}
+            </if>
+            <if test="record.title != null and !&quot;&quot;.equals(record.title)">
+                and title = #{record.title}
+            </if>
+            <if test="record.remark != null and !&quot;&quot;.equals(record.remark)">
+                and remark = #{record.remark}
+            </if>
+            <if test="record.rank != null and !&quot;&quot;.equals(record.rank)">
+                and rank = #{record.rank}
+            </if>
+            <if test="record.searchKey != null and !&quot;&quot;.equals(record.searchKey)">
+                <trim prefix="and (" suffix=")" prefixOverrides="OR">
+                    OR title LIKE concat('%',#{record.searchKey},'%')
+                    OR remark LIKE concat('%',#{record.searchKey},'%')
+                    OR rank LIKE concat('%',#{record.searchKey},'%')
+                </trim>
+            </if>
+
+            <if test="record.advancedQuery != null and !&quot;&quot;.equals(record.advancedQuery)">
+                <foreach item="item" index="index" collection="record.advancedQuery.split('_;')">
+                    <choose>
+                        <when test="item.indexOf('like') != -1">
+                            <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
+                                <if test="detailIndex == 3">
+                                    concat('%',#{itemDetail},'%')
+                                </if>
+
+                                <if test="detailIndex &lt; 3">
+                                    ${itemDetail}
+                                </if>
+
+                            </foreach>
+                        </when>
+                        <otherwise>
+                            <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
+                                <if test="detailIndex == 3">
+                                    #{itemDetail}
+                                </if>
+
+                                <if test="detailIndex &lt; 3">
+                                    ${itemDetail}
+                                </if>
+
+                            </foreach>
+                        </otherwise>
+                    </choose>
+
+
+                </foreach>
+
+
+            </if>
+
+        </where>
+        order by rank desc,id desc
+    </select>
+    <select id="queryAllCompanyInfo" parameterType="java.util.Map"
+            resultType="com.izouma.awesomeadmin.model.CompanyInfo">
+        select
+        <include refid="Base_Column_List"/>
+        from company_info
+        <where>
+            and del_flag = 'N'
+            <if test="id != null and !&quot;&quot;.equals(id)">
+                and id = #{id}
+            </if>
+            <if test="delFlag != null and !&quot;&quot;.equals(delFlag)">
+                and del_flag = #{delFlag}
+            </if>
+            <if test="title != null and !&quot;&quot;.equals(title)">
+                and title = #{title}
+            </if>
+            <if test="remark != null and !&quot;&quot;.equals(remark)">
+                and remark = #{remark}
+            </if>
+            <if test="rank != null and !&quot;&quot;.equals(rank)">
+                and rank = #{rank}
+            </if>
+            <if test="searchKey != null and !&quot;&quot;.equals(searchKey)">
+                <trim prefix="and (" suffix=")" prefixOverrides="OR">
+                    OR title LIKE concat('%',#{searchKey},'%')
+                    OR remark LIKE concat('%',#{searchKey},'%')
+                    OR rank LIKE concat('%',#{searchKey},'%')
+                </trim>
+            </if>
+            <if test="advancedQuery != null and !&quot;&quot;.equals(advancedQuery)">
+                <foreach item="item" index="index" collection="advancedQuery.split('_;')">
+                    <choose>
+                        <when test="item.indexOf('like') != -1">
+                            <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
+                                <if test="detailIndex == 3">
+                                    concat('%',#{itemDetail},'%')
+                                </if>
+
+                                <if test="detailIndex &lt; 3">
+                                    ${itemDetail}
+                                </if>
+
+                            </foreach>
+                        </when>
+                        <otherwise>
+                            <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
+                                <if test="detailIndex == 3">
+                                    #{itemDetail}
+                                </if>
+
+                                <if test="detailIndex &lt; 3">
+                                    ${itemDetail}
+                                </if>
+
+                            </foreach>
+                        </otherwise>
+                    </choose>
+
+
+                </foreach>
+
+
+            </if>
+        </where>
+        order by rank desc, id desc
+    </select>
+    <select id="queryCompanyInfo" parameterType="java.util.Map" resultType="com.izouma.awesomeadmin.model.CompanyInfo">
+        select
+        <include refid="Base_Column_List"/>
+        from company_info
+        <where>
+            and del_flag = 'N'
+            <if test="id != null and !&quot;&quot;.equals(id)">
+                and id = #{id}
+            </if>
+            <if test="delFlag != null and !&quot;&quot;.equals(delFlag)">
+                and del_flag = #{delFlag}
+            </if>
+            <if test="title != null and !&quot;&quot;.equals(title)">
+                and title = #{title}
+            </if>
+            <if test="remark != null and !&quot;&quot;.equals(remark)">
+                and remark = #{remark}
+            </if>
+            <if test="rank != null and !&quot;&quot;.equals(rank)">
+                and rank = #{rank}
+            </if>
+
+        </where>
+        LIMIT 1
+    </select>
+    <update id="delete">
+        UPDATE company_info SET del_flag = 'Y'
+        <where>
+            AND id = #{id}
+        </where>
+    </update>
+    <select id="query" parameterType="java.util.Map" resultType="com.izouma.awesomeadmin.model.CompanyInfo">
+        select
+        <include refid="Base_Column_List"/>
+        from company_info
+        <where>
+            and del_flag = 'N'
+        </where>
+        order by id desc
+    </select>
+</mapper>
+

+ 33 - 0
src/main/java/com/izouma/awesomeadmin/dao/FacedInfoMapper.java

@@ -0,0 +1,33 @@
+package com.izouma.awesomeadmin.dao;
+
+import java.util.*;
+import com.izouma.awesomeadmin.datasource.DataSource;
+import org.springframework.stereotype.Repository;
+import com.izouma.awesomeadmin.model.FacedInfo;
+
+
+/**
+*  Dao接口
+*/
+@Repository("com.zoumaframe.dao.FacedInfoMapper")
+public interface FacedInfoMapper{
+
+    int deleteByPrimaryKey(Integer id);
+
+    int insertSelective(FacedInfo record);
+
+    FacedInfo selectByPrimaryKey(Integer id);
+
+    int updateByPrimaryKeySelective(FacedInfo record);
+
+    List<FacedInfo> queryAllFacedInfo(FacedInfo record);
+
+    List<FacedInfo> queryFacedInfoByPage(Map<String, Object> parameter);
+
+    int delete(String id);
+
+    FacedInfo queryFacedInfo(FacedInfo record);
+
+    List<FacedInfo> query(FacedInfo record);
+}
+

+ 235 - 0
src/main/java/com/izouma/awesomeadmin/dao/FacedInfoMapper.xml

@@ -0,0 +1,235 @@
+<?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.izouma.awesomeadmin.dao.FacedInfoMapper" >
+    <resultMap id="BaseResultMap" type="com.izouma.awesomeadmin.model.FacedInfo" >
+                <id column="id" property="id" jdbcType="INTEGER" />
+                                        <result column="del_flag" property="delFlag" jdbcType="CHAR" />
+                                <result column="faced_name" property="facedName" jdbcType="VARCHAR" />
+                                <result column="rank" property="rank" jdbcType="INTEGER" />
+            </resultMap>
+    <sql id="Base_Column_List" >
+        <trim  suffixOverrides="," >
+            id,
+
+            del_flag,
+
+            faced_name,
+
+            rank,
+
+            </trim>
+    </sql>
+    <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+        select
+        <include refid="Base_Column_List" />
+        from faced_info
+        where id = #{id,jdbcType=INTEGER}
+    </select>
+    <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+        delete from faced_info
+        where id = #{id,jdbcType=INTEGER}
+    </delete>
+    <insert id="insertSelective" parameterType="com.izouma.awesomeadmin.model.FacedInfo" useGeneratedKeys="true" keyProperty="id">
+        insert into faced_info
+        <trim prefix="(" suffix=")" suffixOverrides="," >
+                <if test="id!= null" >
+                id,
+            </if>
+                <if test="delFlag!= null" >
+                del_flag,
+            </if>
+                <if test="facedName!= null" >
+                faced_name,
+            </if>
+                <if test="rank!= null" >
+                rank,
+            </if>
+            </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides="," >
+                    <if test="id != null" >
+                #{id,jdbcType=INTEGER},
+            </if>
+                    <if test="delFlag != null" >
+                #{delFlag,jdbcType=CHAR},
+            </if>
+                    <if test="facedName != null" >
+                #{facedName,jdbcType=VARCHAR},
+            </if>
+                    <if test="rank != null" >
+                #{rank,jdbcType=INTEGER},
+            </if>
+                </trim>
+    </insert>
+    <update id="updateByPrimaryKeySelective" parameterType="com.izouma.awesomeadmin.model.FacedInfo" >
+        update faced_info
+        <set >
+                    <if test="id != null" >
+               id= #{id,jdbcType=INTEGER},
+            </if>
+                     <if test="delFlag != null" >
+               del_flag= #{delFlag,jdbcType=CHAR},
+            </if>
+                     <if test="facedName != null" >
+               faced_name= #{facedName,jdbcType=VARCHAR},
+            </if>
+                     <if test="rank != null" >
+               rank= #{rank,jdbcType=INTEGER},
+            </if>
+                 </set>
+        where id = #{id,jdbcType=INTEGER}
+    </update>
+    <select id="queryFacedInfoByPage" parameterType="java.util.Map" resultType="com.izouma.awesomeadmin.model.FacedInfo">
+        select <include refid="Base_Column_List"/> from faced_info
+        <where>
+            and del_flag = 'N'
+                    <if test="record.id != null and !&quot;&quot;.equals(record.id)">
+                and  id = #{record.id}
+            </if>
+                     <if test="record.delFlag != null and !&quot;&quot;.equals(record.delFlag)">
+                and  del_flag = #{record.delFlag}
+            </if>
+                     <if test="record.facedName != null and !&quot;&quot;.equals(record.facedName)">
+                and  faced_name = #{record.facedName}
+            </if>
+                     <if test="record.rank != null and !&quot;&quot;.equals(record.rank)">
+                and  rank = #{record.rank}
+            </if>
+                  <if test="record.searchKey != null and !&quot;&quot;.equals(record.searchKey)">
+             <trim prefix="and (" suffix=")" prefixOverrides="OR" >
+                                                                                                                                                                OR  faced_name LIKE concat('%',#{record.searchKey},'%')
+                                                                                                    OR  rank LIKE concat('%',#{record.searchKey},'%')
+                                                             </trim>
+         </if>
+
+            <if test="record.advancedQuery != null and !&quot;&quot;.equals(record.advancedQuery)">
+                <foreach item="item" index="index" collection="record.advancedQuery.split('_;')">
+                    <choose>
+                        <when test="item.indexOf('like') != -1">
+                            <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
+                                <if test="detailIndex == 3">
+                                    concat('%',#{itemDetail},'%')
+                                </if>
+
+                                <if test="detailIndex &lt; 3">
+                                    ${itemDetail}
+                                </if>
+
+                            </foreach>
+                        </when>
+                        <otherwise>
+                            <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
+                                <if test="detailIndex == 3">
+                                    #{itemDetail}
+                                </if>
+
+                                <if test="detailIndex &lt; 3">
+                                    ${itemDetail}
+                                </if>
+
+                            </foreach>
+                        </otherwise>
+                    </choose>
+
+
+                </foreach>
+
+
+            </if>
+
+        </where>
+        order by id desc
+    </select>
+    <select id="queryAllFacedInfo" parameterType="java.util.Map" resultType="com.izouma.awesomeadmin.model.FacedInfo">
+        select <include refid="Base_Column_List"/> from faced_info
+        <where>
+            and del_flag = 'N'
+                    <if test="id != null and !&quot;&quot;.equals(id)">
+                and  id = #{id}
+            </if>
+                    <if test="delFlag != null and !&quot;&quot;.equals(delFlag)">
+                and  del_flag = #{delFlag}
+            </if>
+                    <if test="facedName != null and !&quot;&quot;.equals(facedName)">
+                and  faced_name = #{facedName}
+            </if>
+                    <if test="rank != null and !&quot;&quot;.equals(rank)">
+                and  rank = #{rank}
+            </if>
+                    <if test="searchKey != null and !&quot;&quot;.equals(searchKey)">
+                <trim prefix="and (" suffix=")" prefixOverrides="OR" >
+                                                                                                                                                                                                                                                OR  faced_name LIKE concat('%',#{searchKey},'%')
+                                                                                                                                                        OR  rank LIKE concat('%',#{searchKey},'%')
+                                                                                        </trim>
+            </if>
+<if test="advancedQuery != null and !&quot;&quot;.equals(advancedQuery)">
+    <foreach item="item" index="index" collection="advancedQuery.split('_;')">
+        <choose>
+            <when test="item.indexOf('like') != -1">
+                <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
+                    <if test="detailIndex == 3">
+                        concat('%',#{itemDetail},'%')
+                    </if>
+
+                    <if test="detailIndex &lt; 3">
+                        ${itemDetail}
+                    </if>
+
+                </foreach>
+            </when>
+            <otherwise>
+                <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
+                    <if test="detailIndex == 3">
+                        #{itemDetail}
+                    </if>
+
+                    <if test="detailIndex &lt; 3">
+                        ${itemDetail}
+                    </if>
+
+                </foreach>
+            </otherwise>
+        </choose>
+
+
+    </foreach>
+
+
+</if>
+        </where>
+        order by id desc
+    </select>
+    <select id="queryFacedInfo" parameterType="java.util.Map" resultType="com.izouma.awesomeadmin.model.FacedInfo">
+        select <include refid="Base_Column_List"/> from faced_info
+        <where>
+            and del_flag = 'N'
+                    <if test="id != null and !&quot;&quot;.equals(id)">
+                and id = #{id}
+            </if>
+                     <if test="delFlag != null and !&quot;&quot;.equals(delFlag)">
+                and del_flag = #{delFlag}
+            </if>
+                     <if test="facedName != null and !&quot;&quot;.equals(facedName)">
+                and faced_name = #{facedName}
+            </if>
+                     <if test="rank != null and !&quot;&quot;.equals(rank)">
+                and rank = #{rank}
+            </if>
+         
+        </where>
+        LIMIT 1
+    </select>
+    <update id="delete">
+        UPDATE faced_info SET del_flag = 'Y'
+        <where>
+            AND id = #{id}
+        </where>
+    </update>
+    <select id="query" parameterType="java.util.Map" resultType="com.izouma.awesomeadmin.model.FacedInfo">
+        select <include refid="Base_Column_List"/> from faced_info
+        <where>
+            and del_flag = 'N'
+                                                                                                                                    </where>
+        order by id desc
+    </select>
+</mapper>
+

+ 77 - 0
src/main/java/com/izouma/awesomeadmin/model/CompanyInfo.java

@@ -0,0 +1,77 @@
+package com.izouma.awesomeadmin.model;
+
+import java.util.*;
+import com.fasterxml.jackson.annotation.JsonAutoDetect;
+import com.fasterxml.jackson.annotation.JsonInclude;
+
+
+@JsonAutoDetect
+@JsonInclude(JsonInclude.Include.NON_NULL)
+public class CompanyInfo{
+    private Integer id;
+    private String delFlag;
+    private String title;
+    private String remark;
+    private Integer rank;
+
+private String searchKey;
+
+/**
+* and,test_name,like,value;or,remark,=,123
+*/
+private String advancedQuery;
+
+    public Integer getId(){
+        return this.id;
+    }
+
+    public void setId(Integer id){
+        this.id = id;
+    }
+    public String getDelFlag(){
+        return this.delFlag;
+    }
+
+    public void setDelFlag(String delFlag){
+        this.delFlag = delFlag;
+    }
+    public String getTitle(){
+        return this.title;
+    }
+
+    public void setTitle(String title){
+        this.title = title;
+    }
+    public String getRemark(){
+        return this.remark;
+    }
+
+    public void setRemark(String remark){
+        this.remark = remark;
+    }
+    public Integer getRank(){
+        return this.rank;
+    }
+
+    public void setRank(Integer rank){
+        this.rank = rank;
+    }
+
+public String getSearchKey() {
+    return searchKey;
+}
+
+public void setSearchKey(String searchKey) {
+    this.searchKey = searchKey;
+}
+
+public String getAdvancedQuery() {
+    return advancedQuery;
+}
+
+public void setAdvancedQuery(String advancedQuery) {
+    this.advancedQuery = advancedQuery;
+}
+
+}
+

+ 69 - 0
src/main/java/com/izouma/awesomeadmin/model/FacedInfo.java

@@ -0,0 +1,69 @@
+package com.izouma.awesomeadmin.model;
+
+import java.util.*;
+import com.fasterxml.jackson.annotation.JsonAutoDetect;
+import com.fasterxml.jackson.annotation.JsonInclude;
+
+
+@JsonAutoDetect
+@JsonInclude(JsonInclude.Include.NON_NULL)
+public class FacedInfo{
+    private Integer id;
+    private String delFlag;
+    private String facedName;
+    private Integer rank;
+
+private String searchKey;
+
+/**
+* and,test_name,like,value;or,remark,=,123
+*/
+private String advancedQuery;
+
+    public Integer getId(){
+        return this.id;
+    }
+
+    public void setId(Integer id){
+        this.id = id;
+    }
+    public String getDelFlag(){
+        return this.delFlag;
+    }
+
+    public void setDelFlag(String delFlag){
+        this.delFlag = delFlag;
+    }
+    public String getFacedName(){
+        return this.facedName;
+    }
+
+    public void setFacedName(String facedName){
+        this.facedName = facedName;
+    }
+    public Integer getRank(){
+        return this.rank;
+    }
+
+    public void setRank(Integer rank){
+        this.rank = rank;
+    }
+
+public String getSearchKey() {
+    return searchKey;
+}
+
+public void setSearchKey(String searchKey) {
+    this.searchKey = searchKey;
+}
+
+public String getAdvancedQuery() {
+    return advancedQuery;
+}
+
+public void setAdvancedQuery(String advancedQuery) {
+    this.advancedQuery = advancedQuery;
+}
+
+}
+

+ 27 - 0
src/main/java/com/izouma/awesomeadmin/service/CompanyInfoService.java

@@ -0,0 +1,27 @@
+package com.izouma.awesomeadmin.service;
+
+import java.util.*;
+import com.izouma.awesomeadmin.dto.Page;
+import com.izouma.awesomeadmin.model.CompanyInfo;
+
+
+/**
+*  service接口类
+*/
+public interface CompanyInfoService{
+
+    List<CompanyInfo> getCompanyInfoList(CompanyInfo record);
+
+    List<CompanyInfo> getCompanyInfoByPage(Page page, CompanyInfo record);
+
+    CompanyInfo getCompanyInfoById(String id);
+
+    CompanyInfo getCompanyInfo(CompanyInfo record);
+
+    boolean createCompanyInfo(CompanyInfo record);
+
+    boolean deleteCompanyInfo(String id);
+
+    boolean updateCompanyInfo(CompanyInfo record);
+}
+

+ 27 - 0
src/main/java/com/izouma/awesomeadmin/service/FacedInfoService.java

@@ -0,0 +1,27 @@
+package com.izouma.awesomeadmin.service;
+
+import java.util.*;
+import com.izouma.awesomeadmin.dto.Page;
+import com.izouma.awesomeadmin.model.FacedInfo;
+
+
+/**
+*  service接口类
+*/
+public interface FacedInfoService{
+
+    List<FacedInfo> getFacedInfoList(FacedInfo record);
+
+    List<FacedInfo> getFacedInfoByPage(Page page, FacedInfo record);
+
+    FacedInfo getFacedInfoById(String id);
+
+    FacedInfo getFacedInfo(FacedInfo record);
+
+    boolean createFacedInfo(FacedInfo record);
+
+    boolean deleteFacedInfo(String id);
+
+    boolean updateFacedInfo(FacedInfo record);
+}
+

+ 137 - 0
src/main/java/com/izouma/awesomeadmin/service/impl/CompanyInfoServiceImpl.java

@@ -0,0 +1,137 @@
+package com.izouma.awesomeadmin.service.impl;
+
+import java.util.*;
+import org.apache.log4j.Logger;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.izouma.awesomeadmin.constant.AppConstant;
+import com.izouma.awesomeadmin.dto.Page;
+import com.izouma.awesomeadmin.model.CompanyInfo;
+import com.izouma.awesomeadmin.service.CompanyInfoService;
+import com.izouma.awesomeadmin.dao.CompanyInfoMapper;
+
+/**
+*  service接口实现类
+*/
+@Service
+public class CompanyInfoServiceImpl implements CompanyInfoService{
+
+    private static Logger logger = Logger.getLogger(CompanyInfoServiceImpl.class);
+
+    @Autowired
+    private CompanyInfoMapper companyInfoMapper;
+
+    @Override
+    public List<CompanyInfo> getCompanyInfoList(CompanyInfo record) {
+
+        logger.info("getCompanyInfoList");
+        try {
+
+        return companyInfoMapper.queryAllCompanyInfo(record);
+        } catch (Exception e) {
+        logger.error("getCompanyInfoList", e);
+        }
+
+        return null;
+    }
+    @Override
+    public List<CompanyInfo> getCompanyInfoByPage(Page page, CompanyInfo record) {
+
+        logger.info("getCompanyInfoByPage");
+        try {
+
+        Map<String, Object> parameter = new HashMap<String, Object>();
+        parameter.put("record", record);
+        parameter.put(AppConstant.PAGE, page);
+
+        return companyInfoMapper.queryCompanyInfoByPage(parameter);
+        } catch (Exception e) {
+        logger.error("getCompanyInfoByPage", e);
+        }
+
+        return null;
+    }
+
+    @Override
+    public CompanyInfo getCompanyInfoById(String id) {
+
+        logger.info("getCompanyInfoyId");
+        try {
+
+            return companyInfoMapper.selectByPrimaryKey(Integer.valueOf(id));
+        } catch (Exception e) {
+        logger.error("getCompanyInfoById", e);
+        }
+
+        return null;
+    }
+
+    @Override
+    public CompanyInfo getCompanyInfo(CompanyInfo record) {
+
+        logger.info("getCompanyInfo");
+        try {
+
+            return companyInfoMapper.queryCompanyInfo(record);
+        } catch (Exception e) {
+        logger.error("getCompanyInfo", e);
+        }
+
+        return null;
+    }
+
+    @Override
+    public boolean createCompanyInfo(CompanyInfo record) {
+
+        logger.info("createCompanyInfo");
+        try {
+
+            int updates = companyInfoMapper.insertSelective(record);
+
+            if (updates > 0) {
+                 return true;
+            }
+        } catch (Exception e) {
+            logger.error("createCompanyInfo", e);
+        }
+
+        return false;
+    }
+
+    @Override
+    public boolean deleteCompanyInfo(String id) {
+
+        logger.info("deleteCompanyInfo");
+        try {
+
+             int updates = companyInfoMapper.delete(id);
+
+            if (updates > 0) {
+                 return true;
+            }
+        } catch (Exception e) {
+             logger.error("deleteCompanyInfo", e);
+        }
+
+        return false;
+    }
+
+    @Override
+    public boolean updateCompanyInfo(CompanyInfo record) {
+
+        logger.info("updateCompanyInfo");
+        try {
+
+            int updates = companyInfoMapper.updateByPrimaryKeySelective(record);
+
+            if (updates > 0) {
+                 return true;
+            }
+        } catch (Exception e) {
+             logger.error("updateCompanyInfo", e);
+        }
+
+        return false;
+    }
+}
+

+ 137 - 0
src/main/java/com/izouma/awesomeadmin/service/impl/FacedInfoServiceImpl.java

@@ -0,0 +1,137 @@
+package com.izouma.awesomeadmin.service.impl;
+
+import java.util.*;
+import org.apache.log4j.Logger;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.izouma.awesomeadmin.constant.AppConstant;
+import com.izouma.awesomeadmin.dto.Page;
+import com.izouma.awesomeadmin.model.FacedInfo;
+import com.izouma.awesomeadmin.service.FacedInfoService;
+import com.izouma.awesomeadmin.dao.FacedInfoMapper;
+
+/**
+*  service接口实现类
+*/
+@Service
+public class FacedInfoServiceImpl implements FacedInfoService{
+
+    private static Logger logger = Logger.getLogger(FacedInfoServiceImpl.class);
+
+    @Autowired
+    private FacedInfoMapper facedInfoMapper;
+
+    @Override
+    public List<FacedInfo> getFacedInfoList(FacedInfo record) {
+
+        logger.info("getFacedInfoList");
+        try {
+
+        return facedInfoMapper.queryAllFacedInfo(record);
+        } catch (Exception e) {
+        logger.error("getFacedInfoList", e);
+        }
+
+        return null;
+    }
+    @Override
+    public List<FacedInfo> getFacedInfoByPage(Page page, FacedInfo record) {
+
+        logger.info("getFacedInfoByPage");
+        try {
+
+        Map<String, Object> parameter = new HashMap<String, Object>();
+        parameter.put("record", record);
+        parameter.put(AppConstant.PAGE, page);
+
+        return facedInfoMapper.queryFacedInfoByPage(parameter);
+        } catch (Exception e) {
+        logger.error("getFacedInfoByPage", e);
+        }
+
+        return null;
+    }
+
+    @Override
+    public FacedInfo getFacedInfoById(String id) {
+
+        logger.info("getFacedInfoyId");
+        try {
+
+            return facedInfoMapper.selectByPrimaryKey(Integer.valueOf(id));
+        } catch (Exception e) {
+        logger.error("getFacedInfoById", e);
+        }
+
+        return null;
+    }
+
+    @Override
+    public FacedInfo getFacedInfo(FacedInfo record) {
+
+        logger.info("getFacedInfo");
+        try {
+
+            return facedInfoMapper.queryFacedInfo(record);
+        } catch (Exception e) {
+        logger.error("getFacedInfo", e);
+        }
+
+        return null;
+    }
+
+    @Override
+    public boolean createFacedInfo(FacedInfo record) {
+
+        logger.info("createFacedInfo");
+        try {
+
+            int updates = facedInfoMapper.insertSelective(record);
+
+            if (updates > 0) {
+                 return true;
+            }
+        } catch (Exception e) {
+            logger.error("createFacedInfo", e);
+        }
+
+        return false;
+    }
+
+    @Override
+    public boolean deleteFacedInfo(String id) {
+
+        logger.info("deleteFacedInfo");
+        try {
+
+             int updates = facedInfoMapper.delete(id);
+
+            if (updates > 0) {
+                 return true;
+            }
+        } catch (Exception e) {
+             logger.error("deleteFacedInfo", e);
+        }
+
+        return false;
+    }
+
+    @Override
+    public boolean updateFacedInfo(FacedInfo record) {
+
+        logger.info("updateFacedInfo");
+        try {
+
+            int updates = facedInfoMapper.updateByPrimaryKeySelective(record);
+
+            if (updates > 0) {
+                 return true;
+            }
+        } catch (Exception e) {
+             logger.error("updateFacedInfo", e);
+        }
+
+        return false;
+    }
+}
+

+ 156 - 0
src/main/java/com/izouma/awesomeadmin/web/CompanyInfoController.java

@@ -0,0 +1,156 @@
+package com.izouma.awesomeadmin.web;
+
+import java.util.*;
+
+import com.izouma.awesomeadmin.util.ExportExcelUtil;
+import org.apache.commons.lang.StringUtils;
+import org.apache.shiro.authz.annotation.RequiresAuthentication;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.*;
+import com.izouma.awesomeadmin.constant.AppConstant;
+import com.izouma.awesomeadmin.dto.Page;
+import com.izouma.awesomeadmin.dto.Result;
+import com.izouma.awesomeadmin.model.CompanyInfo;
+import com.izouma.awesomeadmin.service.CompanyInfoService;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+*  controller类
+*/
+@Controller
+@RequestMapping("/companyInfo")
+public class CompanyInfoController extends BaseController{
+
+    @Autowired
+    private CompanyInfoService companyInfoService;
+
+    /**
+    * <p>获取全部记录。</p>
+    */
+    @RequiresAuthentication
+    @RequestMapping(value = "/all", method = RequestMethod.GET)
+    @ResponseBody
+    public Result all(CompanyInfo record) {
+        List<CompanyInfo> pp = companyInfoService.getCompanyInfoList(record);
+        return new Result(true, pp);
+    }
+
+    /**
+    * <p>根据Id。</p>
+    */
+    @RequestMapping(value = "/getCompanyInfo", method = RequestMethod.GET)
+    @ResponseBody
+    public Result getCompanyInfo(@RequestParam(required = false, value = "id") String id) {
+        CompanyInfo data = companyInfoService.getCompanyInfoById(id);
+        return new Result(true, data);
+    }
+
+    /**
+    * <p>根据条件获取。</p>
+    */
+    @RequestMapping(value = "/getOne", method = RequestMethod.GET)
+    @ResponseBody
+    public Result getOne(CompanyInfo record) {
+        CompanyInfo data = companyInfoService.getCompanyInfo(record);
+        return new Result(true, data);
+    }
+
+
+    /**
+    * <p>分页查询。</p>
+    */
+    @RequestMapping(value = "/page", method = RequestMethod.GET)
+    @ResponseBody
+    public Result page(Page page, CompanyInfo record) {
+        Map<String, Object> result = new HashMap<>();
+
+        List<CompanyInfo> pp =companyInfoService.getCompanyInfoByPage(page, record);
+
+        result.put(AppConstant.PAGE, page);
+        result.put("pp", pp);
+        return new Result(true, result);
+    }
+
+
+    /**
+    * <p>保存。</p>
+    */
+    @RequestMapping(value = "/save", method = RequestMethod.POST)
+    @ResponseBody
+    public Result save(CompanyInfo record) {
+        boolean num = companyInfoService.createCompanyInfo(record);
+        if (num) {
+        return new Result(true, record.getId());
+        }
+        return new Result(false, "保存异常");
+    }
+
+    /**
+    * <p>更新信息。</p>
+    */
+    @RequestMapping(value = "/update", method = RequestMethod.POST)
+    @ResponseBody
+    public Result updateCompanyInfo(CompanyInfo record) {
+        boolean num = companyInfoService.updateCompanyInfo(record);
+        if (num) {
+        return new Result(true, "保存成功");
+        }
+        return new Result(false, "保存异常");
+    }
+
+    /**
+    * <p>删除。</p>
+    */
+    @RequestMapping(value = "/del", method = RequestMethod.POST)
+    @ResponseBody
+    public Result deleteCompanyInfo(@RequestParam(required = true, value = "id") String id) {
+
+        boolean num = companyInfoService.deleteCompanyInfo(id);
+        if (num) {
+        return new Result(true, "删除成功");
+        }
+        return new Result(false, "删除异常");
+    }
+
+    /**
+    * 导出Excel
+    * @param request
+    * @param response
+    * @param record
+    * @throws Exception
+    */
+    @RequestMapping(value = "/exportExcel", method = RequestMethod.GET)
+    @ResponseBody
+    public void exportExcel(HttpServletRequest request, HttpServletResponse response, CompanyInfo record) throws Exception {
+
+    List<CompanyInfo> companyInfos = companyInfoService.getCompanyInfoList(record);
+
+
+        String sheetName = "company_info";
+        String titleName = "公司简介数据表";
+        String fileName = "公司简介表";
+        int columnNumber = 5;
+        int[] columnWidth = { 20,  20,  20,  20,  20 };
+        String[] columnName = {  "" ,   "删除标识" ,   "标题" ,   "介绍" ,   ""  };
+        String[][] dataList = new String[companyInfos.size()][5];
+
+        for (int i = 0; i < companyInfos.size(); i++) {
+
+                        dataList[i][0] = String.valueOf(companyInfos.get(i).getId());
+                        dataList[i][1] = String.valueOf(companyInfos.get(i).getDelFlag());
+                        dataList[i][2] = String.valueOf(companyInfos.get(i).getTitle());
+                        dataList[i][3] = String.valueOf(companyInfos.get(i).getRemark());
+                        dataList[i][4] = String.valueOf(companyInfos.get(i).getRank());
+                    }
+
+
+        ExportExcelUtil.ExportWithResponse(sheetName, titleName, fileName,
+        columnNumber, columnWidth, columnName, dataList, response);
+
+
+        }
+    }
+

+ 155 - 0
src/main/java/com/izouma/awesomeadmin/web/FacedInfoController.java

@@ -0,0 +1,155 @@
+package com.izouma.awesomeadmin.web;
+
+import java.util.*;
+
+import com.izouma.awesomeadmin.util.ExportExcelUtil;
+import org.apache.commons.lang.StringUtils;
+import org.apache.shiro.authz.annotation.RequiresAuthentication;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.*;
+import com.izouma.awesomeadmin.constant.AppConstant;
+import com.izouma.awesomeadmin.dto.Page;
+import com.izouma.awesomeadmin.dto.Result;
+import com.izouma.awesomeadmin.model.FacedInfo;
+import com.izouma.awesomeadmin.service.FacedInfoService;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+*  controller类
+*/
+@Controller
+@RequestMapping("/facedInfo")
+public class FacedInfoController extends BaseController{
+
+    @Autowired
+    private FacedInfoService facedInfoService;
+
+    /**
+    * <p>获取全部记录。</p>
+    */
+    @RequiresAuthentication
+    @RequestMapping(value = "/all", method = RequestMethod.GET)
+    @ResponseBody
+    public Result all(FacedInfo record) {
+        List<FacedInfo> pp = facedInfoService.getFacedInfoList(record);
+        return new Result(true, pp);
+    }
+
+    /**
+    * <p>根据Id。</p>
+    */
+    @RequestMapping(value = "/getFacedInfo", method = RequestMethod.GET)
+    @ResponseBody
+    public Result getFacedInfo(@RequestParam(required = false, value = "id") String id) {
+        FacedInfo data = facedInfoService.getFacedInfoById(id);
+        return new Result(true, data);
+    }
+
+    /**
+    * <p>根据条件获取。</p>
+    */
+    @RequestMapping(value = "/getOne", method = RequestMethod.GET)
+    @ResponseBody
+    public Result getOne(FacedInfo record) {
+        FacedInfo data = facedInfoService.getFacedInfo(record);
+        return new Result(true, data);
+    }
+
+
+    /**
+    * <p>分页查询。</p>
+    */
+    @RequestMapping(value = "/page", method = RequestMethod.GET)
+    @ResponseBody
+    public Result page(Page page, FacedInfo record) {
+        Map<String, Object> result = new HashMap<>();
+
+        List<FacedInfo> pp =facedInfoService.getFacedInfoByPage(page, record);
+
+        result.put(AppConstant.PAGE, page);
+        result.put("pp", pp);
+        return new Result(true, result);
+    }
+
+
+    /**
+    * <p>保存。</p>
+    */
+    @RequestMapping(value = "/save", method = RequestMethod.POST)
+    @ResponseBody
+    public Result save(FacedInfo record) {
+        boolean num = facedInfoService.createFacedInfo(record);
+        if (num) {
+        return new Result(true, record.getId());
+        }
+        return new Result(false, "保存异常");
+    }
+
+    /**
+    * <p>更新信息。</p>
+    */
+    @RequestMapping(value = "/update", method = RequestMethod.POST)
+    @ResponseBody
+    public Result updateFacedInfo(FacedInfo record) {
+        boolean num = facedInfoService.updateFacedInfo(record);
+        if (num) {
+        return new Result(true, "保存成功");
+        }
+        return new Result(false, "保存异常");
+    }
+
+    /**
+    * <p>删除。</p>
+    */
+    @RequestMapping(value = "/del", method = RequestMethod.POST)
+    @ResponseBody
+    public Result deleteFacedInfo(@RequestParam(required = true, value = "id") String id) {
+
+        boolean num = facedInfoService.deleteFacedInfo(id);
+        if (num) {
+        return new Result(true, "删除成功");
+        }
+        return new Result(false, "删除异常");
+    }
+
+    /**
+    * 导出Excel
+    * @param request
+    * @param response
+    * @param record
+    * @throws Exception
+    */
+    @RequestMapping(value = "/exportExcel", method = RequestMethod.GET)
+    @ResponseBody
+    public void exportExcel(HttpServletRequest request, HttpServletResponse response, FacedInfo record) throws Exception {
+
+    List<FacedInfo> facedInfos = facedInfoService.getFacedInfoList(record);
+
+
+        String sheetName = "faced_info";
+        String titleName = "朝向数据表";
+        String fileName = "朝向表";
+        int columnNumber = 4;
+        int[] columnWidth = { 20,  20,  20,  20 };
+        String[] columnName = {  "" ,   "删除标识" ,   "朝向" ,   "排序"  };
+        String[][] dataList = new String[facedInfos.size()][4];
+
+        for (int i = 0; i < facedInfos.size(); i++) {
+
+                        dataList[i][0] = String.valueOf(facedInfos.get(i).getId());
+                        dataList[i][1] = String.valueOf(facedInfos.get(i).getDelFlag());
+                        dataList[i][2] = String.valueOf(facedInfos.get(i).getFacedName());
+                        dataList[i][3] = String.valueOf(facedInfos.get(i).getRank());
+                    }
+
+
+        ExportExcelUtil.ExportWithResponse(sheetName, titleName, fileName,
+        columnNumber, columnWidth, columnName, dataList, response);
+
+
+        }
+    }
+

+ 82 - 0
src/main/vue/src/pages/CompanyInfo.vue

@@ -0,0 +1,82 @@
+<template>
+    <div>
+        <el-form :model="formData" :rules="rules" ref="form" label-width="80px" label-position="right" size="small" style="max-width: 500px;">
+            <el-form-item prop="title" label="标题">
+                <el-input v-model="formData.title"></el-input>
+            </el-form-item>
+            <el-form-item prop="remark" label="介绍">
+                <el-input type="textarea" v-model="formData.remark" rows="5"></el-input>
+            </el-form-item>
+            <el-form-item prop="rank" label="排序">
+                <el-input v-model="formData.rank"></el-input>
+            </el-form-item>
+            <el-form-item>
+                <el-button @click="onSave" :loading="$store.state.fetchingData" type="primary">保存</el-button>
+                <el-button @click="$router.go(-1)">取消</el-button>
+            </el-form-item>
+        </el-form>
+    </div>
+</template>
+<script>
+import formValidator from '../formValidator'
+
+export default {
+    created() {
+        if (this.$route.query.id) {
+            this.$http.get({
+                url: '/companyInfo/getOne',
+                data: {
+                    id: this.$route.query.id
+                }
+            }).then(res => {
+                if (res.success) {
+                    this.formData = res.data;
+                }
+            })
+        }
+    },
+    data() {
+        return {
+            saving: false,
+            formData: {},
+            rules: {
+                title:
+                    [
+                        { required: true, message: '请输入 标题', trigger: 'blur' },
+                    ],
+                remark:
+                    [
+                        { required: true, message: '请输入 介绍', trigger: 'blur' },
+                    ],
+            },
+        }
+    },
+    methods: {
+        onSave() {
+            this.$refs.form.validate((valid) => {
+                if (valid) {
+                    this.submit();
+                } else {
+                    return false;
+                }
+            });
+        },
+        submit() {
+            var data = JSON.parse(JSON.stringify(this.formData));
+            this.$http.post({
+                url: this.formData.id ? '/companyInfo/update' : '/companyInfo/save',
+                data: data
+            }).then(res => {
+                if (res.success) {
+                    this.$message.success('成功');
+                    this.$router.go(-1);
+                } else {
+                    this.$message.warning('失败')
+                }
+            });
+        }
+    }
+}
+</script>
+<style lang="less" scoped>
+</style>

+ 271 - 0
src/main/vue/src/pages/CompanyInfos.vue

@@ -0,0 +1,271 @@
+<template>
+    <div>
+        <div class="filters-container">
+
+            <el-input placeholder="关键字" size="small" v-model="filter1" clearable class="filter-item"></el-input>
+            <!--<el-select placeholder="性别" size="small" v-model="filter2" clearable class="filter-item">
+                <el-option
+                        label="女"
+                        value="item1">
+                </el-option>
+                <el-option
+                        label="男"
+                        value="item2">
+                </el-option>
+            </el-select>-->
+            <!-- <el-button @click="showAdvancedQueryDialog = !showAdvancedQueryDialog" type="primary" size="small" icon="el-icon-search" class="filter-item">高级查询
+            </el-button> -->
+            <el-button @click="getData" type="primary" size="small" icon="el-icon-search" class="filter-item">搜索
+            </el-button>
+            <el-button @click="$router.push('/companyInfo')" type="primary" size="small" icon="el-icon-edit" class="filter-item">添加
+            </el-button>
+            <!-- <el-button @click="exportExcel" type="primary" size="small" icon="el-icon-share" class="filter-item">导出EXCEL
+            </el-button> -->
+            <el-dropdown trigger="click" size="medium" class="table-column-filter">
+                <span>
+                    筛选数据
+                    <i class="el-icon-arrow-down el-icon--right"></i>
+                </span>
+                <el-dropdown-menu slot="dropdown" class="table-column-filter-wrapper">
+                    <el-checkbox v-for="item in tableColumns" :key="item.value" v-model="item.show">{{item.label}}
+                    </el-checkbox>
+                </el-dropdown-menu>
+            </el-dropdown>
+        </div>
+        <el-table :data="tableData" :height="tableHeight" row-key="id" ref="table">
+            <el-table-column v-if="multipleMode" align="center" type="selection" width="50">
+            </el-table-column>
+            <el-table-column type="index" min-width="50" align="center">
+            </el-table-column>
+            <el-table-column v-if="isColumnShow('title')" prop="title" label="标题" min-width="100">
+            </el-table-column>
+            <el-table-column v-if="isColumnShow('remark')" prop="remark" label="介绍" min-width="100">
+            </el-table-column>
+            <el-table-column v-if="isColumnShow('rank')" prop="rank" label="排序" min-width="100">
+            </el-table-column>
+            <el-table-column label="操作" align="center" fixed="right">
+                <template slot-scope="scope">
+                    <el-button @click="editRow(scope.row)" type="primary" size="mini" plain>编辑</el-button>
+                </template>
+            </el-table-column>
+        </el-table>
+        <div class="pagination-wrapper">
+            <!-- <div class="multiple-mode-wrapper">
+                <el-button size="small" v-if="!multipleMode" @click="toggleMultipleMode(true)">批量编辑</el-button>
+                <el-button-group v-else>
+                    <el-button size="small" @click="operation1">批量操作1</el-button>
+                    <el-button size="small" @click="operation2">批量操作2</el-button>
+                    <el-button size="small" @click="toggleMultipleMode(false)">取消</el-button>
+                </el-button-group>
+            </div> -->
+            <el-pagination background @size-change="pageSizeChange" @current-change="currentPageChange" :current-page="currentPage" :page-sizes="[10, 20, 30, 40, 50]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="totalNumber">
+            </el-pagination>
+        </div>
+        <el-dialog title="高级查询" :visible.sync="showAdvancedQueryDialog">
+            <el-button @click="addField" type="text" icon="el-icon-plus">添加</el-button>
+            <el-table :data="advancedQueryFields">
+
+                <el-table-column prop="link" label="链接符" align="center">
+                    <template slot-scope="{row}">
+                        <el-select placeholder="链接" size="small" v-model="row.link" class="filter-item">
+                            <el-option label="AND" value="AND">
+                            </el-option>
+                            <el-option label="OR" value="OR">
+                            </el-option>
+                        </el-select>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="name" label="字段" align="center">
+                    <template slot-scope="{row}">
+                        <el-select v-model="row.name">
+
+                            <el-option v-for="item in advancedQueryColumns" :label="item.label" :value="item.value" :key="item.value"></el-option>
+                        </el-select>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="searchMethod" label="搜索方式" width="150" align="center">
+                    <template slot-scope="{row}">
+                        <el-select v-model="row.searchMethod">
+                            <el-option v-for="item in searchMethods" :label="item" :value="item" :key="item"></el-option>
+                        </el-select>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="value" label="参数" align="center">
+                    <template slot-scope="{row}">
+                        <el-input v-model="row.value"></el-input>
+                    </template>
+                </el-table-column>
+                <el-table-column width="60" align="center">
+                    <template slot-scope="{ row, column, $index }">
+                        <el-button @click="removeField($index)" size="small" type="text">删除</el-button>
+                    </template>
+                </el-table-column>
+            </el-table>
+
+            <span slot="footer" class="dialog-footer">
+
+                <el-button @click="advancedQuery" :loading="$store.state.fetchingData">确定</el-button>
+            </span>
+        </el-dialog>
+
+    </div>
+</template>
+<script>
+import { mapState } from 'vuex'
+
+export default {
+    created() {
+        this.getData();
+    },
+    data() {
+        return {
+            totalNumber: 0,
+            totalPage: 10,
+            currentPage: 1,
+            pageSize: 20,
+            tableData: [],
+            filter1: '',
+            filter2: '',
+            tableColumns: [
+                {
+                    label: '标题',
+                    value: 'title',
+                    show: true
+                },
+                {
+                    label: '介绍',
+                    value: 'remark',
+                    show: true
+                },
+                {
+                    label: '排序',
+                    value: 'rank',
+                    show: true
+                },
+            ],
+            multipleMode: false,
+            showAdvancedQueryDialog: false,
+            advancedQueryFields: [],
+            searchMethods: ['=', '!=', '>', '>=', '<', '<=', 'like'],
+            advancedQueryColumns: [
+                {
+                    label: '标题',
+                    value: 'title'
+                },
+                {
+                    label: '介绍',
+                    value: 'remark'
+                },
+                {
+                    label: '排序',
+                    value: 'rank'
+                },
+            ],
+            advancedQuerySearchKey: '',
+        }
+    },
+    computed: {
+        ...mapState(['tableHeight']),
+        selection() {
+            return this.$refs.table.selection.map(i => i.id);
+        }
+    },
+    methods: {
+        pageSizeChange(size) {
+            this.currentPage = 1;
+            this.pageSize = size;
+            this.getData();
+        },
+        currentPageChange(page) {
+            this.currentPage = page;
+            this.getData();
+        },
+        getData() {
+            this.$http.get({
+                url: '/companyInfo/page',
+                data: {
+                    currentPage: this.currentPage,
+                    pageNumber: this.pageSize,
+                    searchKey: this.filter1,
+                    advancedQuery: this.advancedQuerySearchKey,
+                }
+            }).then(res => {
+                if (res.success) {
+                    this.totalNumber = res.data.page.totalNumber;
+                    this.tableData = res.data.pp;
+                }
+            })
+        },
+        isColumnShow(column) {
+            var row = this.tableColumns.find(i => i.value === column);
+            return row ? row.show : false;
+        },
+        toggleMultipleMode(multipleMode) {
+            this.multipleMode = multipleMode;
+            if (!multipleMode) {
+                this.$refs.table.clearSelection();
+            }
+        },
+        editRow(row) {
+            this.$router.push({
+                path: '/companyInfo',
+                query: {
+                    id: row.id
+                }
+            })
+        },
+        operation1() {
+            this.$notify({
+                title: '提示',
+                message: this.selection
+            });
+        },
+        operation2() {
+            this.$message('操作2');
+        },
+        addField() {
+            this.advancedQueryFields.push({
+                link: 'AND',
+                name: '',
+                searchMethod: '=',
+                value: '',
+            });
+        },
+        removeField(i) {
+            if (this.advancedQueryFields.length > 0) {
+                this.advancedQueryFields.splice(i, 1);
+            }
+        },
+        advancedQuery() {
+
+            this.advancedQuerySearchKey = '';
+
+            if (this.advancedQueryFields.length > 0) {
+
+                var templist = [];
+
+                this.advancedQueryFields.forEach(item => {
+                    if (item.link && item.name && item.searchMethod && item.value) {
+                        var tempItem = item.link + '_,' + item.name + '_,' + item.searchMethod + '_,' + item.value;
+                        templist.push(tempItem);
+                    }
+                })
+
+                if (templist.length > 0) {
+
+                    this.advancedQuerySearchKey = templist.join('_;');
+                }
+            }
+
+            this.getData();
+            this.showAdvancedQueryDialog = false;
+        },
+        exportExcel() {
+            window.location.href = this.$baseUrl + "/companyInfo/exportExcel?searchKey=" + this.filter1 + "&advancedQuery=" + this.advancedQuerySearchKey
+        },
+
+    }
+}
+</script>
+<style lang="less" scoped>
+</style>

+ 76 - 0
src/main/vue/src/pages/FacedInfo.vue

@@ -0,0 +1,76 @@
+<template>
+    <div>
+        <el-form :model="formData" :rules="rules" ref="form" label-width="80px" label-position="right" size="small"
+                 style="max-width: 500px;">
+                                                                                                                    <el-form-item prop="facedName" label="朝向">
+                <el-input v-model="formData.facedName"></el-input>
+            </el-form-item>
+                                                                                                                                                                                                                                                                                                        <el-form-item prop="rank" label="排序">
+                <el-input v-model="formData.rank"></el-input>
+            </el-form-item>
+                                                                                                                                                                                                                                                                    <el-form-item>
+                <el-button @click="onSave" :loading="$store.state.fetchingData" type="primary">保存</el-button>
+                <el-button @click="$router.go(-1)">取消</el-button>
+            </el-form-item>
+        </el-form>
+    </div>
+</template>
+<script>
+    import formValidator from '../formValidator'
+
+    export default {
+        created() {
+            if (this.$route.query.id) {
+                this.$http.get({
+                    url: '/facedInfo/getOne',
+                    data: {
+                        id: this.$route.query.id
+                    }
+                }).then(res => {
+                    if (res.success) {
+                        this.formData = res.data;
+                    }
+                })
+            }
+        },
+        data() {
+            return {
+                saving: false,
+                formData: {},
+                rules: {
+                                                                                                        facedName:
+                    [
+                        {required: true, message: '请输入 朝向', trigger: 'blur'},
+                                            ],
+                                                                },
+        }
+        },
+        methods: {
+            onSave() {
+                this.$refs.form.validate((valid) => {
+                    if (valid) {
+                        this.submit();
+                    } else {
+                        return false;
+                    }
+                });
+            },
+            submit() {
+                var data = JSON.parse(JSON.stringify(this.formData));
+                this.$http.post({
+                    url: this.formData.id ? '/facedInfo/update' : '/facedInfo/save',
+                    data: data
+                }).then(res => {
+                    if (res.success) {
+                        this.$message.success('成功');
+                        this.$router.go(-1);
+                    } else {
+                        this.$message.warning('失败')
+                    }
+                });
+            }
+        }
+    }
+</script>
+<style lang="less" scoped>
+</style>

+ 260 - 0
src/main/vue/src/pages/FacedInfos.vue

@@ -0,0 +1,260 @@
+<template>
+    <div>
+        <div class="filters-container">
+
+            <el-input placeholder="关键字" size="small" v-model="filter1" clearable class="filter-item"></el-input>
+            <!--<el-select placeholder="性别" size="small" v-model="filter2" clearable class="filter-item">
+                <el-option
+                        label="女"
+                        value="item1">
+                </el-option>
+                <el-option
+                        label="男"
+                        value="item2">
+                </el-option>
+            </el-select>-->
+            <!-- <el-button @click="showAdvancedQueryDialog = !showAdvancedQueryDialog" type="primary" size="small" icon="el-icon-search" class="filter-item">高级查询
+            </el-button> -->
+            <el-button @click="getData" type="primary" size="small" icon="el-icon-search" class="filter-item">搜索
+            </el-button>
+            <el-button @click="$router.push('/facedInfo')" type="primary" size="small" icon="el-icon-edit" class="filter-item">添加
+            </el-button>
+            <!-- <el-button @click="exportExcel" type="primary" size="small" icon="el-icon-share" class="filter-item">导出EXCEL
+            </el-button> -->
+            <el-dropdown trigger="click" size="medium" class="table-column-filter">
+                <span>
+                    筛选数据
+                    <i class="el-icon-arrow-down el-icon--right"></i>
+                </span>
+                <el-dropdown-menu slot="dropdown" class="table-column-filter-wrapper">
+                    <el-checkbox v-for="item in tableColumns" :key="item.value" v-model="item.show">{{item.label}}
+                    </el-checkbox>
+                </el-dropdown-menu>
+            </el-dropdown>
+        </div>
+        <el-table :data="tableData" :height="tableHeight" row-key="id" ref="table">
+            <el-table-column v-if="multipleMode" align="center" type="selection" width="50">
+            </el-table-column>
+            <el-table-column type="index" min-width="50" align="center">
+            </el-table-column>
+            <el-table-column v-if="isColumnShow('facedName')" prop="facedName" label="朝向" min-width="100">
+            </el-table-column>
+            <el-table-column v-if="isColumnShow('rank')" prop="rank" label="排序" min-width="100">
+            </el-table-column>
+            <el-table-column label="操作" align="center" fixed="right">
+                <template slot-scope="scope">
+                    <el-button @click="editRow(scope.row)" type="primary" size="mini" plain>编辑</el-button>
+                </template>
+            </el-table-column>
+        </el-table>
+        <div class="pagination-wrapper">
+            <!-- <div class="multiple-mode-wrapper">
+                <el-button size="small" v-if="!multipleMode" @click="toggleMultipleMode(true)">批量编辑</el-button>
+                <el-button-group v-else>
+                    <el-button size="small" @click="operation1">批量操作1</el-button>
+                    <el-button size="small" @click="operation2">批量操作2</el-button>
+                    <el-button size="small" @click="toggleMultipleMode(false)">取消</el-button>
+                </el-button-group>
+            </div> -->
+            <el-pagination background @size-change="pageSizeChange" @current-change="currentPageChange" :current-page="currentPage" :page-sizes="[10, 20, 30, 40, 50]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="totalNumber">
+            </el-pagination>
+        </div>
+        <el-dialog title="高级查询" :visible.sync="showAdvancedQueryDialog">
+            <el-button @click="addField" type="text" icon="el-icon-plus">添加</el-button>
+            <el-table :data="advancedQueryFields">
+
+                <el-table-column prop="link" label="链接符" align="center">
+                    <template slot-scope="{row}">
+                        <el-select placeholder="链接" size="small" v-model="row.link" class="filter-item">
+                            <el-option label="AND" value="AND">
+                            </el-option>
+                            <el-option label="OR" value="OR">
+                            </el-option>
+                        </el-select>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="name" label="字段" align="center">
+                    <template slot-scope="{row}">
+                        <el-select v-model="row.name">
+
+                            <el-option v-for="item in advancedQueryColumns" :label="item.label" :value="item.value" :key="item.value"></el-option>
+                        </el-select>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="searchMethod" label="搜索方式" width="150" align="center">
+                    <template slot-scope="{row}">
+                        <el-select v-model="row.searchMethod">
+                            <el-option v-for="item in searchMethods" :label="item" :value="item" :key="item"></el-option>
+                        </el-select>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="value" label="参数" align="center">
+                    <template slot-scope="{row}">
+                        <el-input v-model="row.value"></el-input>
+                    </template>
+                </el-table-column>
+                <el-table-column width="60" align="center">
+                    <template slot-scope="{ row, column, $index }">
+                        <el-button @click="removeField($index)" size="small" type="text">删除</el-button>
+                    </template>
+                </el-table-column>
+            </el-table>
+
+            <span slot="footer" class="dialog-footer">
+
+                <el-button @click="advancedQuery" :loading="$store.state.fetchingData">确定</el-button>
+            </span>
+        </el-dialog>
+
+    </div>
+</template>
+<script>
+import { mapState } from 'vuex'
+
+export default {
+    created() {
+        this.getData();
+    },
+    data() {
+        return {
+            totalNumber: 0,
+            totalPage: 10,
+            currentPage: 1,
+            pageSize: 20,
+            tableData: [],
+            filter1: '',
+            filter2: '',
+            tableColumns: [
+                {
+                    label: '朝向',
+                    value: 'facedName',
+                    show: true
+                },
+                {
+                    label: '排序',
+                    value: 'rank',
+                    show: true
+                },
+            ],
+            multipleMode: false,
+            showAdvancedQueryDialog: false,
+            advancedQueryFields: [],
+            searchMethods: ['=', '!=', '>', '>=', '<', '<=', 'like'],
+            advancedQueryColumns: [
+                {
+                    label: '朝向',
+                    value: 'faced_name'
+                },
+                {
+                    label: '排序',
+                    value: 'rank'
+                },
+            ],
+            advancedQuerySearchKey: '',
+        }
+    },
+    computed: {
+        ...mapState(['tableHeight']),
+        selection() {
+            return this.$refs.table.selection.map(i => i.id);
+        }
+    },
+    methods: {
+        pageSizeChange(size) {
+            this.currentPage = 1;
+            this.pageSize = size;
+            this.getData();
+        },
+        currentPageChange(page) {
+            this.currentPage = page;
+            this.getData();
+        },
+        getData() {
+            this.$http.get({
+                url: '/facedInfo/page',
+                data: {
+                    currentPage: this.currentPage,
+                    pageNumber: this.pageSize,
+                    searchKey: this.filter1,
+                    advancedQuery: this.advancedQuerySearchKey,
+                }
+            }).then(res => {
+                if (res.success) {
+                    this.totalNumber = res.data.page.totalNumber;
+                    this.tableData = res.data.pp;
+                }
+            })
+        },
+        isColumnShow(column) {
+            var row = this.tableColumns.find(i => i.value === column);
+            return row ? row.show : false;
+        },
+        toggleMultipleMode(multipleMode) {
+            this.multipleMode = multipleMode;
+            if (!multipleMode) {
+                this.$refs.table.clearSelection();
+            }
+        },
+        editRow(row) {
+            this.$router.push({
+                path: '/facedInfo',
+                query: {
+                    id: row.id
+                }
+            })
+        },
+        operation1() {
+            this.$notify({
+                title: '提示',
+                message: this.selection
+            });
+        },
+        operation2() {
+            this.$message('操作2');
+        },
+        addField() {
+            this.advancedQueryFields.push({
+                link: 'AND',
+                name: '',
+                searchMethod: '=',
+                value: '',
+            });
+        },
+        removeField(i) {
+            if (this.advancedQueryFields.length > 0) {
+                this.advancedQueryFields.splice(i, 1);
+            }
+        },
+        advancedQuery() {
+
+            this.advancedQuerySearchKey = '';
+
+            if (this.advancedQueryFields.length > 0) {
+
+                var templist = [];
+
+                this.advancedQueryFields.forEach(item => {
+                    if (item.link && item.name && item.searchMethod && item.value) {
+                        var tempItem = item.link + '_,' + item.name + '_,' + item.searchMethod + '_,' + item.value;
+                        templist.push(tempItem);
+                    }
+                })
+
+                if (templist.length > 0) {
+
+                    this.advancedQuerySearchKey = templist.join('_;');
+                }
+            }
+
+            this.getData();
+            this.showAdvancedQueryDialog = false;
+        },
+        exportExcel() {
+            window.location.href = this.$baseUrl + "/facedInfo/exportExcel?searchKey=" + this.filter1 + "&advancedQuery=" + this.advancedQuerySearchKey
+        },
+
+    }
+}
+</script>
+<style lang="less" scoped>
+</style>

+ 4 - 4
src/main/vue/src/pages/HousingDistricts.vue

@@ -2,8 +2,8 @@
     <div>
         <div class="filters-container">
 
-            <el-input placeholder="关键字" size="small" v-model="filter1" clearable class="filter-item"></el-input>
-            <el-select placeholder="市" size="small" @change="cityChange" filterable clearable v-model="cityCode" class="filter-item">
+            <el-input placeholder="关键字" size="small" v-model="filter1" clearable class="filter-item" style="width:120px"></el-input>
+            <el-select placeholder="市" size="small" @change="cityChange" filterable clearable v-model="cityCode" class="filter-item" style="width:120px">
                 <el-option label="南京" value="320100">
                 </el-option>
 
@@ -13,12 +13,12 @@
                 </el-option>
             </el-select>
 
-            <el-select v-model="districtCode" filterable clearable @change="districtChange" placeholder="区" size="small">
+            <el-select v-model="districtCode" filterable clearable @change="districtChange" placeholder="区" size="small" style="width:140px">
                 <el-option v-for="item in districts" :key="item.code" :label="item.fullName" :value="item.code">
                 </el-option>
             </el-select>
 
-            <el-select v-model="streetCode" filterable clearable placeholder="街道" size="small">
+            <el-select v-model="streetCode" filterable clearable placeholder="街道" size="small" style="width:140px">
                 <el-option v-for="item in streets" :key="item.code" :label="item.fullName" :value="item.code">
                 </el-option>
             </el-select>

+ 26 - 1
src/main/vue/src/router/index.js

@@ -280,7 +280,7 @@ const router = new Router({
                     name: 'feedback',
                     component: () => import('../pages/Feedback')
                 },
-                
+
 
                 //小区
                 {
@@ -329,6 +329,31 @@ const router = new Router({
                     name: 'bannerInfo',
                     component: () => import('../pages/BannerInfo')
                 },
+
+                //朝向
+                {
+                    path: '/facedInfos',
+                    name: 'facedInfos',
+                    component: () => import('../pages/FacedInfos')
+                },
+                {
+                    path: '/facedInfo',
+                    name: 'facedInfo',
+                    component: () => import('../pages/FacedInfo')
+                },
+
+                //公司介绍
+                {
+                    path: '/companyInfos',
+                    name: 'companyInfos',
+                    component: () => import('../pages/CompanyInfos')
+                },
+                {
+                    path: '/companyInfo',
+                    name: 'companyInfo',
+                    component: () => import('../pages/CompanyInfo')
+                },
+
             ]
         },
         {

+ 1 - 1
src/main/webapp/WEB-INF/html/admin.html

@@ -1 +1 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>admin</title><script defer=defer src=https://use.fontawesome.com/releases/v5.0.10/js/all.js integrity=sha384-slN8GvtUJGnv6ca26v8EzVaR9DC58QEwsIk9q1QXdCU8Yu8ck/tL/5szYlBbqmS+ crossorigin=anonymous></script><link href=/static/css/app.4b7d6c8f482bef1fc4ac09bd6de3053c.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.6d93ebb55691a7ee9be8.js></script><script type=text/javascript src=/static/js/vendor.5c8b31b525cf4ff798a3.js></script><script type=text/javascript src=/static/js/app.e8f18f0ce75381abd0a7.js></script></body></html>
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>admin</title><script defer=defer src=https://use.fontawesome.com/releases/v5.0.10/js/all.js integrity=sha384-slN8GvtUJGnv6ca26v8EzVaR9DC58QEwsIk9q1QXdCU8Yu8ck/tL/5szYlBbqmS+ crossorigin=anonymous></script><link href=/static/css/app.4b7d6c8f482bef1fc4ac09bd6de3053c.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.f234410ab69e0fe6d64a.js></script><script type=text/javascript src=/static/js/vendor.5c8b31b525cf4ff798a3.js></script><script type=text/javascript src=/static/js/app.fba85f862f7a89bccc43.js></script></body></html>

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/17.700e6238bffce94bd57a.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/17.700e6238bffce94bd57a.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/17.f7e7938e900cf7a553d7.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/17.f7e7938e900cf7a553d7.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/18.90af47fa42cdc825e86a.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/18.90af47fa42cdc825e86a.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/19.3604f5d9b3ef9bdd423a.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/19.3604f5d9b3ef9bdd423a.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/19.4b7cd1e89f21ede11c19.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/19.4b7cd1e89f21ede11c19.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/20.ee73e98ff2287aef2ed5.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/20.ee73e98ff2287aef2ed5.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/21.a7157cafa7648d1ca1bf.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/21.a7157cafa7648d1ca1bf.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/22.51aa72b0bbeac83a2284.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/22.51aa72b0bbeac83a2284.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/23.fedbbcb28232ae49033b.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/23.fedbbcb28232ae49033b.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/24.031d7341e59ee1a41d41.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/24.031d7341e59ee1a41d41.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/25.ef1c4ad44602e4956793.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/25.ef1c4ad44602e4956793.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/26.41064d35e499b3011207.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/26.41064d35e499b3011207.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/27.a94e0b2ec721ef506317.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/27.a94e0b2ec721ef506317.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/28.f15e5260dd4b1da646e1.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/28.f15e5260dd4b1da646e1.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/29.a3af63792c1f4de4f924.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/29.a3af63792c1f4de4f924.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/29.b6330be4851ba5aeb801.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/29.b6330be4851ba5aeb801.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/30.6b14fba603a151edf9a8.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/30.6b14fba603a151edf9a8.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/31.6e4bb380be15c0db7996.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/31.6e4bb380be15c0db7996.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/32.529e82ae9095b5f777df.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/32.529e82ae9095b5f777df.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/33.dac658bb9e1d2704a193.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/33.dac658bb9e1d2704a193.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/34.2e4d56d3336b48bfa4e3.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/34.2e4d56d3336b48bfa4e3.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/35.7e4d1e441756c019e605.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/35.7e4d1e441756c019e605.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/36.f24c5b0399a341f575eb.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/36.f24c5b0399a341f575eb.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/37.419e82eb115196b211f9.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/37.419e82eb115196b211f9.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/37.f5adac9871673d4a3755.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/37.f5adac9871673d4a3755.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/38.16fb341308bc6ccf8887.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/38.16fb341308bc6ccf8887.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/39.f401d07862e445fae537.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/39.f401d07862e445fae537.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/40.a4fc627c72d79143a551.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/40.a4fc627c72d79143a551.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/41.ab13112a07d0e6c17911.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/41.ab13112a07d0e6c17911.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/42.8429997f89a52fab342f.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/42.9e17e0a330080021695f.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/42.9e17e0a330080021695f.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/43.4ec9410352e656c59eef.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/43.4ec9410352e656c59eef.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/44.f2fb84a47485efd97a63.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/44.f2fb84a47485efd97a63.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/45.e1a5c61a03fecff1d387.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/45.e1a5c61a03fecff1d387.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/46.7c955432d98e56628cd8.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/46.7c955432d98e56628cd8.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/47.832f7677e8366b10eb82.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/47.832f7677e8366b10eb82.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/48.97a83329924313b52fe0.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/48.97a83329924313b52fe0.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/49.f124e9c019cee95b2a37.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/49.f124e9c019cee95b2a37.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/50.ee342f5fb55ee52f836e.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/50.ee342f5fb55ee52f836e.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/51.7be381798089c56ea170.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/51.7be381798089c56ea170.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/52.2c696bc280c1b5c4a5e7.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/main/webapp/static/js/52.2c696bc280c1b5c4a5e7.js.map


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä