Browse Source

同步小程序数据 单位体检次数增加字段

master
wxd 8 months ago
parent
commit
731bf6bb92
  1. 7
      src/Shentun.Peis.Application/TransToWebPeis/TransToWebPeisAppService.cs

7
src/Shentun.Peis.Application/TransToWebPeis/TransToWebPeisAppService.cs

@ -817,9 +817,9 @@ namespace Shentun.Peis.TransToWebPeis
foreach (var customerOrgRegister in customerOrgRegisters) foreach (var customerOrgRegister in customerOrgRegisters)
{ {
await WebDb.Ado.ExecuteCommandAsync("INSERT INTO public.customer_org_register(customer_org_register_id, customer_org_id, medical_times, register_no, register_name, begin_time," + await WebDb.Ado.ExecuteCommandAsync("INSERT INTO public.customer_org_register(customer_org_register_id, customer_org_id, medical_times, register_no, register_name, begin_time," +
"end_time, is_complete, concurrency_stamp, creation_time, creator_id, last_modification_time, last_modifier_id) " +
"end_time, is_complete, concurrency_stamp, creation_time, creator_id, last_modification_time, last_modifier_id,is_question) " +
"VALUES (@customer_org_register_id,@customer_org_id,@medical_times,@register_no,@register_name,@begin_time," + "VALUES (@customer_org_register_id,@customer_org_id,@medical_times,@register_no,@register_name,@begin_time," +
"CAST(@end_time as timestamp),@is_complete,@concurrency_stamp,@creation_time,@creator_id,@last_modification_time,@last_modifier_id);",
"CAST(@end_time as timestamp),@is_complete,@concurrency_stamp,@creation_time,@creator_id,@last_modification_time,@last_modifier_id,@is_question);",
new List<SugarParameter>() { new List<SugarParameter>() {
new SugarParameter("customer_org_register_id",customerOrgRegister.Id), new SugarParameter("customer_org_register_id",customerOrgRegister.Id),
new SugarParameter("customer_org_id",customerOrgRegister.CustomerOrgId), new SugarParameter("customer_org_id",customerOrgRegister.CustomerOrgId),
@ -833,7 +833,8 @@ namespace Shentun.Peis.TransToWebPeis
new SugarParameter("creation_time",customerOrgRegister.CreationTime), new SugarParameter("creation_time",customerOrgRegister.CreationTime),
new SugarParameter("creator_id",customerOrgRegister.CreatorId), new SugarParameter("creator_id",customerOrgRegister.CreatorId),
new SugarParameter("last_modification_time",customerOrgRegister.LastModificationTime), new SugarParameter("last_modification_time",customerOrgRegister.LastModificationTime),
new SugarParameter("last_modifier_id",customerOrgRegister.LastModifierId)
new SugarParameter("last_modifier_id",customerOrgRegister.LastModifierId),
new SugarParameter("is_question",customerOrgRegister.IsQuestion)
}); });
} }

Loading…
Cancel
Save