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