fix
Helius
2021-12-06 bf3d05a7b28f505f77734a2f12ad44f06c781ab5
gc-order/src/main/java/com/xzx/gc/order/service/PartnerGaodeService.java
@@ -8,6 +8,7 @@
import com.xzx.gc.model.order.FenceDto;
import com.xzx.gc.order.mapper.AddressMapper;
import com.xzx.gc.order.mapper.PartnerGaodeMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -15,6 +16,7 @@
import java.util.List;
@Slf4j
@Service
@Transactional(rollbackFor = Exception.class)
public class PartnerGaodeService {
@@ -51,6 +53,7 @@
     * @return
     */
    public String findPartnerIdByUserId(String userId,int type){
        log.info("userId ---->{}", userId);
        if(type==0){
            AddressInfo byUserId = addressService.findByUserId(userId);
            if(byUserId!=null){