|
楼主 |
发表于 2020-12-28 09:48:26
|
显示全部楼层
--> sql:INSERT INTO YQHZ_XMJZ(YQHZ_XMJZ.fID, YQHZ_XMJZ.FXMJZ_SJDW, YQHZ_XMJZ.FXMJZ_TBRY, YQHZ_XMJZ.FXMJZ_TBDW, YQHZ_XMJZ.FXMJZ_SZRYPID, YQHZ_XMJZ.FXMJZ_SZZZFID, YQHZ_XMJZ.FXMJZ_ND, YQHZ_XMJZ.FXMJZ_YD, YQHZ_XMJZ.FXMJZ_XMID, YQHZ_XMJZ.FXMJZ_SFBH, YQHZ_XMJZ.FXMJZ_TBRQ, YQHZ_XMJZ.VERSION, YQHZ_XMJZ.FXMJZ_XMZT, YQHZ_XMJZ.FXMJZ_KGRQ, YQHZ_XMJZ.FXMJZ_WGRQ, YQHZ_XMJZ.FXMJZ_SYLJWCE, YQHZ_XMJZ.FXMJZ_MQLJWCE)(SELECT SUBSTR(SYS_GUID(), 1, 32), ?, ?, ?, ?, ?, ?, ?, xm.fID, ?, ? , ?, xm.FXMXX_XMZT AS fXMXX_XMZT, xm.FXMXX_KGRQ AS fXMXX_KGRQ, xm.FXMXX_WGRQ AS fXMXX_WGRQ, xm.FXMXX_SYLJWCE AS fXMXX_SYLJWCE, xm.FXMXX_MQLJWCE AS fXMXX_MQLJWCE FROM YQHZ_XMXX xm WHERE (xm.FXMXX_SBBZ = ?) AND (xm.FXMXX_SZZZFID LIKE ?) )
--> binds:[ORG01, xxxx, xxxxx, HsDTCKeDBNY81NFiv1M, /ORG01.ogn/kWf8sEQK4WsUarkEiDU.ogn, 2020, 07, 0, 2020-12-28 09:44:31.843, 0, 0, %/ORG01.ogn/kWf8sEQK4WsUarkEiDU.ogn%]
这是打印的sql。
guid()的重复不是在一次执行中重复的。是今天执行批量操作,生成的fid,在数据库前期已经存在了,所以导致重复的
|
|