Browse Source

首页功能入口设置新增字段

dev
yujintao 6 years ago
parent
commit
fa538b72eb
  1. 6
      esua-epdc/epdc-module/epdc-custom/epdc-custom-client/src/main/java/com/elink/esua/epdc/dto/consult/MajorFunctionConfDTO.java
  2. 8
      esua-epdc/epdc-module/epdc-custom/epdc-custom-client/src/main/java/com/elink/esua/epdc/dto/consult/result/CheckStateResultDTO.java
  3. 8
      esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/java/com/elink/esua/epdc/modules/consult/entity/MajorFunctionConfEntity.java
  4. 4
      esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/java/com/elink/esua/epdc/modules/consult/service/impl/MajorFunctionConfServiceImpl.java

6
esua-epdc/epdc-module/epdc-custom/epdc-custom-client/src/main/java/com/elink/esua/epdc/dto/consult/MajorFunctionConfDTO.java

@ -19,6 +19,7 @@ package com.elink.esua.epdc.dto.consult;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date; import java.util.Date;
import lombok.Data; import lombok.Data;
@ -58,6 +59,11 @@ public class MajorFunctionConfDTO implements Serializable {
*/ */
private String externalFlag; private String externalFlag;
/**
* 需要拼接token 01
*/
private String tokenFlag;
/** /**
* 外链访问地址external_flag = 1则非空 * 外链访问地址external_flag = 1则非空
*/ */

8
esua-epdc/epdc-module/epdc-custom/epdc-custom-client/src/main/java/com/elink/esua/epdc/dto/consult/result/CheckStateResultDTO.java

@ -13,15 +13,9 @@ import java.io.Serializable;
public class CheckStateResultDTO implements Serializable { public class CheckStateResultDTO implements Serializable {
private static final long serialVersionUID = -8559260405823478733L; private static final long serialVersionUID = -8559260405823478733L;
/**
* availableFlag : 1
* externalFlag : 0
* externalUrl : http://pyt.kuntowcd.vztgvnx
* name : cadreEvaluationState
*/
private String availableFlag; private String availableFlag;
private String externalFlag; private String externalFlag;
private String tokenFlag;
private String externalUrl; private String externalUrl;
private String name; private String name;
private String imgUrl; private String imgUrl;

8
esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/java/com/elink/esua/epdc/modules/consult/entity/MajorFunctionConfEntity.java

@ -23,7 +23,6 @@ import com.elink.esua.epdc.commons.mybatis.entity.BaseEpdcEntity;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import java.util.Date;
/** /**
* 小程序首页主要功能按钮状态配置 * 小程序首页主要功能按钮状态配置
@ -32,7 +31,7 @@ import java.util.Date;
* @since v1.0.0 2020-03-06 * @since v1.0.0 2020-03-06
*/ */
@Data @Data
@EqualsAndHashCode(callSuper=false) @EqualsAndHashCode(callSuper = false)
@TableName("epdc_major_function_conf") @TableName("epdc_major_function_conf")
public class MajorFunctionConfEntity extends BaseEpdcEntity { public class MajorFunctionConfEntity extends BaseEpdcEntity {
@ -58,6 +57,11 @@ public class MajorFunctionConfEntity extends BaseEpdcEntity {
*/ */
private String externalFlag; private String externalFlag;
/**
* 需要拼接token 01
*/
private String tokenFlag;
/** /**
* 外链访问地址external_flag = 1则非空 * 外链访问地址external_flag = 1则非空
*/ */

4
esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/java/com/elink/esua/epdc/modules/consult/service/impl/MajorFunctionConfServiceImpl.java

@ -115,8 +115,8 @@ public class MajorFunctionConfServiceImpl extends BaseServiceImpl<MajorFunctionC
public Result<List<CheckStateResultDTO>> getCheckState() { public Result<List<CheckStateResultDTO>> getCheckState() {
QueryWrapper queryWrapper = new QueryWrapper(); QueryWrapper queryWrapper = new QueryWrapper();
List list = baseDao.selectList(queryWrapper); List list = baseDao.selectList(queryWrapper);
List<CheckStateResultDTO> checkStateResultDTOS = ConvertUtils.sourceToTarget(list, CheckStateResultDTO.class); List<CheckStateResultDTO> checkStateResults = ConvertUtils.sourceToTarget(list, CheckStateResultDTO.class);
return new Result<List<CheckStateResultDTO>>().ok(checkStateResultDTOS); return new Result<List<CheckStateResultDTO>>().ok(checkStateResults);
} }
} }
Loading…
Cancel
Save