Authored by Lixiaodi

Merge branch 'master' of http://git.yoho.cn/ufo/ufo-platform

@@ -109,7 +109,7 @@ @@ -109,7 +109,7 @@
109 </select> 109 </select>
110 110
111 <select id="selectStoragePriceCount" resultType="java.lang.Integer"> 111 <select id="selectStoragePriceCount" resultType="java.lang.Integer">
112 - select count(*) from from storage_price where <include refid="skupPageCondition2" /> 112 + select count(*) from storage_price where <include refid="skupPageCondition2" />
113 </select> 113 </select>
114 114
115 <select id="selectStoragePriceList" resultMap="BaseResultMap"> 115 <select id="selectStoragePriceList" resultMap="BaseResultMap">
@@ -42,9 +42,9 @@ @@ -42,9 +42,9 @@
42 LEFT JOIN brand 42 LEFT JOIN brand
43 ON product.brand_id = brand.id 43 ON product.brand_id = brand.id
44 LEFT JOIN product_sort sort1 44 LEFT JOIN product_sort sort1
45 - ON product.series_id = sort1.id 45 + ON product.mid_sort_id = sort1.id
46 LEFT JOIN product_sort sort2 46 LEFT JOIN product_sort sort2
47 - ON sort1.parent_id=sort2.id 47 + ON product.max_sort_id = sort2.id
48 </sql> 48 </sql>
49 49
50 <select id="selectProductDetailsCount" resultType="integer"> 50 <select id="selectProductDetailsCount" resultType="integer">
@@ -32,6 +32,7 @@ @@ -32,6 +32,7 @@
32 32
33 <a id="searchLinkButton" class="easyui-linkbutton btn-info" data-options="iconCls:'icon-search'">筛选</a> 33 <a id="searchLinkButton" class="easyui-linkbutton btn-info" data-options="iconCls:'icon-search'">筛选</a>
34 <a id="searchAllLinkButton" class="easyui-linkbutton btn-info" data-options="iconCls:'icon-search'">全部</a> 34 <a id="searchAllLinkButton" class="easyui-linkbutton btn-info" data-options="iconCls:'icon-search'">全部</a>
  35 + <a id="returnList" class="easyui-linkbutton btn-info" data-options="iconCls:'icon-search'">返回列表</a>
35 </div> 36 </div>
36 </div> 37 </div>
37 <div region="center"> 38 <div region="center">
@@ -59,6 +60,12 @@ @@ -59,6 +60,12 @@
59 60
60 61
61 $(function () { 62 $(function () {
  63 +
  64 + $('#returnList').linkbutton({
  65 + onClick: function () {
  66 + location.href = contextPath + "/html/commodityManage/commodityPoolManage/commodityPoolManage.html";
  67 + }
  68 + });
62 var poolId = parseURL(window.location.href).poolId; 69 var poolId = parseURL(window.location.href).poolId;
63 70
64 $("#productCode").textbox({ 71 $("#productCode").textbox({
@@ -46,7 +46,7 @@ $.ajaxSetup({ @@ -46,7 +46,7 @@ $.ajaxSetup({
46 text : "重新登录", 46 text : "重新登录",
47 iconCls : "icon-no", 47 iconCls : "icon-no",
48 handler : function() { 48 handler : function() {
49 - window.top.location.href = "http://admin.portal.yohobuy.com/login"; 49 + window.top.location.href = "http://java-ufo-platform.test3.ingress.dev.yohocorp.com/ufoPlatform/html/login.html";
50 } 50 }
51 }] 51 }]
52 }); 52 });