|
@@ -442,8 +442,10 @@ public class GoodsLogic {
|
|
|
AdminCompanyWechat adminCompanyWechat = adminCompanyWechatService.getById(s);
|
|
|
name = name+adminCompanyWechat.getCompanyName()+",";
|
|
|
}
|
|
|
-
|
|
|
- goodsBean.setPutCompanyName(name);
|
|
|
+ String result = name.substring(0, name.length() - 1);
|
|
|
+ goodsBean.setPutCompanyName(result);
|
|
|
+ goodsBean.setCompanyName(result);
|
|
|
+ goodsBean.setCompanyWechatId(goodsBean.getPutCompanyId());
|
|
|
}
|
|
|
|
|
|
GoodsCategory goodsCategory = goodsCategoryService.getById(goodsBean.getCategoryId());
|
|
@@ -596,8 +598,10 @@ public class GoodsLogic {
|
|
|
AdminCompanyWechat adminCompanyWechat = adminCompanyWechatService.getById(s);
|
|
|
name = name+adminCompanyWechat.getCompanyName()+",";
|
|
|
}
|
|
|
-
|
|
|
- goodsBean.setPutCompanyName(name);
|
|
|
+ String result = name.substring(0, name.length() - 1);
|
|
|
+ goodsBean.setPutCompanyName(result);
|
|
|
+ goodsBean.setCompanyName(result);
|
|
|
+ goodsBean.setCompanyWechatId(goodsBean.getPutCompanyId());
|
|
|
}
|
|
|
|
|
|
final AdminCompanyWechat companyWechat = adminCompanyWechatService.getById(adminUser.getLoginCompanyWechatId());
|