EncryptPassword.java 543 Bytes
package com.huaheng.test;

import com.huaheng.framework.shiro.service.PasswordService;

import java.math.BigDecimal;

public class EncryptPassword {

    public static void main(String[] args) {
//          PasswordService passwordService = new PasswordService();
//          String psw = passwordService.encryptPassword("superAdmin", "admin123", "3d82fd");
//          System.out.println(psw);
        BigDecimal sum = new BigDecimal(575);
        BigDecimal max = new BigDecimal(400);
        System.out.println(sum.compareTo(max));
    }
}