Browse Source

信息中心广告界面新增排序字段(暂不做)

JiangChongBo 2 years ago
parent
commit
706da78fbc

+ 8 - 1
src/main/java/com/caimei/modules/info/entity/InfoAd.java

@@ -20,7 +20,14 @@ public class InfoAd extends DataEntity<InfoAd> {
 	private String guidanceImage;		// 引导图
 	private Long clickRate;		// 点击量
 	private String enabledStatus;		// 启用/禁用状态
-	
+//	private String soft;      //排序值
+//	public void setSoft(String soft) {
+//		this.soft = soft;
+//	}
+//
+//	public String getSoft() {
+//		return soft;
+//	}
 	public InfoAd() {
 		super();
 	}

+ 1 - 0
src/main/resources/mappings/modules/info/InfoAdMapper.xml

@@ -6,6 +6,7 @@
 		a.id AS "id",
 		a.serviceObject AS "serviceObject",
 		a.link AS "link",
+-- 		a.soft as "soft",
 		a.location AS "location",
 		a.recommendContent AS "recommendContent",
 		a.title AS "title",

+ 4 - 0
src/main/webapp/WEB-INF/views/modules/info/infoAdList.jsp

@@ -79,6 +79,7 @@
 				<th>广告位置</th>
 				<th>引导图</th>
 				<th>链接</th>
+<%--				<th>排序</th>--%>
 				<th>点击量</th>
 				<th>添加时间</th>
 				<th>状态</th>
@@ -101,6 +102,9 @@
 				<td>
 					${infoAd.link}
 				</td>
+<%--				<td>--%>
+<%--						<input id="soft" value="${infoAd.soft}" onblur="savaSoftValue()">--%>
+<%--				</td>--%>
 				<td>
 					${empty infoAd.clickRate?0:(infoAd.clickRate)}
 				</td>