Kaynağa Gözat

优化简写标题

java110 3 yıl önce
ebeveyn
işleme
9ffde8969b

+ 64 - 31
java110-bean/src/main/java/com/java110/dto/systemInfo/SystemInfoDto.java

@@ -1,6 +1,7 @@
 package com.java110.dto.systemInfo;
 
 import com.java110.dto.PageDto;
+
 import java.io.Serializable;
 import java.util.Date;
 
@@ -15,16 +16,19 @@ import java.util.Date;
 public class SystemInfoDto extends PageDto implements Serializable {
 
     private String imgUrl;
-private String systemId;
-private String ownerTitle;
-private String defaultCommunityId;
-private String systemTitle;
-private String qqMapKey;
-private String subSystemTitle;
-private String companyName;
-private String mallUrl;
-private String logoUrl;
-private String propertyTitle;
+    private String systemId;
+    private String ownerTitle;
+    private String defaultCommunityId;
+    private String systemTitle;
+
+    private String systemSimpleTitle;
+
+    private String qqMapKey;
+    private String subSystemTitle;
+    private String companyName;
+    private String mallUrl;
+    private String logoUrl;
+    private String propertyTitle;
 
 
     private Date createTime;
@@ -35,67 +39,88 @@ private String propertyTitle;
     public String getImgUrl() {
         return imgUrl;
     }
-public void setImgUrl(String imgUrl) {
+
+    public void setImgUrl(String imgUrl) {
         this.imgUrl = imgUrl;
     }
-public String getSystemId() {
+
+    public String getSystemId() {
         return systemId;
     }
-public void setSystemId(String systemId) {
+
+    public void setSystemId(String systemId) {
         this.systemId = systemId;
     }
-public String getOwnerTitle() {
+
+    public String getOwnerTitle() {
         return ownerTitle;
     }
-public void setOwnerTitle(String ownerTitle) {
+
+    public void setOwnerTitle(String ownerTitle) {
         this.ownerTitle = ownerTitle;
     }
-public String getDefaultCommunityId() {
+
+    public String getDefaultCommunityId() {
         return defaultCommunityId;
     }
-public void setDefaultCommunityId(String defaultCommunityId) {
+
+    public void setDefaultCommunityId(String defaultCommunityId) {
         this.defaultCommunityId = defaultCommunityId;
     }
-public String getSystemTitle() {
+
+    public String getSystemTitle() {
         return systemTitle;
     }
-public void setSystemTitle(String systemTitle) {
+
+    public void setSystemTitle(String systemTitle) {
         this.systemTitle = systemTitle;
     }
-public String getQqMapKey() {
+
+    public String getQqMapKey() {
         return qqMapKey;
     }
-public void setQqMapKey(String qqMapKey) {
+
+    public void setQqMapKey(String qqMapKey) {
         this.qqMapKey = qqMapKey;
     }
-public String getSubSystemTitle() {
+
+    public String getSubSystemTitle() {
         return subSystemTitle;
     }
-public void setSubSystemTitle(String subSystemTitle) {
+
+    public void setSubSystemTitle(String subSystemTitle) {
         this.subSystemTitle = subSystemTitle;
     }
-public String getCompanyName() {
+
+    public String getCompanyName() {
         return companyName;
     }
-public void setCompanyName(String companyName) {
+
+    public void setCompanyName(String companyName) {
         this.companyName = companyName;
     }
-public String getMallUrl() {
+
+    public String getMallUrl() {
         return mallUrl;
     }
-public void setMallUrl(String mallUrl) {
+
+    public void setMallUrl(String mallUrl) {
         this.mallUrl = mallUrl;
     }
-public String getLogoUrl() {
+
+    public String getLogoUrl() {
         return logoUrl;
     }
-public void setLogoUrl(String logoUrl) {
+
+    public void setLogoUrl(String logoUrl) {
         this.logoUrl = logoUrl;
     }
-public String getPropertyTitle() {
+
+    public String getPropertyTitle() {
         return propertyTitle;
     }
-public void setPropertyTitle(String propertyTitle) {
+
+    public void setPropertyTitle(String propertyTitle) {
         this.propertyTitle = propertyTitle;
     }
 
@@ -115,4 +140,12 @@ public void setPropertyTitle(String propertyTitle) {
     public void setStatusCd(String statusCd) {
         this.statusCd = statusCd;
     }
+
+    public String getSystemSimpleTitle() {
+        return systemSimpleTitle;
+    }
+
+    public void setSystemSimpleTitle(String systemSimpleTitle) {
+        this.systemSimpleTitle = systemSimpleTitle;
+    }
 }

+ 68 - 36
java110-bean/src/main/java/com/java110/po/systemInfo/SystemInfoPo.java

@@ -16,7 +16,7 @@
 package com.java110.po.systemInfo;
 
 import java.io.Serializable;
-import java.util.Date;
+
 /**
  * 类表述: Po 数据模型实体对象 基本保持与数据库模型一直 用于 增加修改删除 等时的数据载体
  * add by 吴学文 at 2022-08-16 23:57:44 mail: 928255095@qq.com
@@ -28,90 +28,122 @@ import java.util.Date;
 public class SystemInfoPo implements Serializable {
 
     private String imgUrl;
-private String systemId;
-private String ownerTitle;
-private String defaultCommunityId;
-private String systemTitle;
-private String qqMapKey;
-private String subSystemTitle;
-private String companyName;
-private String mallUrl;
-private String statusCd = "0";
-private String logoUrl;
-private String propertyTitle;
-public String getImgUrl() {
+    private String systemId;
+    private String ownerTitle;
+    private String defaultCommunityId;
+    private String systemTitle;
+
+    private String systemSimpleTitle;
+    private String qqMapKey;
+    private String subSystemTitle;
+    private String companyName;
+    private String mallUrl;
+    private String statusCd = "0";
+    private String logoUrl;
+    private String propertyTitle;
+
+    public String getImgUrl() {
         return imgUrl;
     }
-public void setImgUrl(String imgUrl) {
+
+    public void setImgUrl(String imgUrl) {
         this.imgUrl = imgUrl;
     }
-public String getSystemId() {
+
+    public String getSystemId() {
         return systemId;
     }
-public void setSystemId(String systemId) {
+
+    public void setSystemId(String systemId) {
         this.systemId = systemId;
     }
-public String getOwnerTitle() {
+
+    public String getOwnerTitle() {
         return ownerTitle;
     }
-public void setOwnerTitle(String ownerTitle) {
+
+    public void setOwnerTitle(String ownerTitle) {
         this.ownerTitle = ownerTitle;
     }
-public String getDefaultCommunityId() {
+
+    public String getDefaultCommunityId() {
         return defaultCommunityId;
     }
-public void setDefaultCommunityId(String defaultCommunityId) {
+
+    public void setDefaultCommunityId(String defaultCommunityId) {
         this.defaultCommunityId = defaultCommunityId;
     }
-public String getSystemTitle() {
+
+    public String getSystemTitle() {
         return systemTitle;
     }
-public void setSystemTitle(String systemTitle) {
+
+    public void setSystemTitle(String systemTitle) {
         this.systemTitle = systemTitle;
     }
-public String getQqMapKey() {
+
+    public String getQqMapKey() {
         return qqMapKey;
     }
-public void setQqMapKey(String qqMapKey) {
+
+    public void setQqMapKey(String qqMapKey) {
         this.qqMapKey = qqMapKey;
     }
-public String getSubSystemTitle() {
+
+    public String getSubSystemTitle() {
         return subSystemTitle;
     }
-public void setSubSystemTitle(String subSystemTitle) {
+
+    public void setSubSystemTitle(String subSystemTitle) {
         this.subSystemTitle = subSystemTitle;
     }
-public String getCompanyName() {
+
+    public String getCompanyName() {
         return companyName;
     }
-public void setCompanyName(String companyName) {
+
+    public void setCompanyName(String companyName) {
         this.companyName = companyName;
     }
-public String getMallUrl() {
+
+    public String getMallUrl() {
         return mallUrl;
     }
-public void setMallUrl(String mallUrl) {
+
+    public void setMallUrl(String mallUrl) {
         this.mallUrl = mallUrl;
     }
-public String getStatusCd() {
+
+    public String getStatusCd() {
         return statusCd;
     }
-public void setStatusCd(String statusCd) {
+
+    public void setStatusCd(String statusCd) {
         this.statusCd = statusCd;
     }
-public String getLogoUrl() {
+
+    public String getLogoUrl() {
         return logoUrl;
     }
-public void setLogoUrl(String logoUrl) {
+
+    public void setLogoUrl(String logoUrl) {
         this.logoUrl = logoUrl;
     }
-public String getPropertyTitle() {
+
+    public String getPropertyTitle() {
         return propertyTitle;
     }
-public void setPropertyTitle(String propertyTitle) {
+
+    public void setPropertyTitle(String propertyTitle) {
         this.propertyTitle = propertyTitle;
     }
 
 
+    public String getSystemSimpleTitle() {
+        return systemSimpleTitle;
+    }
 
+    public void setSystemSimpleTitle(String systemSimpleTitle) {
+        this.systemSimpleTitle = systemSimpleTitle;
+    }
 }

+ 133 - 131
java110-db/src/main/resources/mapper/common/SystemInfoV1ServiceDaoImplMapper.xml

@@ -5,156 +5,158 @@
 <mapper namespace="systemInfoV1ServiceDaoImpl">
 
 
-
-
-
     <!-- 保存系统配置信息 add by wuxw 2018-07-03 -->
     <insert id="saveSystemInfoInfo" parameterType="Map">
         insert into system_info(
-img_url,system_id,owner_title,default_community_id,system_title,qq_map_key,sub_system_title,company_name,mall_url,logo_url,property_title
-) values (
-#{imgUrl},#{systemId},#{ownerTitle},#{defaultCommunityId},#{systemTitle},#{qqMapKey},#{subSystemTitle},#{companyName},#{mallUrl},#{logoUrl},#{propertyTitle}
-)
+        img_url,system_id,owner_title,default_community_id,system_title,qq_map_key,sub_system_title,company_name,mall_url,logo_url,property_title,system_simple_title
+        ) values (
+        #{imgUrl},#{systemId},#{ownerTitle},#{defaultCommunityId},#{systemTitle},#{qqMapKey},#{subSystemTitle},#{companyName},#{mallUrl},#{logoUrl},#{propertyTitle} #{systemSimpleTitle}
+        )
     </insert>
 
 
-
     <!-- 查询系统配置信息 add by wuxw 2018-07-03 -->
     <select id="getSystemInfoInfo" parameterType="Map" resultType="Map">
-        select  t.img_url,t.img_url imgUrl,t.system_id,t.system_id systemId,t.owner_title,t.owner_title ownerTitle,t.default_community_id,t.default_community_id defaultCommunityId,t.system_title,t.system_title systemTitle,t.qq_map_key,t.qq_map_key qqMapKey,t.sub_system_title,t.sub_system_title subSystemTitle,t.company_name,t.company_name companyName,t.mall_url,t.mall_url mallUrl,t.status_cd,t.status_cd statusCd,t.logo_url,t.logo_url logoUrl,t.property_title,t.property_title propertyTitle 
-from system_info t 
-where 1 =1 
-<if test="imgUrl !=null and imgUrl != ''">
-   and t.img_url= #{imgUrl}
-</if> 
-<if test="systemId !=null and systemId != ''">
-   and t.system_id= #{systemId}
-</if> 
-<if test="ownerTitle !=null and ownerTitle != ''">
-   and t.owner_title= #{ownerTitle}
-</if> 
-<if test="defaultCommunityId !=null and defaultCommunityId != ''">
-   and t.default_community_id= #{defaultCommunityId}
-</if> 
-<if test="systemTitle !=null and systemTitle != ''">
-   and t.system_title= #{systemTitle}
-</if> 
-<if test="qqMapKey !=null and qqMapKey != ''">
-   and t.qq_map_key= #{qqMapKey}
-</if> 
-<if test="subSystemTitle !=null and subSystemTitle != ''">
-   and t.sub_system_title= #{subSystemTitle}
-</if> 
-<if test="companyName !=null and companyName != ''">
-   and t.company_name= #{companyName}
-</if> 
-<if test="mallUrl !=null and mallUrl != ''">
-   and t.mall_url= #{mallUrl}
-</if> 
-<if test="statusCd !=null and statusCd != ''">
-   and t.status_cd= #{statusCd}
-</if> 
-<if test="logoUrl !=null and logoUrl != ''">
-   and t.logo_url= #{logoUrl}
-</if> 
-<if test="propertyTitle !=null and propertyTitle != ''">
-   and t.property_title= #{propertyTitle}
-</if> 
-order by t.create_time desc
-<if test="page != -1 and page != null ">
-   limit #{page}, #{row}
-</if> 
+        select t.img_url,t.img_url imgUrl,t.system_id,t.system_id systemId,t.owner_title,t.owner_title
+        ownerTitle,t.default_community_id,t.default_community_id defaultCommunityId,t.system_title,t.system_title
+        systemTitle,t.qq_map_key,t.qq_map_key qqMapKey,t.sub_system_title,t.sub_system_title
+        subSystemTitle,t.company_name,t.company_name companyName,t.mall_url,t.mall_url mallUrl,t.status_cd,t.status_cd
+        statusCd,t.logo_url,t.logo_url logoUrl,t.property_title,t.property_title propertyTitle,system_simple_title systemSimpleTitle
+        from system_info t
+        where 1 =1
+        <if test="imgUrl !=null and imgUrl != ''">
+            and t.img_url= #{imgUrl}
+        </if>
+        <if test="systemId !=null and systemId != ''">
+            and t.system_id= #{systemId}
+        </if>
+        <if test="ownerTitle !=null and ownerTitle != ''">
+            and t.owner_title= #{ownerTitle}
+        </if>
+        <if test="defaultCommunityId !=null and defaultCommunityId != ''">
+            and t.default_community_id= #{defaultCommunityId}
+        </if>
+        <if test="systemTitle !=null and systemTitle != ''">
+            and t.system_title= #{systemTitle}
+        </if>
+        <if test="qqMapKey !=null and qqMapKey != ''">
+            and t.qq_map_key= #{qqMapKey}
+        </if>
+        <if test="subSystemTitle !=null and subSystemTitle != ''">
+            and t.sub_system_title= #{subSystemTitle}
+        </if>
+        <if test="companyName !=null and companyName != ''">
+            and t.company_name= #{companyName}
+        </if>
+        <if test="mallUrl !=null and mallUrl != ''">
+            and t.mall_url= #{mallUrl}
+        </if>
+        <if test="statusCd !=null and statusCd != ''">
+            and t.status_cd= #{statusCd}
+        </if>
+        <if test="logoUrl !=null and logoUrl != ''">
+            and t.logo_url= #{logoUrl}
+        </if>
+        <if test="propertyTitle !=null and propertyTitle != ''">
+            and t.property_title= #{propertyTitle}
+        </if>
+        order by t.create_time desc
+        <if test="page != -1 and page != null ">
+            limit #{page}, #{row}
+        </if>
 
     </select>
 
 
-
-
     <!-- 修改系统配置信息 add by wuxw 2018-07-03 -->
     <update id="updateSystemInfoInfo" parameterType="Map">
-        update  system_info t set t.status_cd = #{statusCd}
-<if test="newBId != null and newBId != ''">
-,t.b_id = #{newBId}
-</if> 
-<if test="imgUrl !=null and imgUrl != ''">
-, t.img_url= #{imgUrl}
-</if> 
-<if test="ownerTitle !=null and ownerTitle != ''">
-, t.owner_title= #{ownerTitle}
-</if> 
-<if test="defaultCommunityId !=null and defaultCommunityId != ''">
-, t.default_community_id= #{defaultCommunityId}
-</if> 
-<if test="systemTitle !=null and systemTitle != ''">
-, t.system_title= #{systemTitle}
-</if> 
-<if test="qqMapKey !=null and qqMapKey != ''">
-, t.qq_map_key= #{qqMapKey}
-</if> 
-<if test="subSystemTitle !=null and subSystemTitle != ''">
-, t.sub_system_title= #{subSystemTitle}
-</if> 
-<if test="companyName !=null and companyName != ''">
-, t.company_name= #{companyName}
-</if> 
-<if test="mallUrl !=null and mallUrl != ''">
-, t.mall_url= #{mallUrl}
-</if> 
-<if test="logoUrl !=null and logoUrl != ''">
-, t.logo_url= #{logoUrl}
-</if> 
-<if test="propertyTitle !=null and propertyTitle != ''">
-, t.property_title= #{propertyTitle}
-</if> 
- where 1=1 <if test="systemId !=null and systemId != ''">
-and t.system_id= #{systemId}
-</if> 
+        update system_info t set t.status_cd = #{statusCd}
+        <if test="newBId != null and newBId != ''">
+            ,t.b_id = #{newBId}
+        </if>
+        <if test="imgUrl !=null and imgUrl != ''">
+            , t.img_url= #{imgUrl}
+        </if>
+        <if test="ownerTitle !=null and ownerTitle != ''">
+            , t.owner_title= #{ownerTitle}
+        </if>
+        <if test="defaultCommunityId !=null and defaultCommunityId != ''">
+            , t.default_community_id= #{defaultCommunityId}
+        </if>
+        <if test="systemTitle !=null and systemTitle != ''">
+            , t.system_title= #{systemTitle}
+        </if>
+        <if test="systemSimpleTitle !=null and systemSimpleTitle != ''">
+            , t.system_simple_title= #{systemSimpleTitle}
+        </if>
+        <if test="qqMapKey !=null and qqMapKey != ''">
+            , t.qq_map_key= #{qqMapKey}
+        </if>
+        <if test="subSystemTitle !=null and subSystemTitle != ''">
+            , t.sub_system_title= #{subSystemTitle}
+        </if>
+        <if test="companyName !=null and companyName != ''">
+            , t.company_name= #{companyName}
+        </if>
+        <if test="mallUrl !=null and mallUrl != ''">
+            , t.mall_url= #{mallUrl}
+        </if>
+        <if test="logoUrl !=null and logoUrl != ''">
+            , t.logo_url= #{logoUrl}
+        </if>
+        <if test="propertyTitle !=null and propertyTitle != ''">
+            , t.property_title= #{propertyTitle}
+        </if>
+        where 1=1
+        <if test="systemId !=null and systemId != ''">
+            and t.system_id= #{systemId}
+        </if>
 
     </update>
 
     <!-- 查询系统配置数量 add by wuxw 2018-07-03 -->
-     <select id="querySystemInfosCount" parameterType="Map" resultType="Map">
-        select  count(1) count 
-from system_info t 
-where 1 =1 
-<if test="imgUrl !=null and imgUrl != ''">
-   and t.img_url= #{imgUrl}
-</if> 
-<if test="systemId !=null and systemId != ''">
-   and t.system_id= #{systemId}
-</if> 
-<if test="ownerTitle !=null and ownerTitle != ''">
-   and t.owner_title= #{ownerTitle}
-</if> 
-<if test="defaultCommunityId !=null and defaultCommunityId != ''">
-   and t.default_community_id= #{defaultCommunityId}
-</if> 
-<if test="systemTitle !=null and systemTitle != ''">
-   and t.system_title= #{systemTitle}
-</if> 
-<if test="qqMapKey !=null and qqMapKey != ''">
-   and t.qq_map_key= #{qqMapKey}
-</if> 
-<if test="subSystemTitle !=null and subSystemTitle != ''">
-   and t.sub_system_title= #{subSystemTitle}
-</if> 
-<if test="companyName !=null and companyName != ''">
-   and t.company_name= #{companyName}
-</if> 
-<if test="mallUrl !=null and mallUrl != ''">
-   and t.mall_url= #{mallUrl}
-</if> 
-<if test="statusCd !=null and statusCd != ''">
-   and t.status_cd= #{statusCd}
-</if> 
-<if test="logoUrl !=null and logoUrl != ''">
-   and t.logo_url= #{logoUrl}
-</if> 
-<if test="propertyTitle !=null and propertyTitle != ''">
-   and t.property_title= #{propertyTitle}
-</if> 
+    <select id="querySystemInfosCount" parameterType="Map" resultType="Map">
+        select count(1) count
+        from system_info t
+        where 1 =1
+        <if test="imgUrl !=null and imgUrl != ''">
+            and t.img_url= #{imgUrl}
+        </if>
+        <if test="systemId !=null and systemId != ''">
+            and t.system_id= #{systemId}
+        </if>
+        <if test="ownerTitle !=null and ownerTitle != ''">
+            and t.owner_title= #{ownerTitle}
+        </if>
+        <if test="defaultCommunityId !=null and defaultCommunityId != ''">
+            and t.default_community_id= #{defaultCommunityId}
+        </if>
+        <if test="systemTitle !=null and systemTitle != ''">
+            and t.system_title= #{systemTitle}
+        </if>
+        <if test="qqMapKey !=null and qqMapKey != ''">
+            and t.qq_map_key= #{qqMapKey}
+        </if>
+        <if test="subSystemTitle !=null and subSystemTitle != ''">
+            and t.sub_system_title= #{subSystemTitle}
+        </if>
+        <if test="companyName !=null and companyName != ''">
+            and t.company_name= #{companyName}
+        </if>
+        <if test="mallUrl !=null and mallUrl != ''">
+            and t.mall_url= #{mallUrl}
+        </if>
+        <if test="statusCd !=null and statusCd != ''">
+            and t.status_cd= #{statusCd}
+        </if>
+        <if test="logoUrl !=null and logoUrl != ''">
+            and t.logo_url= #{logoUrl}
+        </if>
+        <if test="propertyTitle !=null and propertyTitle != ''">
+            and t.property_title= #{propertyTitle}
+        </if>
 
 
-     </select>
+    </select>
 
 </mapper>