1
zj
2024-08-26 5e9215792d64e92b0d4563c4e5d568b06899fa95
1
2 files modified
12 ■■■■ changed files
.idea/inspectionProfiles/Project_Default.xml 1 ●●●● patch | view | raw | blame | history
src/main/java/project/project/web/admin/AdminContractOrderController.java 11 ●●●● patch | view | raw | blame | history
.idea/inspectionProfiles/Project_Default.xml
@@ -1,6 +1,7 @@
<component name="InspectionProjectProfileManager">
  <profile version="1.0">
    <option name="myName" value="Project Default" />
    <inspection_tool class="AliAccessStaticViaInstance" enabled="true" level="WARNING" enabled_by_default="true" />
    <inspection_tool class="AlibabaAbstractClassShouldStartWithAbstractNaming" enabled="true" level="WARNING" enabled_by_default="true" />
    <inspection_tool class="AlibabaAbstractMethodOrInterfaceMethodMustUseJavadoc" enabled="true" level="WARNING" enabled_by_default="true" />
    <inspection_tool class="AlibabaAvoidApacheBeanUtilsCopy" enabled="true" level="WARNING" enabled_by_default="true" />
src/main/java/project/project/web/admin/AdminContractOrderController.java
@@ -1,4 +1,4 @@
package project.project.web.admin;
package project.web.admin;
import java.math.BigDecimal;
import java.text.DecimalFormat;
@@ -354,10 +354,7 @@
        
        try {
            
            if (!StringUtils.isNullOrEmpty(this.getLoginPartyId())) {
                throw new BusinessException("无权限");
            }
            Realtime realtime = this.dataService.realtime(symbol).get(0);
            Item item = this.itemService.cacheBySymbol(symbol, false);
@@ -407,10 +404,6 @@
        
        try {
            
            if (!StringUtils.isNullOrEmpty(this.getLoginPartyId())) {
                throw new BusinessException("无权限");
            }
            String error = this.verif(type, value);
            if (!StringUtils.isNullOrEmpty(error)) {
                throw new BusinessException(error);