Browse Source

业主购买2月13号

guojing 5 years ago
parent
commit
5597004559

+ 1 - 1
whepi-ui/templates/home/buyClient.ftl

@@ -21,7 +21,7 @@
             <div style="display: inline;">
             <div style="display: inline;">
                 <input type="text" id="buyCount"
                 <input type="text" id="buyCount"
                        style="border: 1px solid rgba(0,0,0,.2);box-sizing:border-box; border-radius: 5px; height: 5vh; width: 50%;font-size: 16px;margin-top: 1vh;"
                        style="border: 1px solid rgba(0,0,0,.2);box-sizing:border-box; border-radius: 5px; height: 5vh; width: 50%;font-size: 16px;margin-top: 1vh;"
-                       onkeyup="this.value=this.value.replace(/[^0-9-]+/,'');" min="1" maxlength="6"
+                       onkeyup="this.value=this.value.replace(/[^0-9-]+/,'');" min="1" maxlength="4"
                        onchange="changeBuy()">
                        onchange="changeBuy()">
             </div>
             </div>
         </div>
         </div>

+ 1 - 1
whepi-web/src/main/resources/mapper/BuyMapper.xml

@@ -15,7 +15,7 @@
        from sys_user_role a
        from sys_user_role a
        INNER JOIN sys_uptown_house b on a.property_id=b.house_id
        INNER JOIN sys_uptown_house b on a.property_id=b.house_id
        INNER JOIN sys_uptown_unit c on b.unit_id=c.unit_id
        INNER JOIN sys_uptown_unit c on b.unit_id=c.unit_id
-       where a.user_id=#{userId} and a.role_id=1)
+       where a.user_id=#{userId} and a.role_id=1) ORDER BY jt.tg_end_time DESC
     </select>
     </select>
 
 
     <select id="MyGroup" resultType="com.bofeng.entity.Buy">
     <select id="MyGroup" resultType="com.bofeng.entity.Buy">