添加orgId
This commit is contained in:
@ -56,6 +56,10 @@ public class CoscoAnnualreviewTemplate extends BaseEntity {
|
||||
* 是否启用(0.草稿、1.启用、2.禁用)
|
||||
*/
|
||||
private Long status;
|
||||
/**
|
||||
* 单位id
|
||||
*/
|
||||
private String orgId;
|
||||
|
||||
/**
|
||||
* 删除标识(normal.正常、deleted.已删除)
|
||||
|
@ -81,6 +81,7 @@ public class CoscoAnnualreviewTemplateServiceImpl implements ICoscoAnnualreviewT
|
||||
BaseCacheUser currentUser = TokenUtil.getCurrentUser();
|
||||
Date date = new Date();
|
||||
coscoAnnualreviewTemplate.setCreateTime(date);
|
||||
coscoAnnualreviewTemplate.setOrgId(currentUser.getOrganizationId());
|
||||
coscoAnnualreviewTemplate.setUpdateTime(date);
|
||||
coscoAnnualreviewTemplate.setUpdateBy(currentUser.getUserId());
|
||||
coscoAnnualreviewTemplate.setId(PropertyUtils.getSnowflakeId());
|
||||
|
@ -56,9 +56,15 @@ public class CoscoBlacklist extends BaseEntity {
|
||||
* 恢复审批工作流id
|
||||
*/
|
||||
private String restoreWorkFlowId;
|
||||
/**
|
||||
* 单位id
|
||||
*/
|
||||
private String orgId;
|
||||
|
||||
private Date createTime;
|
||||
private Date updateTime;
|
||||
private String remark;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
@ -101,6 +101,7 @@ public class CoscoBlacklistServiceImpl implements ICoscoBlacklistService {
|
||||
public int insertCoscoBlacklist(AddBlackListVo listVo) {
|
||||
BaseCacheUser currentUser = TokenUtil.getCurrentUser();
|
||||
listVo.setCreateTime(new Date());
|
||||
listVo.setOrgId(currentUser.getOrganizationId());
|
||||
listVo.setCreateBy(currentUser.getUserId());
|
||||
listVo.setLastUpdateTime(LocalDateTime.now());
|
||||
listVo.setDelFlag(CoscoCategoryConstant.DELETE_FLAG_YES);
|
||||
|
@ -51,6 +51,10 @@ public class BlackListVo implements Serializable {
|
||||
private String themeName;
|
||||
|
||||
private String deptId;
|
||||
/**
|
||||
* 单位id
|
||||
*/
|
||||
private String orgId;
|
||||
|
||||
@ApiModelProperty(value = "分页对象信息")
|
||||
private BasePageRequest basePageRequest;
|
||||
|
@ -25,6 +25,10 @@ public class BlackSupplierVo implements Serializable {
|
||||
* 社会信用代码
|
||||
*/
|
||||
private String socialCreditCode;
|
||||
/**
|
||||
* 社会信用代码
|
||||
*/
|
||||
private String unifiedCode;
|
||||
/**
|
||||
* 部门名称
|
||||
*/
|
||||
|
@ -55,5 +55,6 @@ public class CoscoCategoryLibrary extends BaseEntity {
|
||||
private LocalDateTime createTime;
|
||||
|
||||
private LocalDateTime updateTime;
|
||||
private String orgId;
|
||||
|
||||
}
|
||||
|
@ -89,6 +89,7 @@ public class CoscoCategoryLibraryServiceImpl extends BaseServiceImpl<CoscoCatego
|
||||
BaseCacheUser currentUser = TokenUtil.getCurrentUser();
|
||||
coscoCategoryLibrary.setCreateTime(LocalDateTime.now());
|
||||
coscoCategoryLibrary.setCreateBy(currentUser.getUserId());
|
||||
coscoCategoryLibrary.setOrgId(currentUser.getOrganizationId());
|
||||
coscoCategoryLibrary.setDelFlag(CoscoCategoryConstant.DELETE_FLAG_YES);
|
||||
coscoCategoryLibrary.setApplyDeptId(currentUser.getOrganizationId());
|
||||
coscoCategoryLibrary.setId(PropertyUtils.getSnowflakeId());
|
||||
|
@ -87,4 +87,6 @@ public class CoscoCategoryLibraryVo implements Serializable {
|
||||
* 申请建库部门id
|
||||
*/
|
||||
private String applyDeptId;
|
||||
|
||||
private String orgId;
|
||||
}
|
||||
|
@ -62,4 +62,9 @@ public class CoscoEvaluateTemplate extends BaseEntity {
|
||||
private String categoryName;
|
||||
|
||||
private String copyTemplateName;
|
||||
|
||||
/**
|
||||
* 单位id
|
||||
*/
|
||||
private String orgId;
|
||||
}
|
||||
|
@ -92,6 +92,7 @@ public class CoscoEvaluateTemplateServiceImpl implements ICoscoEvaluateTemplateS
|
||||
Date date = new Date();
|
||||
BaseCacheUser currentUser = TokenUtil.getCurrentUser();
|
||||
templateVo.setCreateTime(date);
|
||||
templateVo.setOrgId(currentUser.getOrganizationId());
|
||||
templateVo.setId(PropertyUtils.getSnowflakeId());
|
||||
templateVo.setUpdateTime(date);
|
||||
templateVo.setCreateBy(currentUser.getUserId());
|
||||
|
@ -22,6 +22,10 @@ public class CoscoEvaluateTemplateVo implements Serializable {
|
||||
* 品类id
|
||||
*/
|
||||
private String categoryId;
|
||||
/**
|
||||
* 单位id
|
||||
*/
|
||||
private String orgId;
|
||||
/**
|
||||
* 创建单位
|
||||
*/
|
||||
|
Reference in New Issue
Block a user