Commit 99624581 by zhengxj

finish 技工认证 on 20191018 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@24348 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 3cc52c3f
...@@ -69,6 +69,8 @@ public class MechanicServiceImpl implements IMechanicService { ...@@ -69,6 +69,8 @@ public class MechanicServiceImpl implements IMechanicService {
* (map.containsKey("adcode") && !map.get("adcode").isEmpty()) { * (map.containsKey("adcode") && !map.get("adcode").isEmpty()) {
* sysMechanicEntity.setDistrict(map.get("adcode")); } * sysMechanicEntity.setDistrict(map.get("adcode")); }
*/ */
SysMechanicEntity sm = sysMechanicMapper.selectByUserIdAndCheckStatus(sysMechanicEntity.getUserId(), null);
sysMechanicEntity.setId(sm.getId());
sysMechanicEntity.setMechanicStatus(Constants.SYS_USER_STATUS_CHECKING); sysMechanicEntity.setMechanicStatus(Constants.SYS_USER_STATUS_CHECKING);
sysMechanicMapper.updateByPrimaryKeySelective(sysMechanicEntity); sysMechanicMapper.updateByPrimaryKeySelective(sysMechanicEntity);
String[] items = sysMechanicEntity.getServiceItemsKey(); String[] items = sysMechanicEntity.getServiceItemsKey();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!