mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
1、软件购买是否纯赠送金判断购买记录是否可开票状态修复;2、组织过期判断需要包含当天完善;3、申请开票增加购买记录开票状态校验;
This commit is contained in:
+12
@@ -90,4 +90,16 @@ public class AssertUtils {
|
||||
throw exception(errorCode);
|
||||
}
|
||||
}
|
||||
|
||||
public static void isFalse(boolean expression, ErrorCode errorCode) {
|
||||
if (!expression) {
|
||||
throw exception(errorCode);
|
||||
}
|
||||
}
|
||||
|
||||
public static void isTrue(boolean expression, ErrorCode errorCode) {
|
||||
if (expression) {
|
||||
throw exception(errorCode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user