Browse Source

图片配置 增加图片编码选项

feature/syp_points
zhangyongzhangyong 5 years ago
parent
commit
8b805e7065
  1. 4
      esua-epdc/epdc-module/epdc-api/epdc-api-client/src/main/java/com/elink/esua/epdc/dto/ImgConfigDTO.java
  2. 5
      esua-epdc/epdc-module/epdc-api/epdc-api-client/src/main/java/com/elink/esua/epdc/dto/result/EpdcImgConfigResultDTO.java
  3. 4
      esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/entity/ImgConfigEntity.java
  4. 5
      esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/resources/mapper/ImgConfigDao.xml

4
esua-epdc/epdc-module/epdc-api/epdc-api-client/src/main/java/com/elink/esua/epdc/dto/ImgConfigDTO.java

@ -83,4 +83,8 @@ public class ImgConfigDTO implements Serializable {
*/
private Date updatedTime;
/**
* 图片地址
*/
private String imgCode;
}

5
esua-epdc/epdc-module/epdc-api/epdc-api-client/src/main/java/com/elink/esua/epdc/dto/result/EpdcImgConfigResultDTO.java

@ -24,4 +24,9 @@ public class EpdcImgConfigResultDTO implements Serializable {
* 图片类型
*/
private String imgType;
/**
* 图片地址
*/
private String imgCode;
}

4
esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/entity/ImgConfigEntity.java

@ -53,4 +53,8 @@ public class ImgConfigEntity extends BaseEpdcEntity {
*/
private Integer sort;
/**
* 图片地址
*/
private String imgCode;
}

5
esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/resources/mapper/ImgConfigDao.xml

@ -14,6 +14,7 @@
<result property="createdTime" column="CREATED_TIME"/>
<result property="updatedBy" column="UPDATED_BY"/>
<result property="updatedTime" column="UPDATED_TIME"/>
<result property="imgCode" column="IMG_CODE"/>
</resultMap>
<select id="selectListImgConfig" resultType="com.elink.esua.epdc.dto.ImgConfigDTO">
@ -22,6 +23,7 @@
IMG_TYPE imgType,
IMG_URL imgUrl,
SORT sort,
IMG_CODE imgCode,
CREATED_TIME createdTime
FROM
`epdc_img_config`
@ -35,7 +37,8 @@
<select id="selectListImgConfigByImgType" resultType="com.elink.esua.epdc.dto.result.EpdcImgConfigResultDTO">
SELECT
IMG_URL imgUrl,
IMG_TYPE imgType
IMG_TYPE imgType,
IMG_CODE imgCode
FROM
`epdc_img_config`
WHERE DEL_FLAG = 0

Loading…
Cancel
Save