Built motion from commit f861bcb808219e66da88ba48b61bddb35224a65e. Version 3.0.0...
[motion-next.git] / server / api / squareReportDetail / squareReportDetail.rpc.js
1 'use strict';const a731_0x5f10=['@config/logger','169YrhaGU','then','121353bgNTZW','1ujMWBZ','body','3364ImLwfG','2492567tIDRLr','421573mYssjl','error','message','283382psLkKm','stringify','raw','info','SquareDetailsReport','options','9wimUch','CreateSquareDetailsReport','995273fHLIwU','@mysqldb','275769IWKODD'];const a731_0x1826=function(_0x1c9ad7,_0x13c67f){_0x1c9ad7=_0x1c9ad7-0x17d;let _0x5f1098=a731_0x5f10[_0x1c9ad7];return _0x5f1098;};const a731_0x55f183=a731_0x1826;(function(_0x41d10c,_0x296afb){const _0x5fbd66=a731_0x1826;while(!![]){try{const _0x4f5262=parseInt(_0x5fbd66(0x186))*-parseInt(_0x5fbd66(0x18b))+-parseInt(_0x5fbd66(0x188))*parseInt(_0x5fbd66(0x180))+-parseInt(_0x5fbd66(0x184))+parseInt(_0x5fbd66(0x182))+-parseInt(_0x5fbd66(0x190))+parseInt(_0x5fbd66(0x189))*-parseInt(_0x5fbd66(0x18d))+parseInt(_0x5fbd66(0x18c));if(_0x4f5262===_0x296afb)break;else _0x41d10c['push'](_0x41d10c['shift']());}catch(_0x54769f){_0x41d10c['push'](_0x41d10c['shift']());}}}(a731_0x5f10,0xcea57));const db=require(a731_0x55f183(0x183))['db'],logger=require(a731_0x55f183(0x185))('rpc');exports[a731_0x55f183(0x181)]=function(_0x732160){const _0x254e77=this;return new Promise(function(_0xf48dbb,_0x5472f7){const _0x466b3d=a731_0x1826;return db[_0x466b3d(0x17e)]['create'](_0x732160[_0x466b3d(0x18a)],{'raw':_0x732160[_0x466b3d(0x17f)]?_0x732160['options'][_0x466b3d(0x192)]===undefined?!![]:![]:!![]})[_0x466b3d(0x187)](function(_0x5cc514){const _0x536184=_0x466b3d;logger[_0x536184(0x17d)](_0x536184(0x181),_0x732160),logger['debug']('CreateSquareDetailsReport',_0x732160,JSON[_0x536184(0x191)](_0x5cc514)),_0xf48dbb(_0x5cc514);})['catch'](function(_0x501311){const _0x32e5d6=_0x466b3d;logger[_0x32e5d6(0x18e)](_0x32e5d6(0x181),_0x501311[_0x32e5d6(0x18f)],_0x732160),_0x5472f7(_0x254e77[_0x32e5d6(0x18e)](0x1f4,_0x501311[_0x32e5d6(0x18f)]));});});};