dev_0531
郑皇 5 years ago
parent 9f517cb5ce
commit 68206c3278

@ -46,6 +46,7 @@ import com.kiisoo.ic.webappmy.vo.StafferInfoVO;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.crypto.hash.SimpleHash;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@ -205,6 +206,7 @@ public class CustomerService {
/**
*
*
* @param turnBackDTOS
* @param eaCode state
*/
@ -237,6 +239,7 @@ public class CustomerService {
PoiStore store = poiStoreDOMapper.selectById(storeId);
String url = storeEmployeeService.createActivityQrCode(turnBackDTOS.getWxData().getUserId(), store.getCode(), 1, instanceId, promoterId);
saveSrc.setQrCode(url);
pmnPromotionSrcService.saveCodeFile(url, new SimpleHash("MD5", state).toHex());
pmnPromotionSrcService.save(saveSrc);
}
}
@ -244,6 +247,7 @@ public class CustomerService {
/**
*
*
* @param turnBackDTOS
*/
private void handleCustomer(TurnBackDTO turnBackDTOS) throws Exception {
@ -406,6 +410,7 @@ public class CustomerService {
/**
*
*
* @param opCustomer
* @param joinTime
* @param shopId
@ -594,6 +599,7 @@ public class CustomerService {
/**
*
*
* @param userId ID
* @param sellerId ID
* @param search

Loading…
Cancel
Save