Commit cd14c2e0 by huangZW

1111

parent 75c37c57
...@@ -209,7 +209,8 @@ public class AuditApiServiceImpl implements AuditApiService{ ...@@ -209,7 +209,8 @@ public class AuditApiServiceImpl implements AuditApiService{
String arr[] = storeAddress.split(" "); String arr[] = storeAddress.split(" ");
store.setAreaId(areaId); store.setAreaId(areaId);
store.setFullArea(arr[0]); store.setFullArea(arr[0]);
store.setStoreAddress(arr[1]); //避免多个空格造成数据混乱
store.setStoreAddress(storeAddress.substring(storeAddress.indexOf(arr[0])+arr[0].length()+1));
}else if(StoreFieldEnum.STORE_AREA.getValue().equals(changeField)){ }else if(StoreFieldEnum.STORE_AREA.getValue().equals(changeField)){
//门店面积 //门店面积
store.setStoreArea(Double.parseDouble(newValue)); store.setStoreArea(Double.parseDouble(newValue));
......
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