Merge branch 'master' of http://222.71.245.114:9086/r/HIA24016N_PipeLineDemo
| | |
| | | <EasyPicker :visible.sync="ctVisible" :list="ContainerType" labelField="value" valueField="code" |
| | | @select="getTypeVal" /> |
| | | |
| | | <scan-input-form-item v-show="Boolean(containerInfo.containerNo)" class="forma-item" label="ç©æäºç»´ç " v-model="form.materialNo" :msg="msg.material" |
| | | <scan-input-form-item class="forma-item" label="ç©æäºç»´ç " v-model="form.materialNo" :msg="msg.material" |
| | | :msg-type="msgType.material" @search="onSearchMaterial" @clear="onClearMaterial" /> |
| | | |
| | | <!-- <scan-input-form-item v-show="Boolean(containerInfo.containerNo)" placeholder="è¯·éæ©" :clearable="false" :hasScan="false" :hasSearch="false" |
| | |
| | | this.blocks = [{ |
| | | workShopName: '忣', |
| | | wmsPdaPowerOutput:[ |
| | | // {icon:'icon-worker',code:'bind',name:'ç»ç',color:'#1e90ff'}, |
| | | {icon:'icon-worker',code:'bind',name:'ç»ç',color:'#1e90ff'}, |
| | | {icon:'icon-worker',code:'pick',name:'忣',color:'#1e90ff'}, |
| | | // {icon:'icon-worker',code:'bindInForLocation',name:'忣',color:'#1e90ff'}, |
| | | // {icon:'icon-worker',code:'bindWXJ',name:'忣',color:'#1e90ff'}, |
| | | {icon:'icon-worker',code:'bindInForLocation',name:'ç»ç2',color:'#1e90ff'}, |
| | | {icon:'icon-worker',code:'bindWXJ',name:'ç»ç3',color:'#1e90ff'}, |
| | | ] |
| | | }, |
| | | { |
| | |
| | | :msg-type="msgType.material" |
| | | @search="onSearchMaterial" |
| | | @clear="onClearMaterial" |
| | | |
| | | /> |
| | | <scan-input-form-item |
| | | placeholder="è¯·éæ©" |
| | | :clearable="false" |
| | | :hasScan="false" |
| | | :hasSearch="false" |
| | | @click.native="visible = true" |
| | | class="forma-item" |
| | | label="éæ©åºå£" |
| | | v-model="form.site" |
| | | /> |
| | | <EasyPicker :visible.sync="visible" :list="placeList.filter(item=>item.placeNo!='ZDCR')" labelField="placeNo" valueField="placeNo" @select="getSiteVal"/> |
| | | <!-- <EasyPicker :visible.sync="visible" :list="placeList" labelField="placeNo" valueField="placeNo" @select="getSiteVal" /> --> |
| | |
| | | return false; |
| | | } |
| | | this.msg.material = ''; |
| | | debugger |
| | | // è§£æç®¡æ®µç¼ç ã管段åç§°åè¹å· |
| | | const parts = this.form.pipeSpecCode.split(','); |
| | | if (parts.length < 2) { |
| | | this.msg.material = 'ç æ ¼å¼ä¸æ£ç¡®ï¼è¯·æ£æ¥è¾å
¥'; |
| | | return false; |
| | | } |
| | | const pipeCode = parts[0]; |
| | | const pipeName = parts.length > 1? parts[1] : ''; |
| | | const shipNo = parts.length > 2? parts[2] : ''; |
| | | |
| | | try { |
| | | let { result } = await getContainerInfo({ ContainerNo: this.form.pipeSpecCode }); |
| | | if (result.containerNo == this.form.containterCode) { |
| | | return this.$modal('å½å空æä¸æçéå¤'); |
| | | } |
| | | var isExit = this.contaninerData.some((item) => item.containerNo == result.containerNo); |
| | | isExit ? '' : this.contaninerData.push(result); |
| | | // let { result } = await getContainerInfo({ ContainerNo: this.form.pipeSpecCode }); |
| | | // if (result.containerNo == this.form.containterCode) { |
| | | // return this.$modal('å½å空æä¸æçéå¤'); |
| | | // } |
| | | // var isExit = this.materialList.some((item) => item.materialNo == pipeCode); |
| | | // if(isExit){ |
| | | // return this.$modal('å½å管段ç¼ç '+pipeCode+'å·²ç»å¨æç'+this.form.containerNo+'ä¸'); |
| | | // } |
| | | // æ´æ°æç¤ºä¿¡æ¯ |
| | | this.msg.material = `管段ç¼ç :${pipeCode},管段åç§°:${pipeName},è¹å·:${shipNo}`; |
| | | this.form.pipeSpecCode=pipeCode; |
| | | } catch (e) { |
| | | //TODO handle the exception |
| | | console.log(e); |
| | |
| | | /// </summary> |
| | | public string PipeSpecCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 忣æçå· |
| | | /// </summary> |
| | | public string ContinerNo { get; set; } |
| | | |
| | | |
| | | } |
| | | } |
| | |
| | | public class SharedService : CMSPluginAppService |
| | | { |
| | | |
| | | |
| | | /// <summary> |
| | | /// 忣åè½ |
| | | /// </summary> |
| | | /// <param name="_serviceProvider"></param> |
| | | /// <param name="input"></param> |
| | | /// <param name="myCurrentUser"></param> |
| | | /// <returns></returns> |
| | | public async Task<MesOrderResponse> CommonPick(IServiceProvider _serviceProvider, PickInput input, MyCurrentUser myCurrentUser) |
| | | { |
| | | //1ãè®°å½åæ£è®°å½è¡¨ |
| | | //2ãæ´æ°ä½ä¸è®¡å表çç¶æ =已忣 |
| | | //3ãåå
¥ 忣åé |
| | | //4ãåå
¥è¿½æº¯æ¥è¡¨ |
| | | //5ãç©æç»ç |
| | | |
| | | VariableService _variableService = _serviceProvider.GetRequiredService<VariableService>(); |
| | | var _workSectionManager = _serviceProvider.GetRequiredService<IWorkSectionManager>(); |
| | |
| | | var materialProvider = _serviceProvider.GetRequiredService<IMaterialProvider>(); |
| | | var workPlanAppService = _serviceProvider.GetRequiredService<IWorkPlanAppService>(); |
| | | |
| | | Dictionary<string, object?> keyValuePairs = new Dictionary<string, object?> |
| | | { |
| | | { "忣æçå·","æç1"}, |
| | | { "忣æ¹å", "ç管è£
é
"}, |
| | | { "åæ£äºº", myCurrentUser.UserAccount } |
| | | }; |
| | | _variableService.WriteValueAsync(keyValuePairs); |
| | | //Dictionary<string, object?> keyValuePairs = new Dictionary<string, object?> |
| | | // { |
| | | // { "忣æçå·","æç1"}, |
| | | // { "忣æ¹å", "ç管è£
é
"}, |
| | | // { "åæ£äºº", myCurrentUser.UserAccount } |
| | | // }; |
| | | //_variableService.WriteValueAsync(keyValuePairs); |
| | | |
| | | //æ ¹æ®å·¥åºåè·åå·¥åºå¯¹è±¡ |
| | | var workSection = await _workSectionManager.GetByNameAsync("忣工åº"); |
| | |
| | | { |
| | | _value = "ç管è£
é
"; |
| | | } |
| | | if (item.Name == "忣æçå·") |
| | | { |
| | | _value = input.ContinerNo; |
| | | } |
| | | if (item.Name == "åæ£äºº") |
| | | { |
| | | _value = myCurrentUser.UserAccount; |
| | | } |
| | | //item.Key |
| | | TraceParamModel traceParamModel = new TraceParamModel() |
| | | { |
| | |
| | | /// </summary> |
| | | /// <param name="input">è¾å
¥.</param> |
| | | /// <returns></returns> |
| | | //[Authorize] |
| | | [Authorize] |
| | | [HttpPost] |
| | | public virtual Task<CallMaterialOrderDto> CreateAsync(CallMaterialOrderCreateDto input) |
| | | { |
| | |
| | | /// <param name="id">æ è¯ç¬¦.</param> |
| | | /// <param name="input">è¾å
¥.</param> |
| | | /// <returns></returns> |
| | | //[Authorize] |
| | | [Authorize] |
| | | [HttpPut] |
| | | [Route("{id}")] |
| | | public virtual Task<CallMaterialOrderDto> UpdateAsync(Guid id, CallMaterialOrderUpdateDto input) |
| | |
| | | /// </summary> |
| | | /// <param name="ids">Idéå.</param> |
| | | /// <returns></returns> |
| | | //[Authorize] |
| | | [Authorize] |
| | | [HttpPost] |
| | | [Route("Clone")] |
| | | public virtual Task<List<CallMaterialOrderDto>> CloneAsync([FromBody] IEnumerable<Guid> ids) |
| | |
| | | /// </summary> |
| | | /// <param name="id">æ è¯ç¬¦.</param> |
| | | /// <returns></returns> |
| | | //[Authorize] |
| | | [Authorize] |
| | | [HttpDelete] |
| | | [Route("{id}")] |
| | | public virtual Task DeleteAsync(Guid id) |
| | |
| | | /// </summary> |
| | | /// <param name="ids">The ids.</param> |
| | | /// <returns></returns> |
| | | //[Authorize] |
| | | [Authorize] |
| | | [HttpDelete] |
| | | public virtual Task DeleteAsync([FromBody] IEnumerable<Guid> ids) |
| | | { |
| | |
| | | /// </summary> |
| | | /// <param name="input">è¾å
¥.</param> |
| | | /// <returns></returns> |
| | | //[Authorize] |
| | | [Authorize] |
| | | [HttpPost] |
| | | public virtual Task<CallMaterialOrderRecordDto> CreateAsync(CallMaterialOrderRecordCreateDto input) |
| | | { |
| | |
| | | /// <param name="id">æ è¯ç¬¦.</param> |
| | | /// <param name="input">è¾å
¥.</param> |
| | | /// <returns></returns> |
| | | //[Authorize] |
| | | [Authorize] |
| | | [HttpPut] |
| | | [Route("{id}")] |
| | | public virtual Task<CallMaterialOrderRecordDto> UpdateAsync(Guid id, CallMaterialOrderRecordUpdateDto input) |
| | |
| | | /// </summary> |
| | | /// <param name="ids">Idéå.</param> |
| | | /// <returns></returns> |
| | | //[Authorize] |
| | | [Authorize] |
| | | [HttpPost] |
| | | [Route("Clone")] |
| | | public virtual Task<List<CallMaterialOrderRecordDto>> CloneAsync([FromBody] IEnumerable<Guid> ids) |
| | |
| | | /// </summary> |
| | | /// <param name="id">æ è¯ç¬¦.</param> |
| | | /// <returns></returns> |
| | | //[Authorize] |
| | | [Authorize] |
| | | [HttpDelete] |
| | | [Route("{id}")] |
| | | public virtual Task DeleteAsync(Guid id) |
| | |
| | | /// </summary> |
| | | /// <param name="ids">The ids.</param> |
| | | /// <returns></returns> |
| | | //[Authorize] |
| | | [Authorize] |
| | | [HttpDelete] |
| | | public virtual Task DeleteAsync([FromBody] IEnumerable<Guid> ids) |
| | | { |
| | |
| | | /// </summary> |
| | | /// <param name="input">è¾å
¥.</param> |
| | | /// <returns></returns> |
| | | //[Authorize] |
| | | [Authorize] |
| | | [HttpPost] |
| | | public virtual Task<WorkPlanDto> CreateAsync(WorkPlanCreateDto input) |
| | | { |
| | |
| | | /// <param name="id">æ è¯ç¬¦.</param> |
| | | /// <param name="input">è¾å
¥.</param> |
| | | /// <returns></returns> |
| | | //[Authorize] |
| | | [Authorize] |
| | | [HttpPut] |
| | | [Route("{id}")] |
| | | public virtual Task<WorkPlanDto> UpdateAsync(Guid id, WorkPlanUpdateDto input) |
| | |
| | | /// </summary> |
| | | /// <param name="ids">Idéå.</param> |
| | | /// <returns></returns> |
| | | //[Authorize] |
| | | [Authorize] |
| | | [HttpPost] |
| | | [Route("Clone")] |
| | | public virtual Task<List<WorkPlanDto>> CloneAsync([FromBody] IEnumerable<Guid> ids) |
| | |
| | | /// </summary> |
| | | /// <param name="id">æ è¯ç¬¦.</param> |
| | | /// <returns></returns> |
| | | //[Authorize] |
| | | [Authorize] |
| | | [HttpDelete] |
| | | [Route("{id}")] |
| | | public virtual Task DeleteAsync(Guid id) |
| | |
| | | /// </summary> |
| | | /// <param name="ids">The ids.</param> |
| | | /// <returns></returns> |
| | | //[Authorize] |
| | | [Authorize] |
| | | [HttpDelete] |
| | | public virtual Task DeleteAsync([FromBody] IEnumerable<Guid> ids) |
| | | { |
| | |
| | | using CMS.Plugin.PipeLineLems.Application.Contracts.Dtos.WorkPlan; |
| | | using CMS.Plugin.PipeLineLems.Application.Contracts.Services; |
| | | using CmsQueryExtensions.Entitys; |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using System.Reflection; |
| | | |
| | |
| | | /// </summary> |
| | | /// <param name="input">æ è¯ç¬¦.</param> |
| | | /// <returns></returns> |
| | | [Authorize] |
| | | [HttpPost] |
| | | [Route("Pick")] |
| | | public virtual async Task<MesOrderResponse> Pick([FromBody] PickInput input) |
| | |
| | | using CMS.Plugin.PipeLineLems.Domain.CallMaterialOrder; |
| | | using System.Collections.Generic; |
| | | using CMS.Framework.AspNetCore.Users; |
| | | using NPOI.SS.Formula.Functions; |
| | | |
| | | namespace CMS.Plugin.PipeLineLems.ProjectService |
| | | { |
| | |
| | | |
| | | _logger.LogInformation($"{changed.Name} åéå¼åçååï¼æ§å¼{oldValue}=æ°å¼{newValue}ï¼TraceId={traceId}"); |
| | | |
| | | if (changed.Name == "请æ±çææç 产åç ä¿¡å·" && changed.New?.Value.SafeString().ToBool() == true) |
| | | if (changed.Name == "请æ±çææç 产åç ä¿¡å·") |
| | | { |
| | | |
| | | // TODO: å¤çåéå¼åå |
| | |
| | | ï¼4ï¼å¹¶å管çï¼ å¦æä¸å¡å±å¹¶åé大ï¼å¿
é¡»ä¼å代ç 设计å宿½ï¼ä»¥åå°å¨é«å¹¶åæ
åµä¸çç³»ç»èµæºæ¶èï¼é²æ¢ç³»ç»æ§è½é®é¢ã |
| | | ï¼5ï¼ä»£ç å®å
¨ï¼ å®è£
å¹¶ä½¿ç¨ CMS.CodeAnalysis åæå¨æ¥åæ IVariableDataCache.TagChanged çä½¿ç¨æ
åµã该工å
·è½å¨ä½¿ç¨ä¸å½æ¶æä¾ç¼è¯é误ï¼å¸®å©æ¨æé«ä»£ç è´¨éã*/ |
| | | |
| | | _ = Task.Run(async () => |
| | | if (changed.New?.Value.SafeString().ToBool() == true) |
| | | { |
| | | await HanlderForPringBarCodeByCreateProductAsync(); |
| | | // ä¾1ï¼åæ¥å¤ç |
| | | //await ProcessAsync(); |
| | | _ = Task.Run(async () => |
| | | { |
| | | await HanlderForPringBarCodeByCreateProductAsync(); |
| | | }); |
| | | } |
| | | else |
| | | { |
| | | |
| | | // ä¾2ï¼è°ç¨å¤é¨API |
| | | //await ExecuteExternalApiAsync(); |
| | | }); |
| | | _ = Task.Run(async () => |
| | | { |
| | | await HanlderForPringBarCodeByCreateProductWhenFalseAsync(); |
| | | }); |
| | | } |
| | | } |
| | | |
| | | if (changed.Name == "æç è¿ç«ä¿¡å·" && changed.New?.Value.SafeString().ToBool() == true) |
| | |
| | | } |
| | | |
| | | |
| | | if (changed.Name == "请æ±çæåå²äº§åç ä¿¡å·" && changed.New?.Value.SafeString().ToBool() == true) |
| | | if (changed.Name == "请æ±çæåå²äº§åç ä¿¡å·") |
| | | { |
| | | |
| | | // TODO: å¤çåéå¼åå |
| | |
| | | ï¼4ï¼å¹¶å管çï¼ å¦æä¸å¡å±å¹¶åé大ï¼å¿
é¡»ä¼å代ç 设计å宿½ï¼ä»¥åå°å¨é«å¹¶åæ
åµä¸çç³»ç»èµæºæ¶èï¼é²æ¢ç³»ç»æ§è½é®é¢ã |
| | | ï¼5ï¼ä»£ç å®å
¨ï¼ å®è£
å¹¶ä½¿ç¨ CMS.CodeAnalysis åæå¨æ¥åæ IVariableDataCache.TagChanged çä½¿ç¨æ
åµã该工å
·è½å¨ä½¿ç¨ä¸å½æ¶æä¾ç¼è¯é误ï¼å¸®å©æ¨æé«ä»£ç è´¨éã*/ |
| | | |
| | | _ = Task.Run(async () => |
| | | if (changed.New?.Value.SafeString().ToBool() == true) |
| | | { |
| | | await HanlderForCutByCreateProductAsync(); |
| | | // ä¾1ï¼åæ¥å¤ç |
| | | //await ProcessAsync(); |
| | | |
| | | // ä¾2ï¼è°ç¨å¤é¨API |
| | | //await ExecuteExternalApiAsync(); |
| | | }); |
| | | _ = Task.Run(async () => |
| | | { |
| | | await HanlderForCutByCreateProductAsync(); |
| | | }); |
| | | } |
| | | else |
| | | { |
| | | _ = Task.Run(async () => |
| | | { |
| | | await HanlderForCutByCreateProductWhenFlaseAsync(); |
| | | }); |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | Dictionary<string, object?> keyValuePairs_productID = new Dictionary<string, object?> |
| | | { |
| | | { "æç _ProductID", productID}, |
| | | { "CMSåé¦è¯·æ±çææç 产åç ä¿¡å·ç»æ", true}, |
| | | }; |
| | | var ret = _variableService.WriteValueAsync(keyValuePairs_productID); |
| | | |
| | |
| | | throw; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 请æ±çææç 产åç ä¿¡å·(å¼ä¸ºfalseçæ¶å) |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | private async Task HanlderForPringBarCodeByCreateProductWhenFalseAsync() |
| | | { |
| | | Dictionary<string, object?> keyValuePairs_productID = new Dictionary<string, object?> |
| | | { |
| | | { "CMSåé¦è¯·æ±çææç 产åç ä¿¡å·ç»æ", false}, |
| | | }; |
| | | var ret = _variableService.WriteValueAsync(keyValuePairs_productID); |
| | | } |
| | | |
| | | |
| | |
| | | Dictionary<string, object?> keyValuePairs_productID = new Dictionary<string, object?> |
| | | { |
| | | { "åå²_ProductID", productID}, |
| | | { "CMSåé¦è¯·æ±çæåå²äº§åç ä¿¡å·ç»æ", true}, |
| | | }; |
| | | var ret = _variableService.WriteValueAsync(keyValuePairs_productID); |
| | | |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 请æ±çæåå²äº§åç ä¿¡å·ï¼å¼ä¸ºfalseçæ¶åï¼ |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | private async Task HanlderForCutByCreateProductWhenFlaseAsync() |
| | | { |
| | | |
| | | Dictionary<string, object?> keyValuePairs_productID = new Dictionary<string, object?> |
| | | { |
| | | { "CMSåé¦è¯·æ±çæåå²äº§åç ä¿¡å·ç»æ", false}, |
| | | }; |
| | | var ret = _variableService.WriteValueAsync(keyValuePairs_productID); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <Project Sdk="Microsoft.NET.Sdk"> |
| | | |
| | | <Import Project="../../common.props" /> |
| | | <Import Project="../../configureawait.props" /> |
| | | |
| | | <PropertyGroup> |
| | | <TargetFramework>net6.0</TargetFramework> |
| | | </PropertyGroup> |
| | | |
| | | <ItemGroup> |
| | | <PackageReference Include="Volo.Abp.Ddd.Domain" Version="$(ABPPackageVersion)" /> |
| | | <PackageReference Include="Volo.Abp.Settings" Version="$(ABPPackageVersion)" /> |
| | | <PackageReference Include="Volo.Abp.Caching" Version="$(ABPPackageVersion)" /> |
| | | </ItemGroup> |
| | | |
| | | <ItemGroup> |
| | | <ProjectReference Include="..\CMS.Plugin.HIAWms.Abstractions\CMS.Plugin.HIAWms.Abstractions.csproj" /> |
| | | <ProjectReference Include="..\CMS.Plugin.HIAWms.Domain.Shared\CMS.Plugin.HIAWms.Domain.Shared.csproj" /> |
| | | </ItemGroup> |
| | | |
| | | <ItemGroup> |
| | | <Reference Include="CmsQueryExtensions"> |
| | | <HintPath>..\..\..\..\..\CommonDLL\CmsQueryExtensions.dll</HintPath> |
| | | </Reference> |
| | | </ItemGroup> |
| | | |
| | | <ItemGroup> |
| | | <Folder Include="TestStudent\" /> |
| | | </ItemGroup> |
| | | |
| | | </Project> |
| | |
| | | <Project Sdk="Microsoft.NET.Sdk"> |
| | | <Project Sdk="Microsoft.NET.Sdk"> |
| | | |
| | | <Import Project="../../common.props" /> |
| | | <Import Project="../../configureawait.props" /> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using CMS.Plugin.HIAWms.Domain.Shared.Enums; |
| | | using CMS.Plugin.HIAWms.Domain.Shared.TestStudent; |
| | | using CMS.Plugin.MyExtension.Domain; |
| | | using CmsQueryExtensions.Extension; |
| | | using MathNet.Numerics; |
| | | using Microsoft.EntityFrameworkCore; |
| | | using Microsoft.EntityFrameworkCore.Metadata.Internal; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using Volo.Abp; |
| | | using Volo.Abp.Domain.Entities.Auditing; |
| | | |
| | | namespace CMS.Plugin.HIAWms.Domain.TestStudent |
| | | { |
| | | /// <summary> |
| | | /// TestStudent |
| | | /// </summary> |
| | | public class TestStudent : MyFullAuditedAggregateRoot<Guid> |
| | | { |
| | | /// <summary> |
| | | /// é夿§æ ¡éªæ¹å¼ |
| | | /// </summary> |
| | | /// |
| | | [Comment("é夿§æ ¡éªæ¹å¼")] |
| | | [Column("WorkingHours",)] |
| | | [SugarColumn(ColumnName = "RepCheckType", ColumnDescription = "é夿§æ ¡éªæ¹å¼")] |
| | | public string? RepCheckType { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// èå¸ID(å¯ç©º) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "TeacherId", ColumnDescription = "èå¸ID(å¯ç©º)")] |
| | | public long? TeacherId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// èå¸åå(å¯ç©º) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "TeacherName", ColumnDescription = "èå¸åå(å¯ç©º)")] |
| | | public string? TeacherName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å¦çå§å |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "Name", ColumnDescription = "å¦çå§å", Length = 2000)] |
| | | public string Name { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å«å(å¯ç©º) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "AliName", ColumnDescription = "å«å(å¯ç©º)", Length = 2000)] |
| | | public string? AliName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å¦çå¹´é¾ |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "Age", ColumnDescription = "å¦çå¹´é¾")] |
| | | public int Age { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 年纪(å¯ç©º) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "NianJi", ColumnDescription = "年纪(å¯ç©º)")] |
| | | public int? NianJi { get; set; } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ ¡é¿ID(å¯ç©º) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "RectorId", ColumnDescription = "æ ¡é¿ID(å¯ç©º)")] |
| | | public long? RectorId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¶è±é± |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "HasMoney", ColumnDescription = "é¶è±é±", Length = 10, DecimalDigits = 3)] |
| | | public decimal HasMoney { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 身价(å¯ç©º) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ShenJia", ColumnDescription = "身价(å¯ç©º)", Length = 10, DecimalDigits = 3)] |
| | | public decimal? ShenJia { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å¨æ ¡ |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "IsInSchool", ColumnDescription = "æ¯å¦å¨æ ¡")] |
| | | public bool IsInSchool { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å¤å°äºº(å¯ç©º) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "IsWDR", ColumnDescription = "æ¯å¦å¤å°äºº(å¯ç©º)")] |
| | | public bool? IsWDR { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ§å« |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "Gender", ColumnDescription = "æ§å«")] |
| | | public GenderEnum Gender { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
¶ä»æ§å«(å¯ç©º) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "OtherGender", ColumnDescription = "å
¶ä»æ§å«(å¯ç©º)")] |
| | | public GenderEnum? OtherGender { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åºçæ¥æ |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "BrithDate", ColumnDescription = "åºçæ¥æ")] |
| | | public DateTime BrithDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
¥å¦æ¥æ(å¯ç©º) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "InSchoolDate", ColumnDescription = "å
¥å¦æ¥æ(å¯ç©º)")] |
| | | public DateTime? InSchoolDate { get; set; } |
| | | |
| | | } |
| | | } |
| | |
| | | |
| | | <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))"> |
| | | <CMSRootPath>D:\Program Files\CMS Editor</CMSRootPath> |
| | | <OutputPath>$(CMSRootPath)\plugins\cms.plugin.hiawms</OutputPath> |
| | | <OutputPath>$(CMSRootPath)\plugins\cms.plugin.hiawms_test</OutputPath> |
| | | </PropertyGroup> |
| | | |
| | | <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))"> |
| | | <CMSRootPath>/Volumes/SSD/CMS Editor</CMSRootPath> |
| | | <OutputPath>$(CMSRootPath)\plugins\cms.plugin.hiawms</OutputPath> |
| | | <OutputPath>$(CMSRootPath)\plugins\cms.plugin.hiawms_test</OutputPath> |
| | | </PropertyGroup> |
| | | |
| | | <ItemGroup> |