|
|
|
@ -1,17 +1,13 @@
|
|
|
|
|
package com.glxp.api.service.basic;
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
|
|
import com.glxp.api.entity.basic.CompanyProductRelevanceEntity;
|
|
|
|
|
import com.glxp.api.entity.basic.UdiRlSupEntity;
|
|
|
|
|
import cn.hutool.core.util.IdUtil;
|
|
|
|
|
import com.glxp.api.entity.basic.UdiRelevanceEntity;
|
|
|
|
|
import com.glxp.api.entity.basic.UdiRlSupEntity;
|
|
|
|
|
import com.glxp.api.req.basic.UdiInfoExportRequest;
|
|
|
|
|
import com.glxp.api.req.basic.UdiInfoRequest;
|
|
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
|
|
import org.springframework.scheduling.annotation.Async;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
@ -39,6 +35,7 @@ public class CompanyProductsRelService {
|
|
|
|
|
udiRlSupEntity.setUnitFk(udiInfoExportRequest.getUnitFk());
|
|
|
|
|
udiRlSupEntity.setUdiRlIdFk(uuid);
|
|
|
|
|
udiRlSupEntity.setCustomerId(udiInfoExportRequest.getUnitFk());
|
|
|
|
|
udiRlSupEntity.setId(IdUtil.getSnowflakeNextId());
|
|
|
|
|
boolean b = udiRlSupService.insertCompanyProductRelevance(udiRlSupEntity);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|