|
@@ -190,10 +190,10 @@ public class BashInfo {
|
|
|
double totalRate = 0.00;
|
|
|
for(int i=2;i<lastRow;i++){
|
|
|
String type = importExcel.getValue(i+1,1);
|
|
|
- if(type.equals(CS_LS)){
|
|
|
+ if(type.contains(CS_LS)){
|
|
|
lsRate = importExcel.getDouble(i+1,3);
|
|
|
}
|
|
|
- if(type.equals(CS_AQWM)){
|
|
|
+ if(type.contains(CS_AQWM)){
|
|
|
aqRate = importExcel.getDouble(i+1,3);
|
|
|
}
|
|
|
totalRate += importExcel.getDouble(i+1,3);
|
|
@@ -215,10 +215,10 @@ public class BashInfo {
|
|
|
for(int i=2;i<lastRow;i++){
|
|
|
String type = importExcel.getValue(i+1,1);
|
|
|
String type1 = importExcel.getValue(i+1,0);
|
|
|
- if(type.equals(CS_LS)){
|
|
|
+ if(type.contains(CS_LS)){
|
|
|
lsRate = importExcel.getDouble(i+1,4);
|
|
|
}
|
|
|
- if(type.equals(CS_AQWM)){
|
|
|
+ if(type.contains(CS_AQWM)){
|
|
|
aqRate = importExcel.getDouble(i+1,4);
|
|
|
}
|
|
|
if(type1.equals(QT_HJ)){
|
|
@@ -342,10 +342,10 @@ public class BashInfo {
|
|
|
double totalRate = 0.00;
|
|
|
for(int i=azRow;i<lastRow;i++){
|
|
|
String type = importExcel.getValue(i+1,1);
|
|
|
- if(type.equals(CS_LS)){
|
|
|
+ if(type.contains(CS_LS)){
|
|
|
lsRate = importExcel.getDouble(i+1,3);
|
|
|
}
|
|
|
- if(type.equals(CS_AQWM)){
|
|
|
+ if(type.contains(CS_AQWM)){
|
|
|
aqRate = importExcel.getDouble(i+1,3);
|
|
|
}
|
|
|
totalRate += importExcel.getDouble(i+1,3);
|
|
@@ -377,11 +377,11 @@ public class BashInfo {
|
|
|
for(int i=0;i<azRow+1;i++){
|
|
|
String type = importExcel.getValue(i+1,1);
|
|
|
String type1 = importExcel.getValue(i+1,0);
|
|
|
- if(type.equals(CS_LS)){
|
|
|
+ if(type.contains(CS_LS)){
|
|
|
lsRate = importExcel.getDouble(i+1,3);
|
|
|
ls = importExcel.getDouble(i+1,4);
|
|
|
}
|
|
|
- if(type.equals(CS_AQWM)){
|
|
|
+ if(type.contains(CS_AQWM)){
|
|
|
aqRate = importExcel.getDouble(i+1,3);
|
|
|
aq = importExcel.getDouble(i+1,4);
|
|
|
}
|
|
@@ -417,10 +417,10 @@ public class BashInfo {
|
|
|
for(int i=azRow;i<lastRow;i++){
|
|
|
String type = importExcel.getValue(i+1,1);
|
|
|
String type1 = importExcel.getValue(i+1,0);
|
|
|
- if(type.equals(CS_LS)){
|
|
|
+ if(type.contains(CS_LS)){
|
|
|
lsRate = importExcel.getDouble(i+1,4);
|
|
|
}
|
|
|
- if(type.equals(CS_AQWM)){
|
|
|
+ if(type.contains(CS_AQWM)){
|
|
|
aqRate = importExcel.getDouble(i+1,4);
|
|
|
}
|
|
|
if(type1.equals(QT_XJ)){
|
|
@@ -442,7 +442,7 @@ public class BashInfo {
|
|
|
double wxzyRate = 0.00;
|
|
|
for (int i = 2; i < lastRow; i++) {
|
|
|
String type = importExcel.getValue(i + 1, 1);
|
|
|
- if (type.equals(GF_WXZY)) {
|
|
|
+ if (type.contains(GF_WXZY)) {
|
|
|
wxzyRate = importExcel.getDouble(i + 1, 3);
|
|
|
}
|
|
|
if (!importExcel.getValue(i + 1, 2).equals("")) {
|
|
@@ -464,7 +464,7 @@ public class BashInfo {
|
|
|
double wxzyRate = 0.00;
|
|
|
for (int i = 2; i < lastRow; i++) {
|
|
|
String type = importExcel.getValue(i + 1, 1);
|
|
|
- if (type.equals(GF_WXZY)) {
|
|
|
+ if (type.contains(GF_WXZY)) {
|
|
|
wxzyRate = importExcel.getDouble(i + 1, 3);
|
|
|
}
|
|
|
if (!importExcel.getValue(i + 1, 2).equals("")) {
|
|
@@ -500,7 +500,7 @@ public class BashInfo {
|
|
|
double wxzyRate = 0.00;
|
|
|
for (int i = azRow; i < lastRow; i++) {
|
|
|
String type = importExcel.getValue(i + 1, 1);
|
|
|
- if (type.equals(GF_WXZY)) {
|
|
|
+ if (type.contains(GF_WXZY)) {
|
|
|
wxzyRate = importExcel.getDouble(i + 1, 3);
|
|
|
}
|
|
|
if (!importExcel.getValue(i + 1, 2).equals("")) {
|
|
@@ -733,7 +733,37 @@ public class BashInfo {
|
|
|
return d;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 建筑安全文明措施费
|
|
|
+ * @param importExcel
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public static double[] getAqwfJzFee(ImportExcel importExcel){
|
|
|
+ int lastRow = importExcel.getLastDataRowNum();
|
|
|
+ double d = 0.00;
|
|
|
+ double e = 0.00;
|
|
|
+ for(int i=0;i<lastRow;i++){
|
|
|
+ String type = importExcel.getValue(i+1,1);
|
|
|
+ if(type.equals("")){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+ if(type.contains(CS_AQWM)){
|
|
|
+ d = importExcel.getDouble(i+1,3);
|
|
|
+ e = importExcel.getDouble(i+1,4);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ double[] r = new double[2];
|
|
|
+ r[0] = d;
|
|
|
+ r[1] = e;
|
|
|
+ return r;
|
|
|
+ }
|
|
|
|
|
|
+ /**
|
|
|
+ * 安装安全文明措施费
|
|
|
+ * @param importExcel
|
|
|
+ * @return
|
|
|
+ */
|
|
|
public static double[] getAqwfAzFee(ImportExcel importExcel){
|
|
|
int lastRow = importExcel.getLastDataRowNum();
|
|
|
double d = 0.00;
|
|
@@ -743,7 +773,7 @@ public class BashInfo {
|
|
|
if(type.equals("")){
|
|
|
continue;
|
|
|
}
|
|
|
- if(type.equals(CS_AQWM)){
|
|
|
+ if(type.contains(CS_AQWM)){
|
|
|
d = importExcel.getDouble(i+1,3);
|
|
|
e = importExcel.getDouble(i+1,4);
|
|
|
}
|