Browse Source

优化DSP分析出问题,问题在业务系统不存在问题

tags/V1.3.3^2
wanjing 1 year ago
parent
commit
015571efb7
7 changed files with 11 additions and 7 deletions
  1. +0
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/enums/DataPermissionEnum.java
  2. +6
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/DspCallbackServiceImpl.java
  3. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/resources/application-dev.yml
  4. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/resources/application-local.yml
  5. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/resources/application-prod.yml
  6. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/resources/application-test.yml
  7. +1
    -1
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/enums/DataPermissionEnum.java

tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/enums/RoleEnum.java → tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/enums/DataPermissionEnum.java View File


+ 6
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/DspCallbackServiceImpl.java View File

if (StringUtils.isNotEmpty(questionFile.getQuestionCode())) { if (StringUtils.isNotEmpty(questionFile.getQuestionCode())) {
QuestionType questionType = questionTypeMapper.selectOne(Wrappers.<QuestionType>lambdaQuery() QuestionType questionType = questionTypeMapper.selectOne(Wrappers.<QuestionType>lambdaQuery()
.eq(QuestionType::getCode, questionFile.getQuestionCode()) .eq(QuestionType::getCode, questionFile.getQuestionCode())
.eq(QuestionType::getMark, 1));
inspectionFile.setQuestionId(questionType.getId());
.eq(QuestionType::getMark, MarkEnum.VALID.getCode()));
if (ObjectUtil.isNotEmpty(questionType)) {
inspectionFile.setQuestionId(questionType.getId());
} else {
log.info("该问题类型不存在,questionCode={}", questionFile.getQuestionCode());
}
} }
// 问题名称 // 问题名称
inspectionFile.setQuestionName(questionFile.getQuestionName()); inspectionFile.setQuestionName(questionFile.getQuestionName());

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/resources/application-dev.yml View File

pilot-url: http://192.168.11.11:7011/pilot/web/ pilot-url: http://192.168.11.11:7011/pilot/web/
#airport配置地址 #airport配置地址
#airport-url: http://192.168.11.22:9060 #airport-url: http://192.168.11.22:9060
airport-url: https://airport-test.t-aaron.com
airport-url: http://192.168.11.11:7011/airport/admin
# 文件配置 # 文件配置
uploads: uploads:
#上传的服务器上的映射文件夹 #上传的服务器上的映射文件夹

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/resources/application-local.yml View File

#飞手平台地址 #飞手平台地址
pilot-url: http://192.168.11.241:7011/pilot/web/ pilot-url: http://192.168.11.241:7011/pilot/web/
#airport配置地址 #airport配置地址
airport-url: http://192.168.11.22:9060
airport-url: http://192.168.11.11:7011/airport/admin
# 文件配置 # 文件配置
uploads: uploads:
#上传的服务器上的映射文件夹 #上传的服务器上的映射文件夹

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/resources/application-prod.yml View File

#飞手平台地址 #飞手平台地址
pilot-url: https://pilot.t-aaron.com/pilot/web/ pilot-url: https://pilot.t-aaron.com/pilot/web/
#airport配置地址 #airport配置地址
airport-url: https://airport.t-aaron.com
airport-url: https://airport.t-aaron.com/api
# 文件配置 # 文件配置
uploads: uploads:
#上传的服务器上的映射文件夹 #上传的服务器上的映射文件夹

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/resources/application-test.yml View File

#飞手平台地址 #飞手平台地址
pilot-url: http://172.15.1.11:7011/pilot/web/ pilot-url: http://172.15.1.11:7011/pilot/web/
#airport配置地址 #airport配置地址
airport-url: https://airport-test.t-aaron.com
airport-url: https://airport-test.t-aaron.com/airport/admin
# 文件配置 # 文件配置
uploads: uploads:
#上传的服务器上的映射文件夹 #上传的服务器上的映射文件夹

tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/enums/RoleEnum.java → tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/enums/DataPermissionEnum.java View File

*/ */
public enum RoleEnum { public enum RoleEnum {


SUPER_ADMIN(1,"超级管理员"),
ALL(1,"超级管理员"),
ADMIN(2,"管理员"), ADMIN(2,"管理员"),
ORDINARY_USER(3,"普通用户"); ORDINARY_USER(3,"普通用户");



Loading…
Cancel
Save