Browse Source

bug修复

master
clong 1 year ago
parent
commit
060178f31a
2 changed files with 4 additions and 1 deletions
  1. +2
    -0
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/infra/constant/ParameterConstant.java
  2. +2
    -1
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/order/SalesOrderDetailGetEAIService.java

+ 2
- 0
demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/infra/constant/ParameterConstant.java View File

@ -9,5 +9,7 @@ public class ParameterConstant {
public static final String OPTION = "option";
public static final String STATUS = "status";
public static final String SET_NUMBER = "1";
}

+ 2
- 1
demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/order/SalesOrderDetailGetEAIService.java View File

@ -47,7 +47,8 @@ public class SalesOrderDetailGetEAIService extends AbsEAIService {
.eq(SalesOrderDetailEntity::getTenantSid,0L);
}else{
queryWrapper = Wrappers.<SalesOrderDetailEntity>lambdaQuery()
.eq(SalesOrderDetailEntity::getTenantSid,1L);
.eq(SalesOrderDetailEntity::getTenantSid,1L)
.eq(SalesOrderDetailEntity::getStatus,request.getParameter().get(ParameterConstant.STATUS));
}
List<SalesOrderDetailEntity> list = salesOrderDetailService.list(queryWrapper);


Loading…
Cancel
Save