/** begin 资产减值单保存**/

DELETE FROM t_open_apiservice WHERE FID = 825971431186629632;
INSERT INTO t_open_apiservice(FAPISERVICETYPE,FCUSTOMMETHOD,FOPERATION,FMASTERID,FCONTENTTYPE,FCREATETIME,FENABLE,FREQTYPE,FDISABLERID,FBIZOBJECT,FALLOWGUEST,FID,FDISABLEDATE,FURL,FSTATUS,FNUMBER,FREPTYPE,FMESSAGETYPE,FMODIFIERID,FPLUGIN,FMODIFYTIME,FAPPID,FURLFORMAT,FHTTPMETHOD,FCREATORID) VALUES ('0',' ','save',825971431186629632,'0',{ts'2020-12-14  10:41:48'},'1',0,NULL,'fa_asset_devalue','0',825971431186629632,NULL,' ','C','fa_asset_devalue_save',0,NULL,1,' ',{ts'2020-12-14  10:41:48'},'83bfebc800001aac','/sys/fa_asset_devalue/save','1',1); 

/**  多语言表  **/
DELETE FROM t_open_apiservice_l WHERE FID = 825971431186629632;
DELETE FROM t_open_apiservice_l WHERE FPKID = '0KF46OA8J7H+';
INSERT INTO t_open_apiservice_l(FID,FDISCRIPTION,FPKID,FLOCALEID,FNAME) VALUES (825971431186629632,'资产减值单保存','0KF46OA8J7H+','zh_CN','资产减值单保存'); 
DELETE FROM t_open_apiservice_l WHERE FPKID = '0KF46OA8J7H/';
INSERT INTO t_open_apiservice_l(FID,FDISCRIPTION,FPKID,FLOCALEID,FNAME) VALUES (825971431186629632,'資產減值單api保存','0KF46OA8J7H/','zh_TW','資產減值單保存'); 

/**  请求头  **/
DELETE FROM t_open_apiheaderentry WHERE FID = 825971431186629632;
DELETE FROM t_open_apiheaderentry WHERE FENTRYID = 1046174415290635265;
INSERT INTO t_open_apiheaderentry(FID,FHEADERNAME,FENTRYID,FSEQ,FHEADERVALUE,FHEADERDES) VALUES (825971431186629632,'ContentType',1046174415290635265,0,'application/json','请求编码类型'); 
DELETE FROM t_open_apiheaderentry WHERE FENTRYID = 1046174415290635266;
INSERT INTO t_open_apiheaderentry(FID,FHEADERNAME,FENTRYID,FSEQ,FHEADERVALUE,FHEADERDES) VALUES (825971431186629632,'access_token',1046174415290635266,0,'zxcvbnm1312sddfas','请求令牌'); 

/**  Query查询  **/
DELETE FROM t_open_apiqueryparamentry WHERE FID = 825971431186629632;

/**  请求体  **/
DELETE FROM t_open_apibodyentry WHERE FID = 825971431186629632;
/**  删除单据编号  **/
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415290631168;
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415282242560;
INSERT INTO t_open_apibodyentry(FID,FMUST,FPARAMTYPE,FPARENTENTRYID,FBODYPARAMDES,FEXAMPLE,FENTRYID,FSEQ,FPARAMNAME) VALUES (825971431186629632,'是','Object',0,'核算组织','"org":{"number":"Org-00014"}',1046174415282242560,2,'org'); 
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415290631169;
INSERT INTO t_open_apibodyentry(FID,FMUST,FPARAMTYPE,FPARENTENTRYID,FBODYPARAMDES,FEXAMPLE,FENTRYID,FSEQ,FPARAMNAME) VALUES (825971431186629632,'否','String',1046174415282242560,'核算组织','Org-00014',1046174415290631169,3,'number'); 
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415282246656;
INSERT INTO t_open_apibodyentry(FID,FMUST,FPARAMTYPE,FPARENTENTRYID,FBODYPARAMDES,FEXAMPLE,FENTRYID,FSEQ,FPARAMNAME) VALUES (825971431186629632,'是','Object',0,'折旧用途','"depreuse":{"number":"01"}',1046174415282246656,4,'depreuse'); 
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415290631170;
INSERT INTO t_open_apibodyentry(FID,FMUST,FPARAMTYPE,FPARENTENTRYID,FBODYPARAMDES,FEXAMPLE,FENTRYID,FSEQ,FPARAMNAME) VALUES (825971431186629632,'否','String',1046174415282246656,'折旧用途','01',1046174415290631170,5,'number'); 
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415290631171;
INSERT INTO t_open_apibodyentry(FID,FMUST,FPARAMTYPE,FPARENTENTRYID,FBODYPARAMDES,FEXAMPLE,FENTRYID,FSEQ,FPARAMNAME) VALUES (825971431186629632,'否','Boolean',0,'凭证','false',1046174415290631171,6,'hasvoucher'); 
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415290631172;
INSERT INTO t_open_apibodyentry(FID,FMUST,FPARAMTYPE,FPARENTENTRYID,FBODYPARAMDES,FEXAMPLE,FENTRYID,FSEQ,FPARAMNAME) VALUES (825971431186629632,'否','String',0,'凭证号',' ',1046174415290631172,7,'vounchernumber'); 
/**  删除减值期间  **/
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415282242561;
/**  删除减值期间  **/
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415290631173;
/**  删除业务日期  **/
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415290631174;
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415290631175;
/**  删除本期减值总额  **/
/**  INSERT INTO t_open_apibodyentry(FID,FMUST,FPARAMTYPE,FPARENTENTRYID,FBODYPARAMDES,FEXAMPLE,FENTRYID,FSEQ,FPARAMNAME) VALUES (825971431186629632,'否','Int',0,'本期减值总额','100',1046174415290631175,11,'decvalsum');  **/
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415282246657;
INSERT INTO t_open_apibodyentry(FID,FMUST,FPARAMTYPE,FPARENTENTRYID,FBODYPARAMDES,FEXAMPLE,FENTRYID,FSEQ,FPARAMNAME) VALUES (825971431186629632,'否','Object',0,'币别',' ',1046174415282246657,12,'currency'); 
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415290631176;
INSERT INTO t_open_apibodyentry(FID,FMUST,FPARAMTYPE,FPARENTENTRYID,FBODYPARAMDES,FEXAMPLE,FENTRYID,FSEQ,FPARAMNAME) VALUES (825971431186629632,'否','String',1046174415282246657,'币别',' ',1046174415290631176,13,'number'); 
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415282246663;
INSERT INTO t_open_apibodyentry(FID,FMUST,FPARAMTYPE,FPARENTENTRYID,FBODYPARAMDES,FEXAMPLE,FENTRYID,FSEQ,FPARAMNAME) VALUES (825971431186629632,' ','Array',0,'减值明细分录',' ',1046174415282246663,14,'changebillentry'); 
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415282242568;
INSERT INTO t_open_apibodyentry(FID,FMUST,FPARAMTYPE,FPARENTENTRYID,FBODYPARAMDES,FEXAMPLE,FENTRYID,FSEQ,FPARAMNAME) VALUES (825971431186629632,'是','Object',1046174415282246663,'资产编码','"realcard":{"number":"Org-00014-0301-1904-0001"}',1046174415282242568,15,'realcard'); 
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415290631177;
INSERT INTO t_open_apibodyentry(FID,FMUST,FPARAMTYPE,FPARENTENTRYID,FBODYPARAMDES,FEXAMPLE,FENTRYID,FSEQ,FPARAMNAME) VALUES (825971431186629632,'否','String',1046174415282242568,'资产编码','Org-00014-0301-1904-0001',1046174415290631177,16,'number'); 
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415290631178;
INSERT INTO t_open_apibodyentry(FID,FMUST,FPARAMTYPE,FPARENTENTRYID,FBODYPARAMDES,FEXAMPLE,FENTRYID,FSEQ,FPARAMNAME) VALUES (825971431186629632,'否','Int',1046174415282246663,'本期减值','100',1046174415290631178,17,'decval'); 
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415282246664;
/**  删除财务卡片  **/
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415290631179;
/**  删除财务卡片  **/
/**  删除账面净值  **/
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415290631180;
/**  删除累计减值  **/
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1046174415290631181;

/**  响应体  **/
DELETE FROM t_open_apirespentry WHERE FID = 825971431186629632;
DELETE FROM t_open_apirespentry WHERE FENTRYID = 1046174415290635264;
INSERT INTO t_open_apirespentry(FID,FRESPPARAMNAME,FRESPPARAMMUST,FRESPPARAMTYPE,FPARENTENTRYID,FENTRYID,FSEQ,FRESPEXAMPLE,FRESPDES) VALUES (825971431186629632,'data','是','Array',0,1046174415290635264,1,' ',' '); 
DELETE FROM t_open_apirespentry WHERE FENTRYID = 1046174415290631182;
INSERT INTO t_open_apirespentry(FID,FRESPPARAMNAME,FRESPPARAMMUST,FRESPPARAMTYPE,FPARENTENTRYID,FENTRYID,FSEQ,FRESPEXAMPLE,FRESPDES) VALUES (825971431186629632,'dindex','是','Object',1046174415290635264,1046174415290631182,2,'0',' '); 
DELETE FROM t_open_apirespentry WHERE FENTRYID = 1046174415290631183;
INSERT INTO t_open_apirespentry(FID,FRESPPARAMNAME,FRESPPARAMMUST,FRESPPARAMTYPE,FPARENTENTRYID,FENTRYID,FSEQ,FRESPEXAMPLE,FRESPDES) VALUES (825971431186629632,'success','是','Boolean',1046174415290635264,1046174415290631183,3,'false',' '); 
DELETE FROM t_open_apirespentry WHERE FENTRYID = 1046174415290631184;
INSERT INTO t_open_apirespentry(FID,FRESPPARAMNAME,FRESPPARAMMUST,FRESPPARAMTYPE,FPARENTENTRYID,FENTRYID,FSEQ,FRESPEXAMPLE,FRESPDES) VALUES (825971431186629632,'message','是','String',1046174415290635264,1046174415290631184,4,'同一核算组织和折旧用途在同一期间内只允许有一张减值单。',' '); 
DELETE FROM t_open_apirespentry WHERE FENTRYID = 1046174415290631185;
INSERT INTO t_open_apirespentry(FID,FRESPPARAMNAME,FRESPPARAMMUST,FRESPPARAMTYPE,FPARENTENTRYID,FENTRYID,FSEQ,FRESPEXAMPLE,FRESPDES) VALUES (825971431186629632,'success','是','Boolean',0,1046174415290631185,5,'false',' '); 
DELETE FROM t_open_apirespentry WHERE FENTRYID = 1046174415290631186;
INSERT INTO t_open_apirespentry(FID,FRESPPARAMNAME,FRESPPARAMMUST,FRESPPARAMTYPE,FPARENTENTRYID,FENTRYID,FSEQ,FRESPEXAMPLE,FRESPDES) VALUES (825971431186629632,'errorCode','是','String',0,1046174415290631186,6,' ',' '); 
DELETE FROM t_open_apirespentry WHERE FENTRYID = 1046174415290631187;
INSERT INTO t_open_apirespentry(FID,FRESPPARAMNAME,FRESPPARAMMUST,FRESPPARAMTYPE,FPARENTENTRYID,FENTRYID,FSEQ,FRESPEXAMPLE,FRESPDES) VALUES (825971431186629632,'message','是','String',0,1046174415290631187,7,'同一核算组织和折旧用途在同一期间内只允许有一张减值单。',' '); 

 /** end资产减值单保存 **/