|
|
|
@ -267,14 +267,12 @@ public class UdiInfoController {
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@GetMapping("udiwms/udiinfo/dlLastVersionByDi")
|
|
|
|
|
public BaseResponse dlLastVersionByDi(FilterUdiInfoRequest filterUdiInfoRequest) {
|
|
|
|
|
|
|
|
|
|
if (StrUtil.isEmpty(filterUdiInfoRequest.getNameCode())) {
|
|
|
|
|
return ResultVOUtils.error(500, "DI不能为空!");
|
|
|
|
|
}
|
|
|
|
|
ProductInfoFilterRequest productInfoFilterRequest = new ProductInfoFilterRequest();
|
|
|
|
|
productInfoFilterRequest.setUuid(filterUdiInfoRequest.getNameCode());
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
|
|
BaseResponse<List<ProductInfoEntity>> listBaseResponse = asyncDiDlHelper.dlLastVersionByDi(filterUdiInfoRequest.getNameCode());
|
|
|
|
|
if (listBaseResponse.getCode() == 20000) {
|
|
|
|
|
List<ProductInfoEntity> productInfoEntityList = listBaseResponse.getData();
|
|
|
|
|