20190708

今天做了一个香港通行证的社保卡鉴权,一开始是人员新增是用串新增的:


0002-S-01|st_card_pow|24809CDD0E9FB9275FFE07E751BC1D85


V1.0|43000060120160526000000002|430000601|430000000|430000601|43000060120160526000000002|501|1|20190708161401|20190708|161401|0

HKG0xxxxxx|04|HKG0xxxxxx||赵四|2|01|19500604|HKG|13530809929|13530809929||||||||1|||430299|0|
 

然后准备用串卡来新增,串如下:
1002-S-01|st_card_pow|24809CDD0E9FB9275FFE07E751BC1D85


V1.0|43000060120160526000000003|430000601|430000000|430000601|43000060120160526000000003|501|1|20190708183407|20190708|183407|0

B36488271|430200D156000005265BE51BCEA35781|430200|0087544C3486844302011B807C|20180713|20280713|1||6214466731040573642|101201464067|HKG001488393|赵新荣|0||2.00
 

可是总是报  卡面社会保障号码格式不正确,调整节点几次都没有用,接着我查看以前港澳通行证社保卡的jck_az20表,发现卡表的操作时间为空,这是我想到用串应该新增不了,应该要手动新增,随之,我就用sql语句插入jck_az20表,sql如下:

 Insert  Into   jck_az20
 Select  Max(aaz007)+1,101201464067,'B36488271','430200D156000005265BE51BCEA35781','430200','0087544C3486844302011B807C','20180713','20280713','1','','6214466731040573642','HKG001488393','赵新荣','0','','2.00','','0','','','','','430000601','' From  jck_az20 

然后baz361改为未处理,最后持卡库人员信息,卡信息成功同步到持卡库
 

你可能感兴趣的:(20190708)