Merge remote-tracking branch 'base-version/main' into dev
# Conflicts: # zt-gateway/Dockerfile # zt-module-ai/zt-module-ai-server/Dockerfile # zt-module-bpm/zt-module-bpm-server/Dockerfile # zt-module-infra/zt-module-infra-server/Dockerfile # zt-module-mp/zt-module-mp-server/Dockerfile # zt-module-report/zt-module-report-server/Dockerfile # zt-module-system/zt-module-system-server/Dockerfile # zt-module-template/zt-module-template-server/Dockerfile # zt-server/Dockerfile
This commit is contained in:
@@ -16,6 +16,10 @@ public class BusinessFileRespVO {
|
||||
@ExcelProperty("主键ID")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "租户编号", example = "1024")
|
||||
@ExcelProperty("租户编号")
|
||||
private Long tenantId;
|
||||
|
||||
@Schema(description = "业务Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "24322")
|
||||
@ExcelProperty("业务Id")
|
||||
private Long businessId;
|
||||
|
||||
@@ -24,6 +24,11 @@ public class BusinessFileDO extends BaseDO {
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
/**
|
||||
* 租户编号
|
||||
*/
|
||||
@TableField("TENANT_ID")
|
||||
private Long tenantId;
|
||||
/**
|
||||
* 业务Id
|
||||
*/
|
||||
@TableField("BSN_ID")
|
||||
|
||||
@@ -5,6 +5,7 @@ import com.zt.plat.framework.common.pojo.PageResult;
|
||||
import com.zt.plat.framework.common.util.object.BeanUtils;
|
||||
import com.zt.plat.framework.common.util.user.UserNameEnrichUtils;
|
||||
import com.zt.plat.framework.mybatis.core.query.LambdaQueryWrapperX;
|
||||
import com.zt.plat.framework.tenant.core.aop.TenantIgnore;
|
||||
import com.zt.plat.module.infra.controller.admin.businessfile.vo.BusinessFilePageReqVO;
|
||||
import com.zt.plat.module.infra.controller.admin.businessfile.vo.BusinessFileRespVO;
|
||||
import com.zt.plat.module.infra.controller.admin.businessfile.vo.BusinessFileSaveReqVO;
|
||||
@@ -101,6 +102,7 @@ public class BusinessFileServiceImpl implements BusinessFileService {
|
||||
}
|
||||
|
||||
@Override
|
||||
@TenantIgnore
|
||||
public BusinessFileDO getBusinessFileByBusinessCode(String businessCode) {
|
||||
if (!StringUtils.hasText(businessCode)) {
|
||||
throw exception(BUSINESS_FILE_NOT_EXISTS);
|
||||
|
||||
Reference in New Issue
Block a user