mirror of https://gitee.com/stylefeng/roses
【7.2.5】组织机构表增加税号唯一控制
parent
3b78f2179f
commit
b492e87278
|
@ -113,6 +113,13 @@ public class HrOrganizationRequest extends BaseRequest {
|
||||||
/**
|
/**
|
||||||
* 税号
|
* 税号
|
||||||
*/
|
*/
|
||||||
|
@TableUniqueValue(
|
||||||
|
message = "企业税号存在重复",
|
||||||
|
groups = {add.class, edit.class},
|
||||||
|
tableName = "hr_organization",
|
||||||
|
columnName = "tax_no",
|
||||||
|
idFieldName = "org_id",
|
||||||
|
excludeLogicDeleteItems = true)
|
||||||
@ChineseDescription("税号")
|
@ChineseDescription("税号")
|
||||||
private String taxNo;
|
private String taxNo;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue