huwhois 4 gadi atpakaļ
vecāks
revīzija
abec4d415f

+ 2 - 2
src/main/java/io/renren/modules/admin/controller/AttendersController.java

86
    public R save(@RequestBody AttendersEntity attenders) {
86
    public R save(@RequestBody AttendersEntity attenders) {
87
        System.out.println(attenders);
87
        System.out.println(attenders);
88
        if (attenders.getMemberId() == null || attenders.getMemberId()==0) {
88
        if (attenders.getMemberId() == null || attenders.getMemberId()==0) {
89
            MemberEntity ismember = memberService.getByUserName(attenders.getPhone());
89
            boolean ismember = memberService.isMember(attenders.getPhone());
90
            System.out.println(ismember);
90
            System.out.println(ismember);
91
            if (ismember != null) {
91
            if (ismember) {
92
                return R.error("手机号重复");
92
                return R.error("手机号重复");
93
            }
93
            }
94
            MemberEntity member = new MemberEntity();
94
            MemberEntity member = new MemberEntity();