Commit e3189c8f by fudahua

门店信息包含总部还是代理信息

parent 0ca4a35b
......@@ -220,7 +220,7 @@ public class MaterialController extends WebBaseController{
public HaobanResponse materialShare(String materialIds, String toWxEnterpriseIds) {
LoginVO login = (LoginVO) AuthRequestUtil.getLoginUser();
String[] wxEids = toWxEnterpriseIds.split(",");
String[] maIds = toWxEnterpriseIds.split(",");
String[] maIds = materialIds.split(",");
for (String maId : maIds) {
for (String wxEid : wxEids) {
ServiceResponse<Void> response = materialApiService.shareMaterial(login.getWxEnterpriseId(), wxEid, maId);
......
......@@ -15,6 +15,16 @@ public class LoginVO implements Serializable{
private String wxEnterpriseId;
private Integer wxEnterpriseType;
public Integer getWxEnterpriseType() {
return wxEnterpriseType;
}
public void setWxEnterpriseType(Integer wxEnterpriseType) {
this.wxEnterpriseType = wxEnterpriseType;
}
public StaffDTO getStaffDTO() {
return staffDTO;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment