| | |
| | | |
| | | import com.matrix.biz.bean.BizUser; |
| | | import com.matrix.biz.service.BizUserService; |
| | | import com.matrix.core.exception.GlobleException; |
| | | import com.matrix.core.tools.LogUtil; |
| | | import com.matrix.core.tools.StringUtils; |
| | | import com.matrix.system.common.constance.AppConstance; |
| | |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.io.IOException; |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | |
| | | ShopSku shopSku = shopSkuDao.selectById(orderItemDto.getsId()); |
| | | |
| | | if (StringUtils.isBlank(shopSku.getStockCode())) { |
| | | LogUtil.warn("销售产品未绑定erp中的产品,无法进行同步"); |
| | | throw new GlobleException("销售产品未绑定erp中的产品,无法进行同步"); |
| | | } |
| | | |
| | | String goodsCode =shopSku.getStockCode(); |