@Override
    public void checkVaild() {
        super.checkVaild();
        if (this.refundmoney < 1) throw new RuntimeException("refundmoney is illegal");
        if (this.paymoney < 1) throw new RuntimeException("paymoney is illegal");
        if (this.refundno == null || this.refundno.isEmpty()) throw new RuntimeException("refundno is illegal");
        if (this.thirdpayno == null || this.thirdpayno.isEmpty()) throw new RuntimeException("thirdpayno is illegal");
        if (this.clientAddr == null || this.clientAddr.isEmpty()) throw new RuntimeException("clientAddr is illegal");
    }
@ Override public void checkVaild ( ) { super . checkVaild ( ) ; if ( this . refundmoney < 1 ) throw new RuntimeException ( "refundmoney is illegal" ) ; if ( this . paymoney < 1 ) throw new RuntimeException ( "paymoney is illegal" ) ; if ( this . refundno == null || this . refundno . isEmpty ( ) ) throw new RuntimeException ( "refundno is illegal" ) ; if ( this . thirdpayno == null || this . thirdpayno . isEmpty ( ) ) throw new RuntimeException ( "thirdpayno is illegal" ) ; if ( this . clientAddr == null || this . clientAddr . isEmpty ( ) ) throw new RuntimeException ( "clientAddr is illegal" ) ; }
扩展信息