会销来源ID变更
This commit is contained in:
@@ -35,6 +35,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.collections4.CollectionUtils;
|
||||
import org.apache.commons.lang3.ObjectUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
@@ -85,8 +86,8 @@ public class ExhibitionServiceImpl implements ExhibitionService {
|
||||
|
||||
@Resource
|
||||
HyPartnerUserInfoDAO hyPartnerUserInfoDAO;
|
||||
// @Value("${offline.exhibition.channel.id}")
|
||||
// private Integer offlineExhibition;
|
||||
@Value("${offline.exhibition.channel.id:null}")
|
||||
private String offlineExhibition;
|
||||
|
||||
@Override
|
||||
@Transactional
|
||||
@@ -533,7 +534,7 @@ public class ExhibitionServiceImpl implements ExhibitionService {
|
||||
partnerId = UUIDUtils.get32UUID();
|
||||
HyPartnerUserInfoDO resultUser = new HyPartnerUserInfoDO();
|
||||
resultUser.setUsername(signUpExhibitionDTO.getPartnerName()).setMobile(signUpExhibitionDTO.getMobile()).setPartnerId(partnerId).setCreateTime(new Date())
|
||||
.setWantShopArea(signUpExhibitionDTO.getWantShopArea()).setUserChannelId(111111111);
|
||||
.setWantShopArea(signUpExhibitionDTO.getWantShopArea()).setUserChannelId(Integer.valueOf(offlineExhibition));
|
||||
hyPartnerUserInfoDAO.insertSelective(resultUser);
|
||||
}
|
||||
HyPartnerLineInfoDO resultLine = new HyPartnerLineInfoDO();
|
||||
|
||||
Reference in New Issue
Block a user