Commit e580d97a by tangzhaoqian Committed by 284718418@qq.com

绩效管理、员工管理bug修复

parent 8100b8e6
......@@ -93,7 +93,7 @@ public interface YgEnumInterface {
*/
@Getter
enum jobStatus implements YgEnumInterface {
SHIYONG(1, "试用"), ZHENSHI(2, "正式"), LIZHIZHONG(3, "离职中"), YILIZHI(4, "已离职");
SHIYONG(0, "试用"), ZHENSHI(1, "正式"), LIZHIZHONG(2, "离职中"), YILIZHI(3, "已离职");
private Integer type;
......
......@@ -874,6 +874,10 @@ public class LoginController {
String phone = entRegisterDto.getPhone();
String pw = entRegisterDto.getPw();
if (phone == null || "".equals(phone) ) {
return ResultUtil.error("手机号不能为空!");
}
if (phone == null || "".equals(phone)) {
return ResultUtil.error("手机号不能为空!");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment