@@ -19,7 +19,10 @@
<div class="form-group">
<label class="col-sm-3 control-label">会员等级:</label>
<div class="col-sm-8">
- <input name="vipLevel" th:field="*{vipLevel}" class="form-control" type="text">
+ <select name="vipLevel" class="form-control" th:with="type=${@dict.getType('vip_level')}">
+ <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{vipLevel}"></option>
+ </select>
+<!-- <input name="vipLevel" th:field="*{vipLevel}" class="form-control" type="text">-->
</div>
@@ -96,6 +96,8 @@ public class UserMembershipCard extends BaseEntity {
private String cardInfoId;
+ private String file;
+
public UserMembershipCard(String userId, String id, Integer totalNumber, String version, String state, Date nowDate, String cardInfoId) {
this.userId = userId;
this.recordId = id;
@@ -22,6 +22,7 @@
<result property="cardInfoId" column="card_info_id"/>
<result property="cardName" column="card_name"/>
<result property="notes" column="notes"/>
+ <result property="file" column="file"/>
</resultMap>
<sql id="selectUserMembershipCardVo">
@@ -51,7 +52,8 @@
c.total_number,
c.type card_type,
c.name card_name,
- c.notes
+ c.notes,
+ c.file
FROM
user_membership_card a
inner join sys_member b on a.user_id = b.id