liruilongs / hros Goto Github PK
View Code? Open in Web Editor NEW基于SpringBoot的人事管理系统
基于SpringBoot的人事管理系统
怎么部署呀现在。。。可以给个联系方式吗
查看后端代码,发现执行获取所有用户的sql语句如下
SELECT
hr.id, hr.name, hr.phone, hr.telephone, hr.address, hr.enabled, hr.username, hr.userface, hr.remark, hr.employee_id, hr.work_date, r.id as rid, r.name as rname, r.namezh as rnamezh
FROM hr left join hr_role hrr on hr.id = hrr.hrid left join role r on hrr.rid = r.id
WHERE hr.id != #{id,jdbcType=INTEGER} AND hr.employee_id is NULL
AND hr.name LIKE concat('%',#{name,jdbcType=VARCHAR},'%')
发现要求employee_id要为空,但是在hr实体类的employee_id是int类型,前端发送请求时并没有给emplyee_id赋值,导致后端执行sql语句时employee_id的值为0,而获取所有用户的sql语句的employee_id要求为空
解决办法
修改后端hr实体类employee_id的变量类型为Integer,修改get,set方法的变量类型
修改前端addHr变量的employee_id变量值置为空
api 接口显示401 Unauthorized未授权错误,但是作者大大明明放行了/auth/code接口呀
楼主,你好,问一下这个项目运行的话,需要部署Redis和rabbitMQ吗?我看那部分你已经注释掉了
楼主,你好,问一下这个项目运行的话,我想修改一下前端Vue部分代码,希望可以给个地址分享一下
楼主您好不知道您有没有邮箱之类的联系方式?想youchang要一些项目资料
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.