|
@@ -1,8 +1,6 @@
|
|
|
package com.winhc.returnmoney.enums;
|
|
|
|
|
|
-import com.winhc.common.enums.CodeMsg;
|
|
|
-import com.winhc.common.exception.CommonException;
|
|
|
-import org.apache.commons.lang3.ObjectUtils;
|
|
|
+import cn.hutool.core.util.ObjectUtil;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.Arrays;
|
|
@@ -192,7 +190,7 @@ public class Dict {
|
|
|
}
|
|
|
|
|
|
public static Integer getMoneyCrease(BigDecimal preMoney, BigDecimal changeMoney) {
|
|
|
- if (ObjectUtils.anyNull(preMoney, changeMoney)) {
|
|
|
+ if (ObjectUtil.hasEmpty(preMoney, changeMoney)) {
|
|
|
return null;
|
|
|
}
|
|
|
if (preMoney.compareTo(changeMoney) < 0) {
|