|
|
@@ -280,17 +280,17 @@ public class InsOrders implements Serializable {
|
|
|
if ("A".equalsIgnoreCase(code)) {
|
|
|
haveCarDamageKind = true;
|
|
|
}
|
|
|
- if("B,D3,D4,".contains(code+",")){
|
|
|
+ if ("B,D3,D4,".contains(code + ",")) {
|
|
|
haveBusiKind = true;
|
|
|
}
|
|
|
}
|
|
|
if (risks.size() == 1 && "0507".equals(risks.get(0).getRiskCode())) {
|
|
|
productsType = ProductsType.PT_0330;//单交
|
|
|
- } else if (risks.size() == 1 && !haveCarDamageKind && haveBusiKind ) {
|
|
|
+ } else if (risks.size() == 1 && !haveCarDamageKind && haveBusiKind) {
|
|
|
productsType = ProductsType.PT_034002;//单三
|
|
|
} else if (risks.size() == 1) {
|
|
|
productsType = ProductsType.PT_034001;//单商
|
|
|
- } else if (risks.size() == 2 && haveBusiKind ) {
|
|
|
+ } else if (risks.size() == 2 && !haveCarDamageKind && haveBusiKind) {
|
|
|
productsType = ProductsType.PT_0330034002;//交三
|
|
|
} else {
|
|
|
productsType = ProductsType.PT_0330034001;//交商
|