@@ -4,6 +4,7 @@
data:{
editUnitInfo:{
floorId:'',
+ unitId:'',
unitNum:'',
layerCount:'',
lift:'',
@@ -109,6 +110,7 @@
refreshEditUnitInfo:function(){
vc.component.editUnitInfo= {
@@ -180,7 +180,7 @@ public class GeneratorServiceDaoImplMapperListener extends BaseGenerator {
//加入分页功能<if test="page != -1">
// limit page,row
// </if>
- sqlValue += "<if test=\"page != -1\">\n";
+ sqlValue += "<if test=\"page != -1 and page != null and page != ''\">\n";
sqlValue += " limit page,row\n";
sqlValue += "</if> \n";
@@ -120,7 +120,7 @@ where 1 =1
<if test="userId !=null and userId != ''">
and t.user_id= #{userId}
</if>
-<if test="page != -1">
+<if test="page != -1 and page != null and page != ''">
limit page,row