|
|
@ -49,6 +49,7 @@ import java.util.ArrayList;
|
|
|
|
import java.util.Arrays;
|
|
|
|
import java.util.Arrays;
|
|
|
|
import java.util.Date;
|
|
|
|
import java.util.Date;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
|
|
|
|
|
|
@RestController
|
|
|
|
@RestController
|
|
|
|
public class UdiRelevanceController extends BaseController {
|
|
|
|
public class UdiRelevanceController extends BaseController {
|
|
|
@ -762,6 +763,26 @@ public class UdiRelevanceController extends BaseController {
|
|
|
|
return ResultVOUtils.success(ggxhList);
|
|
|
|
return ResultVOUtils.success(ggxhList);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 查询产品规格型号列表
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param relId
|
|
|
|
|
|
|
|
* @return
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@GetMapping("/udiwms/udiinfo/getGgxhListOptimize")
|
|
|
|
|
|
|
|
public BaseResponse getGgxhListOptimize(String relId) {
|
|
|
|
|
|
|
|
if (StrUtil.isBlank(relId)) {
|
|
|
|
|
|
|
|
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
List<String> ggxhList = udiProductService.getGgxhList(relId);
|
|
|
|
|
|
|
|
List<DictDto> reList = ggxhList.stream().map(s-> {
|
|
|
|
|
|
|
|
DictDto dictDto = new DictDto(s,s);
|
|
|
|
|
|
|
|
return dictDto;
|
|
|
|
|
|
|
|
}).collect(Collectors.toList());
|
|
|
|
|
|
|
|
return ResultVOUtils.success(reList);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//国家库uuid获取产品
|
|
|
|
//国家库uuid获取产品
|
|
|
|
@PostMapping("/udi/udirel/selectOriginuuid")
|
|
|
|
@PostMapping("/udi/udirel/selectOriginuuid")
|
|
|
|
@Log(title = "单据管理", businessType = BusinessType.INSERT)
|
|
|
|
@Log(title = "单据管理", businessType = BusinessType.INSERT)
|
|
|
|