|
|
|
@ -5,6 +5,7 @@ import com.glxp.api.dao.auth.CustomerInfoDao;
|
|
|
|
|
|
|
|
|
|
import com.glxp.api.entity.auth.CustomerInfoEntity;
|
|
|
|
|
|
|
|
|
|
import com.glxp.api.entity.sup.UserCompanyEntity;
|
|
|
|
|
import com.glxp.api.service.auth.CustomerInfoService;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
@ -25,8 +26,8 @@ public class CustomerInfoServiceImpl implements CustomerInfoService {
|
|
|
|
|
return customerInfoDao.updateCustomerInfo(customerInfoEntity);
|
|
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
public CustomerInfoEntity selectById(String customerId) {
|
|
|
|
|
return customerInfoDao.selectById(customerId);
|
|
|
|
|
public UserCompanyEntity selectById(String customerId) {
|
|
|
|
|
return customerInfoDao.selectByUserId(customerId);
|
|
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
public CustomerInfoEntity findByCustomerId(String customerId) {
|
|
|
|
|