Browse Source

新增、修改、详情、列表增加入参返参floatIconPath

dev_shibei_match
yinzuomei 4 years ago
parent
commit
8a59d06728
  1. 7
      epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/CustomerFootBarDTO.java
  2. 2
      epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/form/CustomerFootBarFormDTO.java
  3. 4
      epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/result/CustomerFootBarResultDTO.java
  4. 8
      epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/entity/CustomerFootBarEntity.java
  5. 1
      epmet-module/oper-customize/oper-customize-server/src/main/resources/db/migration/V0.0.12__add_float_icon_path.sql
  6. 6
      epmet-module/oper-customize/oper-customize-server/src/main/resources/mapper/CustomerFootBarDao.xml

7
epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/CustomerFootBarDTO.java

@ -17,9 +17,10 @@
package com.epmet.dto; package com.epmet.dto;
import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date; import java.util.Date;
import lombok.Data;
/** /**
@ -100,4 +101,8 @@ public class CustomerFootBarDTO implements Serializable {
private Boolean display; private Boolean display;
/**
* 浮起时图标
*/
private String floatIconPath;
} }

2
epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/form/CustomerFootBarFormDTO.java

@ -69,6 +69,8 @@ public class CustomerFootBarFormDTO {
@NotNull(message = "显示状态不能为空", groups = { UpdateDisplayStatusGroup.class }) @NotNull(message = "显示状态不能为空", groups = { UpdateDisplayStatusGroup.class })
private Boolean display; private Boolean display;
@NotBlank(message = "浮起时图标不能为空", groups = { CreateFootBarGroup.class, UpdateFootBarGroup.class })
private String floatIconPath;
/** /**
* 排序索引号dto * 排序索引号dto
*/ */

4
epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/result/CustomerFootBarResultDTO.java

@ -108,4 +108,8 @@ public class CustomerFootBarResultDTO implements Serializable {
private String defaultPageTitle; private String defaultPageTitle;
/**
* 浮起时图标
*/
private String floatIconPath;
} }

8
epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/entity/CustomerFootBarEntity.java

@ -18,13 +18,10 @@
package com.epmet.entity; package com.epmet.entity;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; import com.epmet.commons.mybatis.entity.BaseEpmetEntity;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import java.util.Date;
/** /**
* APP底部菜单栏信息 * APP底部菜单栏信息
* *
@ -80,4 +77,9 @@ public class CustomerFootBarEntity extends BaseEpmetEntity {
*/ */
private Boolean display; private Boolean display;
/**
* 浮起时图标
*/
private String floatIconPath;
} }

1
epmet-module/oper-customize/oper-customize-server/src/main/resources/db/migration/V0.0.12__add_float_icon_path.sql

@ -0,0 +1 @@
alter table customer_foot_bar add COLUMN FLOAT_ICON_PATH VARCHAR(255) COMMENT '凸起时图标路径' AFTER SELECTED_ICON_PATH;

6
epmet-module/oper-customize/oper-customize-server/src/main/resources/mapper/CustomerFootBarDao.xml

@ -95,7 +95,8 @@
created_by, created_by,
created_time, created_time,
updated_by, updated_by,
updated_time updated_time,
FLOAT_ICON_PATH as floatIconPath
FROM FROM
customer_foot_bar customer_foot_bar
<where> <where>
@ -152,7 +153,8 @@
created_by, created_by,
created_time, created_time,
updated_by, updated_by,
updated_time updated_time,
FLOAT_ICON_PATH as floatIconPath
from customer_foot_bar from customer_foot_bar
where CUSTOMER_ID = #{customerId} where CUSTOMER_ID = #{customerId}
and APP_TYPE = #{appType} and APP_TYPE = #{appType}

Loading…
Cancel
Save