2 Angajamente b05333928a ... 76f1ec9f71

Autor SHA1 Permisiunea de a trimite mesaje. Dacă este dezactivată, utilizatorul nu va putea trimite nici un fel de mesaj Data
  maqingyang 76f1ec9f71 Merge remote-tracking branch 'origin/develop' into develop 11 luni în urmă
  maqingyang 90fad9a2b4 fixed page jump in business 11 luni în urmă

+ 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")) {