杜洪波
2026-03-20 107e63ea3d1dd252841e934d6f483b0032e68493
src/main/java/com/product/saas/controller/TenantApplyController.java
@@ -7,7 +7,7 @@
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import com.product.admin.config.SystemCode;
import com.product.saas.config.SaasCode;
import com.product.saas.service.TenantApplyService;
import com.product.saas.service.idel.ITenantApplyService;
import com.product.core.config.CoreConst;
@@ -15,7 +15,6 @@
import com.product.core.entity.FieldSetEntity;
import com.product.core.entity.RequestParameterEntity;
import com.product.core.exception.BaseException;
import com.product.core.spring.context.SpringMVCContextHolder;
import com.product.file.service.FileManagerService;
import com.product.module.sys.version.ApiVersion;
import com.product.util.BaseUtil;
@@ -47,13 +46,10 @@
            return OK();
        } catch (BaseException e) {
            e.printStackTrace();
            SpringMVCContextHolder.getSystemLogger().error(e);
            return this.error(e.getCode(), e.getMessageInfo());
        } catch (Exception e) {
            e.printStackTrace();
            SpringMVCContextHolder.getSystemLogger().error(e);
            e.printStackTrace();
            return error(SystemCode.DELETE_ADMINISTRATIVE_DIVISION_FAIL);
            return error(SaasCode.TENANT_APPLY_VALID_INFO_FAIL.getValue(), SaasCode.TENANT_APPLY_VALID_INFO_FAIL.getText() + e.getMessage());
        }
    }
   
@@ -70,13 +66,10 @@
            return OK_List(tenantApplyService.getTenantApplyByPhone(fse.getString("applicant_phone")));
        } catch (BaseException e) {
            e.printStackTrace();
            SpringMVCContextHolder.getSystemLogger().error(e);
            return this.error(e.getCode(), e.getMessageInfo());
        } catch (Exception e) {
            e.printStackTrace();
            SpringMVCContextHolder.getSystemLogger().error(e);
            e.printStackTrace();
            return error(SystemCode.DELETE_ADMINISTRATIVE_DIVISION_FAIL);
            return error(SaasCode.TENANT_AAPLY_INFO_GET_FAIL.getValue(), SaasCode.TENANT_AAPLY_INFO_GET_FAIL.getText() + e.getMessage());
        }
    }
    
@@ -107,13 +100,10 @@
            return OK();
        } catch (BaseException e) {
            e.printStackTrace();
            SpringMVCContextHolder.getSystemLogger().error(e);
            return this.error(e.getCode(), e.getMessageInfo());
        } catch (Exception e) {
            e.printStackTrace();
            SpringMVCContextHolder.getSystemLogger().error(e);
            e.printStackTrace();
            return error(SystemCode.DELETE_ADMINISTRATIVE_DIVISION_FAIL);
            return error(SaasCode.TENANT_AAPLY_INFO_SUBMIT_FAIL.getValue(), SaasCode.TENANT_AAPLY_INFO_SUBMIT_FAIL.getText() + e.getMessage());
        }
    }
    
@@ -133,13 +123,10 @@
            return OK();
        } catch (BaseException e) {
            e.printStackTrace();
            SpringMVCContextHolder.getSystemLogger().error(e);
            return this.error(e.getCode(), e.getMessageInfo());
        } catch (Exception e) {
            e.printStackTrace();
            SpringMVCContextHolder.getSystemLogger().error(e);
            e.printStackTrace();
            return error(SystemCode.DELETE_ADMINISTRATIVE_DIVISION_FAIL);
            return error(SaasCode.TENANT_AAPLY_INFO_CANCEL_FAIL.getValue(), SaasCode.TENANT_AAPLY_INFO_CANCEL_FAIL.getText() + e.getMessage());
        }
    }
}