20190307总结

news/2024/11/24 8:04:26/

社保卡鉴权就是把卡管系统的数据信息通过中间库同步到要同步的数据库中,详细流程如下:

1把参保人az01表的aaz007字段和aac001字段以及baz361=1字段插入card_ckk_add_todo表中

Insert  into card_ckk_add_todo   select  aaz007, aac001 ,’1’,”,”,”,”,”,”  from  az01  where

Aac001 in (seelct  aac001  from ac01  where aac002 =’'430603195503173013'’)

 

2.查询基础库人员信息表,包括aac002 ,aac003,aac006,aae006,aac060,aae550信息  

select  * from  jck_ac47@hnjck   Where aac002 ='430603195503173013'

 

 

3.修改 基础库人员信息

<DATAEXCHANGE>

0003-S-01|st_card_pow|24809CDD0E9FB9275FFE07E751BC1D85

<HEADER>

V1.0|43000060120190219180204097|430000601|430000001|430000601|43000060120190219180204097|002|1|20190219180204|20190219|

 

180204|0

<PSINF>

101087288693|430523196812240042|170803021034

<CHANGEINF>

AAC060|2|1

<END>

4.注销基础库人员信息

<DATAEXCHANGE>

0005-S-01|st_card_pow|24809CDD0E9FB9275FFE07E751BC1D85

<HEADER>

V1.0|43000060120190129000004099|430000601|430000000|430000601|43000060120190129000004099|003|1|20190129151117|20190129|

 

151117|0

<PSINF>

100929075342|440221194311291611|任邦才|其他

<END>

 

5.查询基础库卡信息表,包括aaz500,aaz501,aaz507,baz361,aaz002,baz362信息

Select  * From  jck_az20@hnjck  Where   aac001 In(select  aac001 from  jck_ac47@hnjck   Where aac002 ='430603195503173013' )

 

 

 

6.修改 基础库卡信息

update  jck_az20@hnjck  set baz361 ='0',aaz002 =null,baz362= null  where  aac001 In(select  aac001 from  jck_ac47@hnjck   

 

Where aac002 ='430603195503173013' )

 

7.注销基础库卡信息

<DATAEXCHANGE>

1003-S-01|st_card_pow|24809CDD0E9FB9275FFE07E751BC1D85

<HEADER>

V1.0|43000060120190219000004099|430000601|430000000|430000601|43000060120190219000004099|005|1|20190219145520|20190219|

 

145520|0

<CARDMODIFY>

J45058511|431100D15600000524D1D6B73A9CAB75|100430690816|431100|20190219181501|2|9

<END>

 

 

8,持卡库人员新增查询,包括az361,aaz002,baz362字段

select  * from jck_ac17@hnjck    where  aac001 In(select  aac001 from  jck_ac47@hnjck   

 

Where aac002 ='430603195503173013' )

 

9,持卡库人员新增

insert into jck_ac17@hnjck   select  * from    jck_ac17_temp_finish@hnjck    where aac001  in (select  aac001 from  

 

jck_ac47@hnjck   Where aac002 ='430603195503173013')

 

10持卡库人员新增修改

update  jck_ac17@hnjck   set baz361 = '1',aaz002='',baz362=''   where  aac001 In(select  aac001 from  jck_ac47@hnjck   

 

Where aac002 ='430603195503173013' )

 

11..查询持卡库人员信息表,包括aac998,aac003,aae006,aac060,aae550,aae006信息

 

 Select  *  From ac47@ckk  Where  aac002 ='430603195503173013'

 

 

 

12.修改 持卡库人员信息

<DATAEXCHANGE>

0003-S-01|st_card_pow|24809CDD0E9FB9275FFE07E751BC1D85

<HEADER>

V1.0|43000000120190219180204097|430000001|430000001|430000001|43000000120190219180204097|002|1|20190219180204|20190219|

 

180204|0

<PSINF>

101087288693|430523196812240042|170803021034

<CHANGEINF>

AAC060|2|1

<END>

 

13.注销持卡库人员信息

<DATAEXCHANGE>

0005-S-01|st_card_pow|24809CDD0E9FB9275FFE07E751BC1D85

<HEADER>

V1.0|43000000120190129000004099|430000001|430000000|430000001|43000000120190129000004099|003|1|20190129151117|20190129|

 

151117|0

<PSINF>

100929075342|440221194311291611|任邦才|其他

<END>

 

14.查询基础库卡信息表,包括aaz007,aac998,aaz500,aaz502,aaz507,aac003信息

 Select  * From  az20@ckk  Where  aac998 In (Select aac998  From ac47@ckk  Where  aac002 ='430603195503173013' )

 

 

 

 

15.注销持卡库卡信息

基础库卡信息注销后,持卡库卡信息会同步注销


http://www.ppmy.cn/news/172693.html

相关文章

【正点原子FPGA连载】第三章 硬件资源详解 -摘自【正点原子】领航者ZYNQ之FPGA开发指南_V2.0

1&#xff09;实验平台&#xff1a;正点原子领航者ZYNQ开发板 2&#xff09;平台购买地址&#xff1a;https://item.taobao.com/item.htm?&id606160108761 3&#xff09;全套实验源码手册视频下载地址&#xff1a;http://www.openedv.com/thread-301505-1-1.html 4&#x…

Python:flake8_E501_E128_E125

if((letters[k] > a and letters[k] < z)or(letters[k] > A and letters[k] < Z)): 今天在做密码学的作业的时候 最开始是这样写的&#xff0c;但是报错是 line too long(89 >79 characters)flake8(E501) Flake8是啥&#xff1f; Flake8 是由Python官方发布的…

STM32驱动L501(4G)模块实现无线通讯

本文博客链接&#xff1a;https://blog.csdn.net/zsj2016o/article/details/111354475 作者:zsj ,转载请注明. 1、 软硬件说明 硬件说明 MCU&#xff1a;51/STM3232最小系统板&#xff08;我喜欢用模块进行评估测试&#xff0c;最小系统板是淘宝买的&#xff0c;各位有相关资源…

简单的网页在线咨询代码

简单的网页在线咨询代码 <!DOCTYPE html> <html lang"en"><head><meta charset"UTF-8"><meta name"viewport" content"widthdevice-width, initial-scale1.0"><title>Document</title><…

shell编程——if语句 if -z -n -f -eq -ne -lt

shell编程中条件表达式的使用 if 条件 then Command else Command fi 别忘了这个结尾 If语句忘了结尾fi test.sh: line 14: syntax error: unexpected end of fi if 的三种条件表达式 if command then if 函数 then 命令执行成功&#xff0…

ccf-201412-2 Z字形扫描

问题描述 在图像编码的算法中&#xff0c;需要将一个给定的方形矩阵进行Z字形扫描(Zigzag Scan)。给定一个nn的矩阵&#xff0c;Z字形扫描的过程如下图所示&#xff1a; 对于下面的44的矩阵&#xff0c; 1 5 3 9 3 7 5 6 9 4 6 4 7 3 1 3 对其进行Z字形扫描后得到长度为16的序列…

按字母A-Z顺序排名全国城市、带拼音

{"ret": true,"data":{ "cities": {"A": [{"id": 56,"spell": "aba","name": "阿坝"}, {"id": 57,"spell": "akesu","name": "阿克…

OCP-1Z0-053-V12.02-501题

501.Note the output of the following query; SQL> SELECT flashback_archieve_name, status FROM dba_flashback_archieve; 此处表名有点错误&#xff0c;应该为DBA_FLASHBACK_ARCHIVE FLASHBACK_ARCHIEVE_NAME STATUS FLA1 You executed the following command to en…