上传代码

hehai
jiakun.lin 4 years ago
parent 3776011f28
commit 03ecbe11ce
  1. 5
      src/main/java/com/msdw/tms/service/impl/UserInfoServiceImpl.java
  2. 2
      src/main/resources/mapper/tms/UserInfoDao.xml

@ -230,9 +230,6 @@ public class UserInfoServiceImpl extends ServiceImpl<UserInfoDao, UserInfoEntity
@Override @Override
public Integer queryAccountExist(String account) { public Integer queryAccountExist(String account) {
Integer num = userInfoDao.queryAccountExist(account); return userInfoDao.queryAccountExist(account);
return num;
} }
} }

@ -292,7 +292,7 @@
</select> </select>
<select id="queryAccountExist" resultType="java.lang.Integer"> <select id="queryAccountExist" resultType="java.lang.Integer">
SELECT count(*) FROM hr_user_info where account = 223 and isdel = 0 SELECT count(*) FROM hr_user_info where account = #{account} and isdel = 0
</select> </select>
</mapper> </mapper>
Loading…
Cancel
Save