|
Duplicate entry '2548730061411840' for key 'PRIMARY'
[复制链接]
本帖最后由 重心亦重行 于 2021-12-7 14:42 编辑
收款保存接口,含有自定义项,API新增可以,但修改报错,返回,Duplicate entry '2548730061411840' for key 'PRIMARY',如果传值时把自定义项去掉,不会有问题,但是加上修改后的自定义项就报错了
{\"data\":[{\"id\":\"2548730061411840\",\"accentity_code\":\"0001\",\"vouchdate\":
\"2021-12-06\",\"customer_code\":\"00030001\",
\"enterprisebankaccount\":\"2548725003525888\",\"tradetype_code\":\"arap_receipt_o
ther\",\"currency\":\"2520420071232005\",
\"exchangeRateType_digit\":\"6\",\"exchangeRateType\":\"y4efqa1c\",\"exchRate\":7.
00000,\"oriSum\":700.0,\"natSum\":4900.0,
\"dept_code\":\"CS\",\"operator_code\":\"\",\"srcbillid\":\"afae4496-84fa-0584-b7a
c-a47a8fb1a410\",\"createDate\":\"0001-01-01\",\"_status\":\"Update\",
\"contractno\":\"PH123\",\"headfree!define1_name\":\"公司
\",\"ReceiveBill_b\":[{\"id\":\"2548730061411841\",\"quickType_code\":\"1\"
,\"oriSum\":700.0,\"natSum\":4900.0,\"dept_code\":\"CS\",\"operator_code\":\"\",\"
_status\":\"Update\",\"bodyfree!define2\":\"254872857816704059105\"}]}]}
|
|