|
@@ -423,15 +423,6 @@ public class GoodsLogic {
|
|
|
if (StringUtils.isNotBlank(goodsBean.getUmsDiscountCode()) && !UMSDiscountCodeEnum.existDiscountCodeByCode(goodsBean.getUmsDiscountCode())) {
|
|
|
throw new RemoteServiceException("补贴品类不存在");
|
|
|
}
|
|
|
- //设置企业微信id
|
|
|
- AdminUserCom adminUser = commonLogic.getAdminUser(request);
|
|
|
- if (StringUtils.isEmpty(adminUser.getLoginCompanyWechatId())) {
|
|
|
- throw new RemoteServiceException("无效微信企业id");
|
|
|
- }
|
|
|
- goodsBean.setCompanyWechatId(adminUser.getLoginCompanyWechatId());
|
|
|
- goodsBean.setCompanyName(adminUser.getLoginCompanyName());
|
|
|
-
|
|
|
- final AdminCompanyWechat companyWechat = adminCompanyWechatService.getById(adminUser.getLoginCompanyWechatId());
|
|
|
|
|
|
Date creatDate = new Date();
|
|
|
List<GoodsSpec> goodsSpecList = goodsBean.getGoodsSpecs();
|