String distributorCode = tProductDetail.getDistributorCode();
disList = tDistributorService.findByProperty("distributorCode", distributorCode);
if (!disList.isEmpty()) {
Long shopId = disList.get(0).getShopId();
if(shopId!=null){
TShopInfo tShopInfo = tShopInfoService.findEntity(shopId);
tProductDetail.setShopCode(tShopInfo.getShopCode());
tProductDetail.setShopName(tShopInfo.getShopName());
}
tProductDetail.setDistributorName(disList.get(0).getDistributorName());
}
productList = tProductInfoService.findByProperty("productCode", productCode);
if (!productList.isEmpty()) {