|
|
|
@ -470,7 +470,7 @@ public class CustomerService {
|
|
|
|
|
insertRelation.setCreateBy(Constants.SYS_OPERATION);
|
|
|
|
|
insertRelation.setUpdateBy(Constants.SYS_OPERATION);
|
|
|
|
|
insertRelation.setCpUserId(opCustomer.getCpUserId());
|
|
|
|
|
if (isVailCustomer(opCustomer.getId())) {
|
|
|
|
|
if (!isVailCustomer(opCustomer.getId())) {
|
|
|
|
|
//有效
|
|
|
|
|
insertRelation.setType(1);
|
|
|
|
|
} else {
|
|
|
|
@ -506,7 +506,7 @@ public class CustomerService {
|
|
|
|
|
insertRelation.setCpUserId(opCustomer.getCpUserId());
|
|
|
|
|
|
|
|
|
|
//判断是否有效
|
|
|
|
|
if (isVailCustomer(opCustomer.getId())) {
|
|
|
|
|
if (!isVailCustomer(opCustomer.getId())) {
|
|
|
|
|
//有效
|
|
|
|
|
insertRelation.setType(1);
|
|
|
|
|
} else {
|
|
|
|
|