Interface: Cost

本文介绍了一种通过数据库接口批量更新成本详情的方法。具体操作包括设置标志位、组ID、交易类型等字段,并插入特定的成本类型ID、成本元素ID和其他相关信息。

1. System standard Conc. Prog. will remove all old lines, then insert new lines as replacement.

bom.cst_item_cst_dtls_interface

INSERT INTO bom.cst_item_cst_dtls_interface(process_flag,group_id,transaction_type,created_by,last_updated_by,last_update_login,creation_date,last_update_date,cost_type_id,cost_element_id,based_on_rollup_flag,organization_id,resource_id,basis_type,inventory_item_id,usage_rate_or_amount)
VALUES (1,741,'UPDATE',64427,64427,64427,sysdate,sysdate,3,1,2,4602,11207,1,2922440,12204.88);
INSERT INTO bom.cst_item_cst_dtls_interface(process_flag,group_id,transaction_type,created_by,last_updated_by,last_update_login,creation_date,last_update_date,cost_type_id,cost_element_id,based_on_rollup_flag,organization_id,resource_id,basis_type,inventory_item_id,usage_rate_or_amount)
VALUES (1,741,'UPDATE',64427,64427,64427,sysdate,sysdate,3,2,2,4602,10880,5,2925074,0.07); --Freight

INSERT INTO bom.cst_item_cst_dtls_interface(process_flag,group_id,transaction_type,created_by,last_updated_by,last_update_login,creation_date,last_update_date,cost_type_id,cost_element_id,based_on_rollup_flag,organization_id,resource_id,basis_type,inventory_item_id,usage_rate_or_amount)
VALUES (1,741,'UPDATE',64427,64427,64427,sysdate,sysdate,3,2,2,4602,10881,5,2925074,0.07); --Duty



--- stderr: osqp_interface /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_update_bounds' /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_update_alpha' /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_update_polish' /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_update_lower_bound' /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_warm_start_x' /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_warm_start_y' /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_update_polish_refine_iter' /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_update_eps_abs' /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_update_upper_bound' /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_update_A' /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_update_check_termination' /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_update_verbose' /usr/bin/ld: libosqp_interface.so: undefined reference to `csc_matrix' /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_update_lin_cost' /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_update_P' /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_update_eps_rel' /usr/bin/ld: libosqp_interface.so: undefined reference to `osqp_update_max_iter' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/test_osqp_interface.dir/build.make:176: test_osqp_interface] Error 1 make[1]: *** [CMakeFiles/Makefile2:213: CMakeFiles/test_osqp_interface.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 ---
03-25
440237:01-01 00:07:42.465 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 999 OcamFaceRectifyV3() get json data com.oplus.aps.params.facerectify.resource.saving failed, count:0 440242:01-01 00:07:42.465 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 1001 OcamFaceRectifyV3() mResourceSaving = 0 440244:01-01 00:07:42.465 16443 16672 I APS_INTERFACE: [INFO][ LOGIC ] OCamFaceRectifyV3.cpp: 81 getHandleObject() set faceRectifyV3=0xb400007775e7dc00 to pParam=0xb400007748d3b680, captureSqId=20 440245:01-01 00:07:42.465 16443 16672 I APS_INTERFACE: [INFO][ ALGO_FACERESTORE ] OCamFaceRectifyV3.cpp: 89 getHandleObject() handle=0xb400007775e7dc00, pParam=0xb400007748d3b680 440246:01-01 00:07:42.465 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 1103 init() E 440339:01-01 00:07:42.475 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2225 getCapMode() logical metadata: 0x0 440340:01-01 00:07:42.475 16443 16672 E APS_INTERFACE: [ERROR][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2238 getCapMode() getMetaData SensorName is null 440341:01-01 00:07:42.475 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2258 getCapMode() nMode 3 logicCameraId 1 mPhyCameraId 0, capMode 1 cameraid = 1 440342:01-01 00:07:42.475 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2279 getFDCInitParam() capMode 3 imageformat 6 path /odm/etc/camera/ 440343:01-01 00:07:42.475 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 1120 init() mResourceSaving = 0 441147:01-01 00:07:42.486 16443 18213 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyLite.cpp: 481 faceRectifyRegisterLite() gFDCOpsPtr->init, ret: 0 441254:01-01 00:07:42.492 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 1124 init() X 441255:01-01 00:07:42.492 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 1125 init() estoc-timecost: 26 441256:01-01 00:07:42.492 16443 16672 I APS_CORE: [INFO][ BLOCK ] APSAutoTimeCalculater.cpp: 179 ~AutoTimeCalculater() [INFO]: run OcamFaceRectifyV3::init cost 26 ms 441270:01-01 00:07:42.492 16443 16672 I APS_INTERFACE: [INFO][ ALGO_FACERESTORE ] OCamFaceRectifyV3.cpp: 89 getHandleObject() handle=0xb400007775e7dc00, pParam=0xb400007748d3b680 441271:01-01 00:07:42.492 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2746 segmentInit() E 441272:01-01 00:07:42.492 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2715 faceRectifySegLoadLibV3() E 441289:01-01 00:07:42.495 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2740 faceRectifySegLoadLibV3() X 441290:01-01 00:07:42.495 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2780 segmentInit() mResourceSaving = 0 441291:01-01 00:07:42.495 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 3077 segmentInit() segment version: V1.3.130 442026:01-01 00:07:42.514 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 3085 segmentInit() MegviiSegmentSdkStatus lenLic: 16999333 446044:01-01 00:07:42.579 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 3102 segmentInit() status: 0, mSegHandle: -5476376633307953144 446060:01-01 00:07:42.579 16443 16672 I APS_CORE: [INFO][ BLOCK ] APSAutoTimeCalculater.cpp: 179 ~AutoTimeCalculater() [INFO]: run OcamFaceRectifyV3::segmentInit cost 84 ms 446061:01-01 00:07:42.579 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2786 segmentInit() X, ret: 0 446131:01-01 00:07:42.579 16443 16672 I APS_INTERFACE: [INFO][ ALGO_FACERESTORE ] OCamFaceRectifyV3.cpp: 89 getHandleObject() handle=0xb400007775e7dc00, pParam=0xb400007748d3b680 446132:01-01 00:07:42.579 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2633 faceDetectInit() E 446133:01-01 00:07:42.579 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2558 faceDetectLoadLib() E 446213:01-01 00:07:42.580 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2622 faceDetectLoadLib() X 446417:01-01 00:07:42.581 16443 16672 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2681 faceDetectInit() E 450172:01-01 00:07:42.693 16443 18213 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyLite.cpp: 599 faceRectifyRefProcessLite() version: 1.4.0.12 450173:01-01 00:07:42.693 16443 18213 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyLite.cpp: 616 faceRectifyRefProcessLite() ANDROID_STATISTICS_FACE_RECTANGLES faceCount: 1 450174:01-01 00:07:42.693 16443 18213 I APS_INTERFACE: [INFO][ LOGIC ] OCamFaceRectifyLite.cpp: 278 fdcProcess() cameraId: 1, cropRect: [0 0 0 0] 450175:01-01 00:07:42.693 16443 18213 I APS_INTERFACE: [INFO][ LOGIC ] OCamFaceRectifyLite.cpp: 289 fdcProcess() cropRect(0, 0, 2304, 1728) 450176:01-01 00:07:42.693 16443 18213 I APS_INTERFACE: [INFO][ LOGIC ] OCamFaceRectifyLite.cpp: 180 fillFaceInfoV2() [0/1] orientation: 270, pFaceRects: [507 511 1446 1344], faceInfo: [281 163 522 463] 450177:01-01 00:07:42.693 16443 18213 I APS_INTERFACE: [INFO][ ALGO_UPSCALE ] OCamFaceRectifyLite.cpp: 309 fdcProcess() frontzoomsupport 1 450178:01-01 00:07:42.693 16443 18213 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyLite.cpp: 316 fdcProcess() get fLuxIndex: 290.407013 450179:01-01 00:07:42.693 16443 18213 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyLite.cpp: 323 fdcProcess() facerectify zoom ration: 1.000000 450180:01-01 00:07:42.693 16443 18213 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyLite.cpp: 353 fdcProcess() faceNum: 1, pointCount: 137, previewWidth: 1920, previewHeight: 1080, scaleW: 0.666667, scaleH: 0.666667 450181:01-01 00:07:42.693 16443 18213 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyLite.cpp: 254 getSensorSize() com.oplus.aps.sat.snapshot.frameDimension Sensor size: (2304, 1728) 450182:01-01 00:07:42.693 16443 18213 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyLite.cpp: 262 getSensorSize() sensorSize: (2304, 1728) 450183:01-01 00:07:42.693 16443 18213 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyLite.cpp: 409 fdcProcess() stMetaData.mode: 3 450244:01-01 00:07:42.700 16443 18213 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyLite.cpp: 434 fdcProcess() gFDCOpsPtr->process, ret: 8 462984:01-01 00:07:43.102 16443 16673 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 1845 preProcess() E 462985:01-01 00:07:43.102 16443 16673 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 1865 preProcess() usingFrameIndex: 0 462987:01-01 00:07:43.102 16443 16673 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 1884 preProcess() needRedoInit 0, inputBufferPlanes format 17, mFDCInitParams imageformat 6 462988:01-01 00:07:43.102 16443 16673 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 1190 doScreenTypeFlip() not need to flip type 462989:01-01 00:07:43.102 16443 16673 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2225 getCapMode() logical metadata: 0xb40000754820dd00 462990:01-01 00:07:43.102 16443 16673 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2230 getCapMode() sensorName_const = amgFront 462991:01-01 00:07:43.102 16443 16673 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2258 getCapMode() nMode 3 logicCameraId 1 mPhyCameraId 1, capMode 1 cameraid = 1 462992:01-01 00:07:43.102 16443 16673 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2338 prepareFDCProcessParams() get meta data [ANDROID_LENS_FACING]: 0 462993:01-01 00:07:43.102 16443 16673 I APS_INTERFACE: [INFO][ ALGO_RECTIFY ] OCamFaceRectifyV3.cpp: 2348 prepareFDCProcessParams() FaceRectify previewFaceNum: 1 462994:01-01 00:07:43.102 16443 16673 I APS_INTERFACE: [INFO][ ALGO_UPSCALE ] OCamFaceRectifyV3.cpp: 2371 prepareFDCProcessParams() frontzoomsupport 1
最新发布
09-02
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值