|
|
@ -28,7 +28,8 @@ import java.util.stream.Collectors; |
|
|
|
public class SalesOrderDetailUpdateEAIService extends AbsEAIService { |
|
|
|
|
|
|
|
@Resource |
|
|
|
SalesOrderDetailRepository salesOrderDetailRepository; |
|
|
|
SalesOrderDetailService salesOrderDetailService; |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
public String getServiceName() { |
|
|
@ -46,10 +47,11 @@ public class SalesOrderDetailUpdateEAIService extends AbsEAIService { |
|
|
|
SalesOrderDetailEntity salesOrderDetailEntity = new SalesOrderDetailEntity(); |
|
|
|
salesOrderDetailEntity.setId(assemble.getId()); |
|
|
|
salesOrderDetailEntity.setTenantSid(1L); |
|
|
|
salesOrderDetailEntity.setStatus(2); |
|
|
|
return salesOrderDetailEntity; |
|
|
|
}).collect(Collectors.toList()); |
|
|
|
|
|
|
|
salesOrderDetailRepository.updateStatus(salesOrderDetailEntityList); |
|
|
|
salesOrderDetailService.updateBatchById(salesOrderDetailEntityList); |
|
|
|
|
|
|
|
return EAIUtil.buildEAIResult(new HashMap<>()); |
|
|
|
} |
|
|
|