|
@@ -79,7 +79,7 @@ public class WmDaPharmacyServiceImpl extends ServiceImpl<WmDaPharmacyMapper, WmD
|
|
|
// 根据省市区+详情地址查询药店
|
|
|
WmDaPharmacy query = new WmDaPharmacy();
|
|
|
// 省市区
|
|
|
- if (!StringUtil.isEmpty(wmTaskContent.getTemp7())) {
|
|
|
+ if (StringUtil.isNotBlank(wmTaskContent.getTemp7())) {
|
|
|
String[] citys = wmTaskContent.getTemp7().split("-");
|
|
|
if (citys.length == 3) {
|
|
|
query.setProvince(citys[0]);
|
|
@@ -91,6 +91,8 @@ public class WmDaPharmacyServiceImpl extends ServiceImpl<WmDaPharmacyMapper, WmD
|
|
|
query.setProvince(citys1[0]);
|
|
|
query.setCity(citys1[1]);
|
|
|
query.setArea(citys1[2]);
|
|
|
+ } else {
|
|
|
+ throw new RuntimeException("查询药店数据异常");
|
|
|
}
|
|
|
}
|
|
|
}
|