Pārlūkot izejas kodu

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

tags/V1.3.3^2
wanjing pirms 1 gada
vecāks
revīzija
015571efb7
7 mainītis faili ar 11 papildinājumiem un 7 dzēšanām
  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 Parādīt failu


+ 6
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/DspCallbackServiceImpl.java Parādīt failu

@@ -183,8 +183,12 @@ public class DspCallbackServiceImpl implements IDspCallbackService {
if (StringUtils.isNotEmpty(questionFile.getQuestionCode())) {
QuestionType questionType = questionTypeMapper.selectOne(Wrappers.<QuestionType>lambdaQuery()
.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());

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/resources/application-dev.yml Parādīt failu

@@ -145,7 +145,7 @@ tuoheng:
pilot-url: http://192.168.11.11:7011/pilot/web/
#airport配置地址
#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:
#上传的服务器上的映射文件夹

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/resources/application-local.yml Parādīt failu

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

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/resources/application-prod.yml Parādīt failu

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

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/resources/application-test.yml Parādīt failu

@@ -145,7 +145,7 @@ tuoheng:
#飞手平台地址
pilot-url: http://172.15.1.11:7011/pilot/web/
#airport配置地址
airport-url: https://airport-test.t-aaron.com
airport-url: https://airport-test.t-aaron.com/airport/admin
# 文件配置
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 Parādīt failu

@@ -11,7 +11,7 @@ import lombok.Getter;
*/
public enum RoleEnum {

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


Notiek ielāde…
Atcelt
Saglabāt