删除客户导购关系

dev_0531
yechenhao 5 years ago
parent 9ecb636e5a
commit 970dbe0b57

@ -188,6 +188,7 @@ public class CustomerService {
/** /**
* *
*
* @param turnBackDTOS * @param turnBackDTOS
* @param eaCode state * @param eaCode state
*/ */
@ -202,6 +203,7 @@ public class CustomerService {
/** /**
* *
*
* @param turnBackDTOS * @param turnBackDTOS
*/ */
private void handleCustomer(TurnBackDTO turnBackDTOS) throws Exception { private void handleCustomer(TurnBackDTO turnBackDTOS) throws Exception {
@ -219,6 +221,7 @@ public class CustomerService {
/** /**
* *
*
* @param turnBackDTOS * @param turnBackDTOS
* @throws Exception * @throws Exception
* @author dexiang.jiang * @author dexiang.jiang
@ -279,9 +282,10 @@ public class CustomerService {
insertCustomer.setShopName(shop.getName()); insertCustomer.setShopName(shop.getName());
} }
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
if (turnBackDTOS.getJoinTime() != null){ if (StringUtils.isNotBlank(turnBackDTOS.getJoinTime())) {
insertCustomer.setCreateTime(sdf.parse(turnBackDTOS.getJoinTime())); insertCustomer.setCreateTime(sdf.parse(turnBackDTOS.getJoinTime()));
} else { } else {
log.error("没有jointime"+new Gson().toJson(turnBackDTOS));
return; return;
} }
if (null != opCustomer) { if (null != opCustomer) {
@ -346,6 +350,7 @@ public class CustomerService {
/** /**
* *
*
* @param turnBackDTOS * @param turnBackDTOS
* @throws Exception * @throws Exception
* @author dexiang.jiang * @author dexiang.jiang
@ -437,6 +442,7 @@ public class CustomerService {
/** /**
* *
*
* @param opCustomer * @param opCustomer
* @param joinTime * @param joinTime
* @param shopId * @param shopId
@ -628,6 +634,7 @@ public class CustomerService {
/** /**
* *
*
* @param userId ID * @param userId ID
* @param sellerId ID * @param sellerId ID
* @param search * @param search

Loading…
Cancel
Save