Browse Source

刚满70的也不用读卡

lighter 2 years ago
parent
commit
bafc2d89d6

+ 1 - 1
src/main/java/thyyxxk/webserver/service/medicalinsurance/SiZyService.java

@@ -422,7 +422,7 @@ public class SiZyService {
             p.setStaffId(TokenUtil.getTokenUserId());
         }
 
-        if (p.getAge() >= 7 && p.getAge() <= 70) {
+        if (p.getAge() >= 7 && p.getAge() < 70) {
             ReadCardBizType readCardBizType = ReadCardBizType.get(p.getReadCardBizType());
             if (readCardBizType != ReadCardBizType.SETTLEMENT) {
                 return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "请先读卡再做出院结算。");