Explorar o código

新增儿童,幼儿规则

zhoutg %!s(int64=4) %!d(string=hai) anos
pai
achega
225cf5c8a0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/java/com/diagbot/rule/GroupRule.java

+ 1 - 1
src/main/java/com/diagbot/rule/GroupRule.java

@@ -77,7 +77,7 @@ public class GroupRule {
                     break;
                 case "儿童":
                     if (age != null) {
-                        if (age <= 12.0D && age >= 4.0D) {
+                        if (age <= 15.0D && age > 2.5D) {
                             BillMsg commonBillMsg = MsgUtil.getCommonBillMsg(
                                     billNeoMaxDTO.getOrderName(), billNeoMaxDTO.getOrderStandName(),
                                     "儿童", type, billNeoMaxDTO.getType());