Commit 56440d47 authored by 李健华's avatar 李健华

修改customerLogin product_login Id为自增

parent d6ec9578
package cn.quantgroup.xyqb.entity; package cn.quantgroup.xyqb.entity;
import java.time.LocalDate;
import java.util.Date; import java.util.Date;
/** /**
...@@ -11,7 +10,7 @@ public class EntityBuilder { ...@@ -11,7 +10,7 @@ public class EntityBuilder {
public static ProductLoginEntity productLogin(String productId, String institutionId, String phoneNo, public static ProductLoginEntity productLogin(String productId, String institutionId, String phoneNo,
Long customerId, String customerName, Integer partitionKey, Long id) { Long customerId, String customerName, Integer partitionKey, Long id) {
ProductLoginEntity entity = new ProductLoginEntity(); ProductLoginEntity entity = new ProductLoginEntity();
entity.setId(id); // entity.setId(id);
entity.setCustomerId(customerId); entity.setCustomerId(customerId);
entity.setCustomerName(customerName); entity.setCustomerName(customerName);
entity.setPhoneNo(phoneNo); entity.setPhoneNo(phoneNo);
......
...@@ -70,7 +70,7 @@ public class OauthLoginInfoServiceImpl implements IOauthLoginInfoService { ...@@ -70,7 +70,7 @@ public class OauthLoginInfoServiceImpl implements IOauthLoginInfoService {
// 添加用户到登录表 // 添加用户到登录表
CustomerLoginEntity customerLogin = new CustomerLoginEntity(); CustomerLoginEntity customerLogin = new CustomerLoginEntity();
customerLogin.setId(atomicSequencer.nextId()); // customerLogin.setId(atomicSequencer.nextId());
customerLogin.setInstitutionId(institutionId); customerLogin.setInstitutionId(institutionId);
customerLogin.setProductId(productId); customerLogin.setProductId(productId);
customerLogin.setCustomerId(customerId); customerLogin.setCustomerId(customerId);
......
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