|
|
@@ -77,7 +77,7 @@ public class YongHService {
|
|
|
System.out.println(res);
|
|
|
YongHResp resp= FlexJsonUtil.fromJson(res, YongHResp.class);
|
|
|
if("1".equals(resp.getResults().getResult().getLevel())){
|
|
|
- baseDao.updateByCondition("employee","EM_YONGHONGID=''","em_code='"+employee.getEm_code()+"'");
|
|
|
+ baseDao.updateByCondition("employee","em_isyonghong=0,EM_YONGHONGID=''","em_code='"+employee.getEm_code()+"'");
|
|
|
return true;
|
|
|
}else{
|
|
|
logger.info("yonghong删除用户失败,token:{},message:{}",token,resp.getResults().getResult().getMessage());
|