Commit 3cc52c3f by zhengxj

finish 技工认证 on 20191018 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@24347 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 5ab94b4e
...@@ -24,14 +24,13 @@ ...@@ -24,14 +24,13 @@
*/ */
package com.glsx.usercenter.service.impl; package com.glsx.usercenter.service.impl;
import java.util.Map; import javax.annotation.Resource;
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.glsx.common.utils.map.AMapUtils; import com.glsx.common.utils.map.AMapUtils;
import com.glsx.usercenter.constants.Constants; import com.glsx.usercenter.constants.Constants;
import com.glsx.usercenter.mapper.DictionaryTypeMapper;
import com.glsx.usercenter.mapper.SysMechanicMapper; import com.glsx.usercenter.mapper.SysMechanicMapper;
import com.glsx.usercenter.mapper.SysUserServicesMapper; import com.glsx.usercenter.mapper.SysUserServicesMapper;
import com.glsx.usercenter.pojo.user.SysMechanicEntity; import com.glsx.usercenter.pojo.user.SysMechanicEntity;
...@@ -54,8 +53,6 @@ public class MechanicServiceImpl implements IMechanicService { ...@@ -54,8 +53,6 @@ public class MechanicServiceImpl implements IMechanicService {
@Autowired @Autowired
private SysUserServicesMapper sysUserServicesMapper; private SysUserServicesMapper sysUserServicesMapper;
@Autowired
private AMapUtils mapUtils;
/** /**
...@@ -68,7 +65,7 @@ public class MechanicServiceImpl implements IMechanicService { ...@@ -68,7 +65,7 @@ public class MechanicServiceImpl implements IMechanicService {
// 解析地址信息 // 解析地址信息
/* /*
* Map<String, String> map = * Map<String, String> map =
* mapUtils.parseAddress(sysMechanicEntity.getAddress()); if * AMapUtils.parseAddress(sysMechanicEntity.getAddress()); if
* (map.containsKey("adcode") && !map.get("adcode").isEmpty()) { * (map.containsKey("adcode") && !map.get("adcode").isEmpty()) {
* sysMechanicEntity.setDistrict(map.get("adcode")); } * sysMechanicEntity.setDistrict(map.get("adcode")); }
*/ */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!