😎增加机构组织经纬度字段及默认值调整

This commit is contained in:
zuohuaijun 2024-09-10 15:15:02 +08:00
parent a39f208444
commit 21f6d2fcad
5 changed files with 56 additions and 8 deletions

View File

@ -66,14 +66,14 @@ public partial class SysOrg : EntityTenant
/// <summary>
/// 经度
/// </summary>
[SugarColumn(ColumnDescription = "经度")]
public decimal Longitude { get; set; }
[SugarColumn(ColumnDescription = "经度", DefaultValue = "0")]
public decimal Longitude { get; set; } = 0;
/// <summary>
/// 维度
/// </summary>
[SugarColumn(ColumnDescription = "维度")]
public decimal Latitude { get; set; }
[SugarColumn(ColumnDescription = "维度", DefaultValue = "0")]
public decimal Latitude { get; set; } = 0;
/// <summary>
/// 排序

View File

@ -86,14 +86,14 @@ public partial class SysRegion : EntityBaseId
/// <summary>
/// 经度
/// </summary>
[SugarColumn(ColumnDescription = "经度")]
public decimal Longitude { get; set; }
[SugarColumn(ColumnDescription = "经度", DefaultValue = "0")]
public decimal Longitude { get; set; } = 0;
/// <summary>
/// 维度
/// </summary>
[SugarColumn(ColumnDescription = "维度")]
public decimal Latitude { get; set; }
[SugarColumn(ColumnDescription = "维度", DefaultValue = "0")]
public decimal Latitude { get; set; } = 0;
/// <summary>
/// 排序

View File

@ -126,6 +126,22 @@ export interface AddOrgInput {
*/
directorId?: number | null;
/**
*
*
* @type {number}
* @memberof AddOrgInput
*/
longitude?: number;
/**
*
*
* @type {number}
* @memberof AddOrgInput
*/
latitude?: number;
/**
*
*

View File

@ -142,6 +142,22 @@ export interface SysOrg {
*/
directorId?: number | null;
/**
*
*
* @type {number}
* @memberof SysOrg
*/
longitude?: number;
/**
*
*
* @type {number}
* @memberof SysOrg
*/
latitude?: number;
/**
*
*

View File

@ -126,6 +126,22 @@ export interface UpdateOrgInput {
*/
directorId?: number | null;
/**
*
*
* @type {number}
* @memberof UpdateOrgInput
*/
longitude?: number;
/**
*
*
* @type {number}
* @memberof UpdateOrgInput
*/
latitude?: number;
/**
*
*