| | |
| | | if (null != phone){ |
| | | return 5001; |
| | | } |
| | | }else { |
| | | TAppUser phone = appUserService.getOne(new QueryWrapper<TAppUser>().eq("phone", query.getPhone())); |
| | | if (null != phone){ |
| | | return 5001; |
| | | } |
| | | } |
| | | |
| | | query.setIsVip(0); |
| | | query.setPassword("111111"); |
| | | query.setInsertTime(new Date()); |
| | |
| | | SimpleDateFormat format2 = new SimpleDateFormat("yyyy-MM-dd"); |
| | | String format3 = format2.format(data.getVipEndTime()); |
| | | model.addAttribute("vipEndTime",format3); |
| | | }else { |
| | | model.addAttribute("vipEndTime",""); |
| | | |
| | | } |
| | | if (data.getViplevelId()!=null){ |
| | | // todo创建会员等级表 |
| | |
| | | <label class="col-sm-3 control-label">*性别:</label> |
| | | <div class="col-sm-9"> |
| | | <select style="width: 300px" class="form-control" id="gender" name = "gender"> |
| | | <option value="" style="color: #b6b6b6" disabled selected>请选择性别</option> |
| | | <option value="1">男</option> |
| | | <option value="2">女</option> |
| | | </select> |
| | |
| | | private String type; |
| | | @ApiModelProperty("跳转页面Id") |
| | | private Integer turnId; |
| | | @ApiModelProperty("跳转模块") |
| | | private String model; |
| | | } |
| | |
| | | where position = 6 |
| | | </select> |
| | | <select id="list1" resultType="com.dsh.other.model.BannerVo"> |
| | | select tb.id as id,tb.img as img, tb.page as page,tb.name as name,tb.type as type,tb.typeId as turnId |
| | | select tb.id as id,tb.img as img, tb.page as page,tb.name as name,tb.type as type,tb.turnId as turnId , tb.model as model |
| | | from t_banner tb |
| | | where tb.position = #{position} |
| | | </select> |