2 コミット b05333928a ... 76f1ec9f71

作者 SHA1 メッセージ 日付
  maqingyang 76f1ec9f71 Merge remote-tracking branch 'origin/develop' into develop 11 ヶ月 前
  maqingyang 90fad9a2b4 fixed page jump in business 11 ヶ月 前

+ 9 - 9
src/main/java/com/kexun/controller/BusinessController.java

@@ -33,7 +33,7 @@ public class BusinessController {
         int businessType = req.getIntValue("businessType");
         List<BusinessInfo> list=null;
         switch(businessType){
-            case 0:
+            case 1:
                 list = BusinessService.queryBusinessList("'0'",null);
                 for (BusinessInfo businessInfo : list) {
                     if (businessInfo.getStatus().equals("0")) {
@@ -41,7 +41,7 @@ public class BusinessController {
                     }
                 }
                 break;
-            case 1:
+            case 2:
                 list = BusinessService.queryBusinessList("'1','2'",null);
                 for (BusinessInfo businessInfo : list) {
                     if (businessInfo.getStatus().equals("1")) {
@@ -51,7 +51,7 @@ public class BusinessController {
                     }
                 }
                 break;
-            case 2:
+            case 3:
                 list = BusinessService.queryBusinessList("'3','4'",null);
                 for (BusinessInfo businessInfo : list) {
                     if (businessInfo.getStatus().equals("3")) {
@@ -78,7 +78,7 @@ public class BusinessController {
         PageHelper.startPage(pageNum, pageSize);//设置分页信息
         List<BusinessInfo> list=null;
         switch(businessType){
-            case 0:
+            case 1:
                 list = BusinessService.queryBusinessList("'0'",null);
                 for (BusinessInfo businessInfo : list) {
                     if (businessInfo.getStatus().equals("0")) {
@@ -86,7 +86,7 @@ public class BusinessController {
                     }
                 }
                 break;
-            case 1:
+            case 2:
                 list = BusinessService.queryBusinessList("'1','2'",null);
                 for (BusinessInfo businessInfo : list) {
                     if (businessInfo.getStatus().equals("1")) {
@@ -96,7 +96,7 @@ public class BusinessController {
                     }
                 }
                 break;
-            case 2:
+            case 3:
                 list = BusinessService.queryBusinessList("'3','4'",null);
                 for (BusinessInfo businessInfo : list) {
                     if (businessInfo.getStatus().equals("3")) {
@@ -151,7 +151,7 @@ public class BusinessController {
         PageHelper.startPage(pageNum, pageSize);//设置分页信息
         List<BusinessInfo> list=null;
         switch(businessType){
-            case 0:
+            case 1:
                 list = BusinessService.queryBusinessList("'0'",customerName);
                 for (BusinessInfo businessInfo : list) {
                     if (businessInfo.getStatus().equals("0")) {
@@ -159,7 +159,7 @@ public class BusinessController {
                     }
                 }
                 break;
-            case 1:
+            case 2:
                 list = BusinessService.queryBusinessList("'1','2'",customerName);
                 for (BusinessInfo businessInfo : list) {
                     if (businessInfo.getStatus().equals("1")) {
@@ -169,7 +169,7 @@ public class BusinessController {
                     }
                 }
                 break;
-            case 2:
+            case 3:
                 list = BusinessService.queryBusinessList("'3','4'",customerName);
                 for (BusinessInfo businessInfo : list) {
                     if (businessInfo.getStatus().equals("3")) {