|
@@ -7,6 +7,7 @@ import java.util.stream.Collectors;
|
|
|
import com.ruoyi.common.core.exception.ServiceException;
|
|
import com.ruoyi.common.core.exception.ServiceException;
|
|
|
import com.ruoyi.common.core.utils.DateUtils;
|
|
import com.ruoyi.common.core.utils.DateUtils;
|
|
|
import com.ruoyi.common.security.utils.SecurityUtils;
|
|
import com.ruoyi.common.security.utils.SecurityUtils;
|
|
|
|
|
+import com.ruoyi.logistics.constant.JDDictConstants;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
import com.ruoyi.logistics.mapper.SysDeptRateMapper;
|
|
import com.ruoyi.logistics.mapper.SysDeptRateMapper;
|
|
@@ -240,13 +241,13 @@ public class SysDeptRateServiceImpl implements ISysDeptRateService
|
|
|
if (productType == null) {
|
|
if (productType == null) {
|
|
|
return null;
|
|
return null;
|
|
|
}
|
|
}
|
|
|
- if (productType.equals("ed-m-0001")) {
|
|
|
|
|
|
|
+ if (productType.equals(JDDictConstants.PRODUCT_CODE_ED_M_0001)) {
|
|
|
return "京东标快";
|
|
return "京东标快";
|
|
|
}
|
|
}
|
|
|
- if (productType.equals("ed-m-0002")) {
|
|
|
|
|
|
|
+ if (productType.equals(JDDictConstants.PRODUCT_CODE_ED_M_0002)) {
|
|
|
return "京东特快";
|
|
return "京东特快";
|
|
|
}
|
|
}
|
|
|
- if (productType.equals("fr-m-0004")) {
|
|
|
|
|
|
|
+ if (productType.equals(JDDictConstants.PRODUCT_CODE_FR_M_0004)) {
|
|
|
return "特快重货";
|
|
return "特快重货";
|
|
|
}
|
|
}
|
|
|
return null;
|
|
return null;
|