hgl-2019new.sql 718 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373
  1. ##合同
  2. DROP TABLE IF EXISTS `t_b_contract`;
  3. CREATE TABLE `t_b_contract` (
  4. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  5. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  6. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  7. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  8. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  9. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  10. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  11. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  12. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  13. `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  14. `step_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  15. `type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同类型',
  16. `code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同编码',
  17. `name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同名称',
  18. `signdate` datetime(0) NULL DEFAULT NULL COMMENT '签订日期',
  19. `description` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '合同描述',
  20. `totalamount` double NULL DEFAULT NULL COMMENT '合同金额',
  21. `totalinvoice` double NULL DEFAULT NULL COMMENT '累计开票金额',
  22. `totalpayment` double NULL DEFAULT NULL COMMENT '累计付款金额',
  23. `totalincome` double NULL DEFAULT NULL COMMENT '累计收款金额',
  24. `startdate` datetime(0) NULL DEFAULT NULL COMMENT '生效日期',
  25. `enddate` datetime(0) NULL DEFAULT NULL COMMENT '失效日期',
  26. `auditdate` datetime(0) NULL DEFAULT NULL COMMENT '审批日期',
  27. `busstatus` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '状态',
  28. `partnerid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
  29. `projectid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
  30. `thirdpartner` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '第三方单位',
  31. PRIMARY KEY (`id`) USING BTREE
  32. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '外包服务合同表' ROW_FORMAT = Compact;
  33. DROP TABLE IF EXISTS `t_b_contract_history`;
  34. CREATE TABLE `t_b_contract_history` (
  35. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
  36. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  37. `create_date` datetime(0) NULL DEFAULT NULL,
  38. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  39. `contractid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  40. `serviceid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务',
  41. `edition` int(11) NULL DEFAULT NULL COMMENT '版本号',
  42. `changeUser` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '变更人',
  43. `changeReason` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '变更原因',
  44. `remark` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  45. PRIMARY KEY (`id`) USING BTREE,
  46. UNIQUE INDEX `id`(`id`) USING BTREE
  47. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '合同变更历史表' ROW_FORMAT = Compact;
  48. DROP TABLE IF EXISTS `t_b_contract_invoice`;
  49. CREATE TABLE `t_b_contract_invoice` (
  50. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  51. `contractid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'contractid',
  52. `paymentid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付明细id',
  53. `paymentamount` int(11) NULL DEFAULT NULL COMMENT '实际支付金额',
  54. `invoiceno` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发票号',
  55. `invoiceamount` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '本次开票金额',
  56. `invoicedate` datetime(0) NULL DEFAULT NULL COMMENT '开票日期',
  57. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'createBy',
  58. `create_date` datetime(0) NULL DEFAULT NULL COMMENT 'createDate',
  59. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'createName',
  60. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'updateName',
  61. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'updateBy',
  62. `update_date` datetime(0) NULL DEFAULT NULL COMMENT 'updateDate',
  63. `type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同类型',
  64. `bpm_status` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审批流状态',
  65. `auditdate` datetime(0) NULL DEFAULT NULL COMMENT '审批时间',
  66. `partnerid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
  67. `projectid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
  68. PRIMARY KEY (`id`) USING BTREE
  69. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '合同开票表(物料、外包服务)' ROW_FORMAT = Compact;
  70. DROP TABLE IF EXISTS `t_b_contract_item`;
  71. CREATE TABLE `t_b_contract_item` (
  72. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  73. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  74. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  75. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  76. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  77. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  78. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  79. `contractid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同',
  80. `serviceid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务',
  81. `price` double NULL DEFAULT NULL COMMENT '单价',
  82. `unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
  83. `quantity` double NULL DEFAULT NULL COMMENT '数量',
  84. `amount` double NULL DEFAULT NULL COMMENT '金额',
  85. `goodsid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品',
  86. `devicesid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备',
  87. `content` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '条款内容',
  88. `sname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务名称',
  89. `dname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  90. `gname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品名称',
  91. PRIMARY KEY (`id`) USING BTREE
  92. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '外包采购合同服务明细表' ROW_FORMAT = Compact;
  93. DROP TABLE IF EXISTS `t_b_contract_item_history`;
  94. CREATE TABLE `t_b_contract_item_history` (
  95. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
  96. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  97. `create_date` datetime(0) NULL DEFAULT NULL,
  98. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  99. `contractid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  100. `serviceid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务',
  101. `price` decimal(10, 0) NULL DEFAULT NULL,
  102. `unit` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
  103. `quantity` decimal(10, 0) NULL DEFAULT NULL COMMENT '数量',
  104. `amount` decimal(10, 0) NULL DEFAULT NULL COMMENT '金额',
  105. `goodsid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品',
  106. `content` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '条款内容',
  107. `edition` int(11) NULL DEFAULT NULL COMMENT '版本号',
  108. PRIMARY KEY (`id`) USING BTREE,
  109. UNIQUE INDEX `id`(`id`) USING BTREE
  110. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '合同条款历史表' ROW_FORMAT = Compact;
  111. DROP TABLE IF EXISTS `t_b_contract_payment`;
  112. CREATE TABLE `t_b_contract_payment` (
  113. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  114. `code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请单号',
  115. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  116. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  117. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  118. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  119. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  120. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  121. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  122. `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  123. `step_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  124. `contractid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同',
  125. `applypayamount` double NOT NULL COMMENT '申请支付金额',
  126. `totalamount` double NULL DEFAULT NULL COMMENT '合同金额',
  127. `invoiceno` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发票编号',
  128. `invoiceamount` double NULL DEFAULT NULL COMMENT '本次开票金额',
  129. `invoicedate` datetime(0) NULL DEFAULT NULL COMMENT '本次开票日期',
  130. `paytype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付方式',
  131. `billtype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单据类型(外包付款、物料采购付款)',
  132. `auditdate` datetime(0) NULL DEFAULT NULL COMMENT '审批日期',
  133. `partnerid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
  134. `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
  135. `applyerid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请人',
  136. `remark` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
  137. `supplierevaluate` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '供应商评价',
  138. `supplierscore` int(11) NULL DEFAULT NULL COMMENT '供应商评分',
  139. `evaluater` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '评价人',
  140. `payOperator` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付操作员',
  141. `paystatus` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付状态',
  142. `paymentamount` double(32, 0) NULL DEFAULT NULL COMMENT '实际支付金额',
  143. `paydate` datetime(0) NULL DEFAULT NULL COMMENT '支付日期',
  144. PRIMARY KEY (`id`) USING BTREE
  145. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '合同付款表(物料、外包服务)' ROW_FORMAT = Compact;
  146. DROP TABLE IF EXISTS `t_b_contract_payrule`;
  147. CREATE TABLE `t_b_contract_payrule` (
  148. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  149. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  150. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  151. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  152. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  153. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  154. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  155. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  156. `contractid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同',
  157. `payperiod` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付期间',
  158. `amount` double NULL DEFAULT NULL COMMENT '金额',
  159. `percent` double NULL DEFAULT NULL COMMENT '支付比例',
  160. `paytype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付类型',
  161. `remark` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
  162. PRIMARY KEY (`id`) USING BTREE
  163. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '外包采购合同支付条款表' ROW_FORMAT = Compact;
  164. DROP TABLE IF EXISTS `t_b_project_service`;
  165. CREATE TABLE `t_b_project_service` (
  166. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  167. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  168. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  169. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  170. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  171. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  172. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  173. `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
  174. `code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务编码',
  175. `name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务名称',
  176. `projectName` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名称',
  177. `servicetypedetail` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务类型',
  178. PRIMARY KEY (`id`) USING BTREE
  179. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '项目服务表' ROW_FORMAT = Compact;
  180. DROP TABLE IF EXISTS `t_b_project_service_device`;
  181. CREATE TABLE `t_b_project_service_device` (
  182. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  183. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  184. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  185. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  186. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  187. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  188. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  189. `serviceid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务',
  190. `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
  191. `deviceid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备',
  192. PRIMARY KEY (`id`) USING BTREE
  193. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '项目服务及对应设备关系表' ROW_FORMAT = Compact;
  194. DROP TABLE IF EXISTS `t_b_partner`;
  195. CREATE TABLE `t_b_partner` (
  196. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  197. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  198. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  199. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  200. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  201. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  202. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  203. `code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '往来单位编码',
  204. `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '往来单位名称',
  205. `city` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所在城市',
  206. `addr` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '详细地址',
  207. `contact` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系人',
  208. `tel` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电话',
  209. `account` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '账号',
  210. `bank` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '开户行',
  211. `bankno` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '开户行号',
  212. PRIMARY KEY (`id`) USING BTREE
  213. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '客户档案' ROW_FORMAT = Compact;
  214. ## 供应商管理增加联行号
  215. alter table t_b_related_units_extrainfo add COLUMN linkbankno VARCHAR(50);
  216. ## 组织结构增加项目id
  217. alter table t_s_depart add COLUMN projectid VARCHAR(32);
  218. update t_s_depart set projectid = id where dept_code like 'p_%' or dept_code like 'P_%';
  219. ## 文件系统增加密码
  220. alter table t_sys_file add COLUMN userpass VARCHAR(10);
  221. alter table t_sys_file add COLUMN ownerpass VARCHAR(10);
  222. ##物料采购合同
  223. DROP TABLE IF EXISTS `t_b_contract_p`;
  224. CREATE TABLE `t_b_contract_p` (
  225. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  226. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  227. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  228. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  229. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  230. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  231. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  232. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  233. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  234. `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  235. `step_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  236. `type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同类型',
  237. `code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同编码',
  238. `name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同名称',
  239. `signdate` datetime(0) NULL DEFAULT NULL COMMENT '签订日期',
  240. `description` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '合同描述',
  241. `totalamount` double NULL DEFAULT NULL COMMENT '合同金额',
  242. `totalinvoice` double NULL DEFAULT NULL COMMENT '累计开票金额',
  243. `totalpayment` double NULL DEFAULT NULL COMMENT '累计付款金额',
  244. `totalincome` double NULL DEFAULT NULL COMMENT '累计收款金额',
  245. `startdate` datetime(0) NULL DEFAULT NULL COMMENT '生效日期',
  246. `enddate` datetime(0) NULL DEFAULT NULL COMMENT '失效日期',
  247. `auditdate` datetime(0) NULL DEFAULT NULL COMMENT '审批日期',
  248. `busstatus` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '状态',
  249. `partnerid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
  250. `projectid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
  251. `thirdpartner` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '第三方单位',
  252. PRIMARY KEY (`id`) USING BTREE
  253. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '物料采购合同表' ROW_FORMAT = Compact;
  254. DROP TABLE IF EXISTS `t_b_contract_p_payrule`;
  255. CREATE TABLE `t_b_contract_p_payrule` (
  256. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  257. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  258. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  259. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  260. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  261. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  262. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  263. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  264. `contractid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同',
  265. `payperiod` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付期间',
  266. `amount` double NULL DEFAULT NULL COMMENT '金额',
  267. `percent` double NULL DEFAULT NULL COMMENT '支付比例',
  268. `paytype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付类型',
  269. `remark` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
  270. PRIMARY KEY (`id`) USING BTREE
  271. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '物料采购合同支付条款表' ROW_FORMAT = Compact;
  272. DROP TABLE IF EXISTS `t_b_contract_p_item`;
  273. CREATE TABLE `t_b_contract_p_item` (
  274. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  275. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  276. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  277. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  278. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  279. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  280. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  281. `contractid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同',
  282. `serviceid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务',
  283. `price` double NULL DEFAULT NULL COMMENT '单价',
  284. `unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
  285. `quantity` double NULL DEFAULT NULL COMMENT '数量',
  286. `amount` double NULL DEFAULT NULL COMMENT '金额',
  287. `goodsid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品',
  288. `devicesid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备',
  289. `content` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '条款内容',
  290. `sname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务名称',
  291. `dname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  292. `gname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品名称',
  293. PRIMARY KEY (`id`) USING BTREE
  294. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '物料采购合同明细表' ROW_FORMAT = Compact;
  295. ## 基础库
  296. DROP TABLE IF EXISTS `t_b_project`;
  297. CREATE TABLE `t_b_project` (
  298. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  299. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  300. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  301. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  302. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  303. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  304. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  305. `code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目编码',
  306. `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名称',
  307. `leader` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目经理',
  308. `leadername` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目经理',
  309. `zone` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属区域',
  310. `customer` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户',
  311. `customername` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户',
  312. `status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目状态',
  313. `activetime` datetime(0) NULL DEFAULT NULL COMMENT '激活时间',
  314. `addr` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '详细地址',
  315. `currentprocessstart` datetime(0) NULL DEFAULT NULL COMMENT '项目当期起始日期',
  316. `currentprocessend` datetime(0) NULL DEFAULT NULL COMMENT '项目当期截止日期',
  317. `abbreviation` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '简称',
  318. `type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目类型',
  319. `defnum1` double NULL DEFAULT NULL COMMENT '数值自定义项1',
  320. `defnum2` double NULL DEFAULT NULL COMMENT '数值自定义项2',
  321. `defnum3` double NULL DEFAULT NULL COMMENT '数值自定义项3',
  322. `defnum4` double NULL DEFAULT NULL COMMENT '数值自定义项4',
  323. `defnum5` double NULL DEFAULT NULL COMMENT '数值自定义项5',
  324. `defnum6` double NULL DEFAULT NULL COMMENT '数值自定义项6',
  325. `defnum7` double NULL DEFAULT NULL COMMENT '数值自定义项7',
  326. `defnum8` double NULL DEFAULT NULL COMMENT '数值自定义项8',
  327. `defnum9` double NULL DEFAULT NULL COMMENT '数值自定义项9',
  328. `defnum10` double NULL DEFAULT NULL COMMENT '数值自定义项10',
  329. `defstr1` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项1',
  330. `defstr2` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项2',
  331. `defstr3` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项3',
  332. `defstr4` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项4',
  333. `defstr5` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项5',
  334. `defstr6` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项6',
  335. `defstr7` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项7',
  336. `defstr8` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项8',
  337. `defstr9` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项9',
  338. `defstr10` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项10',
  339. PRIMARY KEY (`id`) USING BTREE
  340. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '项目档案' ROW_FORMAT = Compact;
  341. ## 升级项目库
  342. insert into t_b_project(id,code,name,abbreviation,type) select id,dept_code as code,departname as name ,description as abbreviation ,org_type as type from t_s_depart where (dept_code like 'p_%' or dept_code like 'P_%') and org_type in ('5','3');
  343. DROP TABLE IF EXISTS `t_b_zone`;
  344. CREATE TABLE `t_b_zone` (
  345. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  346. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  347. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  348. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  349. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  350. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  351. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  352. `code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区域编码',
  353. `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区域名称',
  354. `leader` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区域负责人',
  355. `leadername` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '负责人',
  356. `defnum1` double NULL DEFAULT NULL COMMENT '数值自定义项1',
  357. `defnum2` double NULL DEFAULT NULL COMMENT '数值自定义项2',
  358. `defnum3` double NULL DEFAULT NULL COMMENT '数值自定义项3',
  359. `defnum4` double NULL DEFAULT NULL COMMENT '数值自定义项4',
  360. `defnum5` double NULL DEFAULT NULL COMMENT '数值自定义项5',
  361. `defnum6` double NULL DEFAULT NULL COMMENT '数值自定义项6',
  362. `defnum7` double NULL DEFAULT NULL COMMENT '数值自定义项7',
  363. `defnum8` double NULL DEFAULT NULL COMMENT '数值自定义项8',
  364. `defnum9` double NULL DEFAULT NULL COMMENT '数值自定义项9',
  365. `defnum10` double NULL DEFAULT NULL COMMENT '数值自定义项10',
  366. `defstr1` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项1',
  367. `defstr2` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项2',
  368. `defstr3` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项3',
  369. `defstr4` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项4',
  370. `defstr5` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项5',
  371. `defstr6` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项6',
  372. `defstr7` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项7',
  373. `defstr8` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项8',
  374. `defstr9` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项9',
  375. `defstr10` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项10',
  376. PRIMARY KEY (`id`) USING BTREE
  377. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '区域档案' ROW_FORMAT = Compact;
  378. ## 销售合同
  379. DROP TABLE IF EXISTS `t_b_contract_sale`;
  380. create table t_b_contract_sale (
  381. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键',
  382. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  383. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  384. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  385. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  386. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  387. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  388. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  389. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  390. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '审批状态',
  391. `code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同号',
  392. `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同名',
  393. `type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '类型',
  394. `signdate` datetime(0) NULL DEFAULT NULL COMMENT '签订日期',
  395. `nextbiddingdate` datetime(0) NULL DEFAULT NULL COMMENT '下次招标日期',
  396. `startdate` datetime(0) NULL DEFAULT NULL COMMENT '生效日期',
  397. `enddate` datetime(0) NULL DEFAULT NULL COMMENT '失效日期',
  398. `totalamount` double(32, 0) NULL DEFAULT NULL COMMENT '合同金额',
  399. `totalinvoice` double(32, 0) NULL DEFAULT NULL COMMENT '累计开票金额',
  400. `totalincome` double(32, 0) NULL DEFAULT NULL COMMENT '累计收款金额',
  401. `servicecontent` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务内容',
  402. `auditdate` datetime(0) NULL DEFAULT NULL COMMENT '审批日期',
  403. `busstatus` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同状态',
  404. `customerid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户',
  405. `customername` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户名',
  406. `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
  407. `projectname` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名',
  408. `paytype` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '付款模式',
  409. `description` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同描述',
  410. `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程实例',
  411. `step_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程当前阶段',
  412. `supplemental` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '补充协议简述',
  413. `contractid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '原合同',
  414. `addamount` double(32, 0) NULL DEFAULT NULL COMMENT '增项金额',
  415. `canExe` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否可执行',
  416. `specialamount` double(20, 0) NULL DEFAULT NULL,
  417. PRIMARY KEY (`id`) USING BTREE
  418. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '销售合同' ROW_FORMAT = Compact;
  419. DROP TABLE IF EXISTS `t_b_contract_sale_item`;
  420. create table t_b_contract_sale_item (
  421. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  422. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  423. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  424. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  425. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  426. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  427. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  428. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  429. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  430. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  431. `contractid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同',
  432. `servicetype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务类型',
  433. `remark` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '服务说明',
  434. `addordel` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '增项减项',
  435. PRIMARY KEY (`id`) USING BTREE
  436. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '销售合同明细' ROW_FORMAT = Compact;
  437. DROP TABLE IF EXISTS `t_b_contract_sale_invoice`;
  438. create table t_b_contract_sale_invoice (
  439. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  440. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  441. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  442. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  443. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  444. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  445. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  446. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  447. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  448. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  449. `proc_inst_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程实例',
  450. `step_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程当前阶段',
  451. `contractid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同',
  452. `contractname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同名',
  453. `invoiceamount` double(20, 0) NULL DEFAULT NULL COMMENT '开票金额',
  454. `invoicedate` datetime(0) NULL DEFAULT NULL COMMENT '开票日期',
  455. `incomeamount` double(20, 0) NULL DEFAULT NULL COMMENT '收款金额',
  456. `incomedate` datetime(0) NULL DEFAULT NULL COMMENT '收款日期',
  457. `invoiceopt` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '开票操作人',
  458. `invoiceoptname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '开票操作人',
  459. `incomeopt` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收款操作人',
  460. `incomeoptname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收款操作人',
  461. `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
  462. `projectname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名',
  463. `customerid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户名',
  464. `customername` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户名',
  465. `busstatus` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '业务状态',
  466. `invoiceno` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发票号',
  467. `invoicetype` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发票类型',
  468. `remark` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  469. `receiver` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收票人',
  470. `taxamount` double(20, 0) NULL DEFAULT NULL COMMENT '税额',
  471. `saleamount` double(20, 0) NULL DEFAULT NULL COMMENT '销售额',
  472. `periodbegin` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物业费起始月度',
  473. `periodend` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物业费截止月度',
  474. `accountingtype` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '核算类型',
  475. `feetype` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收费类别',
  476. `c2cinvoice` double(20, 0) NULL DEFAULT NULL COMMENT '本年开本年',
  477. `c2linvoice` double(20, 0) NULL DEFAULT NULL COMMENT '本年开上年',
  478. `c2ninvoice` double(20, 0) NULL DEFAULT NULL COMMENT '本年开下年',
  479. PRIMARY KEY (`id`) USING BTREE
  480. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '销售合同发票' ROW_FORMAT = Compact;
  481. ## 供方服务计划
  482. DROP TABLE IF EXISTS `t_b_maintain_plan`;
  483. CREATE TABLE t_b_maintain_plan (
  484. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  485. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  486. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  487. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  488. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  489. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  490. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  491. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  492. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  493. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  494. `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程实例',
  495. `step_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审批阶段',
  496. `code` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '编码',
  497. `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '计划名称',
  498. `servicetype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务类型',
  499. `servicefrequ` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务频次',
  500. `relatedunitid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
  501. `relatedunitname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商名称',
  502. `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
  503. `projectname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名称',
  504. `daypermonth` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '每月几日',
  505. `dayperweek` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '每周几',
  506. `regulardate` datetime(0) NULL DEFAULT NULL COMMENT '固定日期',
  507. `devicetype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '维护设备类型',
  508. `startdate` datetime(0) NULL DEFAULT NULL COMMENT '计划开始日期',
  509. `enddate` datetime(0) NULL DEFAULT NULL COMMENT '计划结束日期',
  510. `busistatus` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '业务状态',
  511. `remark` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
  512. PRIMARY KEY (`id`) USING BTREE
  513. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '供方服务计划' ROW_FORMAT = Compact;
  514. DROP TABLE IF EXISTS `t_b_maintain_plan_projserv`;
  515. CREATE TABLE `t_b_maintain_plan_projserv` (
  516. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  517. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  518. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  519. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  520. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  521. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  522. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  523. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  524. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  525. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  526. `projectserviceid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目服务',
  527. `projectservicename` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务描述',
  528. `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
  529. `projectname` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名称',
  530. `servicetypedetail` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务明细类',
  531. `maintainid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务单',
  532. PRIMARY KEY (`id`) USING BTREE
  533. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '供方服务计划项目服务清单' ROW_FORMAT = Compact;
  534. DROP TABLE IF EXISTS `t_b_maintain_plan_times`;
  535. CREATE TABLE `t_b_maintain_plan_times` (
  536. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  537. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  538. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  539. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  540. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  541. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  542. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  543. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  544. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  545. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  546. `servicetime` datetime(0) NULL DEFAULT NULL COMMENT '服务时间',
  547. `maintainplanid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供方服务计划',
  548. PRIMARY KEY (`id`) USING BTREE
  549. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '供方服务计划时间清单' ROW_FORMAT = Compact;
  550. ## 供方服务单
  551. create table t_b_maintain_bill (
  552. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  553. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  554. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  555. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  556. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  557. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  558. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  559. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  560. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  561. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  562. `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务名称',
  563. `code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务号',
  564. `servicedate` datetime(0) NULL DEFAULT NULL COMMENT '服务日期',
  565. `plandatestart` datetime(0) NULL DEFAULT NULL COMMENT '计划开始日期',
  566. `plandateend` datetime(0) NULL DEFAULT NULL COMMENT '计划完成日期',
  567. `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
  568. `projectname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名称',
  569. `servicetypedetail` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务类型',
  570. `projectservcieid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目服务',
  571. `projectservicename` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目服务描述',
  572. `relatedunitid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
  573. `relatedunitname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商名称',
  574. `step_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '当前流程名',
  575. `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  576. `description` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '本次服务描述',
  577. `sourcetype` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单据来源',
  578. `score` int(11) NULL DEFAULT 0 COMMENT '本次服务评分',
  579. `averaged` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '计算过平均分',
  580. `valuate` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务评价',
  581. `busistatus` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '业务状态',
  582. `taskuserid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目负责人',
  583. `taskusername` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目负责人',
  584. `contractid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '外包服务合同',
  585. `contractname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '外包服务合同名',
  586. PRIMARY KEY (`id`) USING BTREE
  587. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '供方服务单' ROW_FORMAT = Compact;
  588. DROP TABLE IF EXISTS `t_b_project_favorite`;
  589. create table t_b_project_favorite (
  590. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  591. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  592. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  593. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '关注日期',
  594. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  595. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  596. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  597. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  598. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  599. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  600. `userid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '人员',
  601. `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关注的项目',
  602. PRIMARY KEY (`id`) USING BTREE
  603. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '项目关注收藏' ROW_FORMAT = Compact;
  604. DROP TABLE IF EXISTS `t_s_ext_attribute`;
  605. create table t_s_ext_attribute (
  606. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  607. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  608. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  609. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  610. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  611. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  612. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  613. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  614. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  615. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  616. `billtypecode` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单据档案类型编码',
  617. `billtypename` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单据档案名称',
  618. `tablename` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单据档案表名',
  619. PRIMARY KEY (`id`) USING BTREE
  620. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '扩展属性设置' ROW_FORMAT = Compact;
  621. DROP TABLE IF EXISTS `t_s_ext_attribute_defset`;
  622. create table t_s_ext_attribute_defset (
  623. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  624. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  625. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  626. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  627. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  628. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  629. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  630. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  631. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  632. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  633. `tablefieldname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '扩展属性字段名',
  634. `extname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '扩展名称',
  635. `extcode` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '扩展编码',
  636. `datatype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '数据类型',
  637. `extattributeid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '主表',
  638. PRIMARY KEY (`id`) USING BTREE
  639. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '扩展属性设置明细' ROW_FORMAT = Compact;
  640. # DROP TABLE IF EXISTS `t_bus_user_arrange_detail_history`;
  641. CREATE TABLE t_bus_user_arrange_detail_history (
  642. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  643. `calendarid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '日历ID',
  644. `shiftid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '班次ID',
  645. `projarrange_detailid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '项目排班详细表ID',
  646. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称',
  647. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称',
  648. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  649. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称',
  650. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称',
  651. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  652. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门',
  653. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司',
  654. PRIMARY KEY (`id`) USING BTREE,
  655. INDEX `idx_cal`(`calendarid`) USING BTREE,
  656. INDEX `idx_pro`(`projarrange_detailid`) USING BTREE
  657. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '员工排班详情历史表表' ROW_FORMAT = Compact;
  658. CREATE TABLE `t_bus_user_attendance_detail_h` (
  659. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL ,
  660. `attendance_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
  661. `status` varchar(2) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
  662. `attendance_date` datetime NULL DEFAULT NULL ,
  663. `retreat_date` datetime NULL DEFAULT NULL ,
  664. `duty_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
  665. `datum_date` decimal(8,0) NULL DEFAULT NULL ,
  666. `time_difference` decimal(8,0) NULL DEFAULT NULL ,
  667. `fine_tuning_type` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
  668. `time_fine_tuning` decimal(8,0) NULL DEFAULT NULL ,
  669. `adjust_reason` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
  670. `borrowstatus` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '借调状态;0未借调,1已借调' ,
  671. `borrowspid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '借调项目id' ,
  672. `borrowsdepartid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '借调部门id' ,
  673. `attendance_mins` decimal(8,0) NULL DEFAULT NULL COMMENT '考勤时间' ,
  674. `timeout_overtime_duration` decimal(8,0) NULL DEFAULT NULL COMMENT '超时加班时长' ,
  675. `national_overtime_duration` decimal(8,0) NULL DEFAULT NULL COMMENT '国定加班时长' ,
  676. `special_overtime` decimal(8,0) NULL DEFAULT NULL COMMENT '特殊加班时长' ,
  677. `day_pay` decimal(8,2) NULL DEFAULT NULL COMMENT '单次借调日薪' ,
  678. `actualattendance_date` decimal(8,0) NULL DEFAULT NULL COMMENT '实际出勤时间' ,
  679. `json_obj` varchar(5000) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '其他字段' ,
  680. `ymd_date` date NULL DEFAULT NULL COMMENT '当前日期' ,
  681. PRIMARY KEY (`id`)
  682. )
  683. ENGINE=InnoDB
  684. DEFAULT CHARACTER SET=utf8 COLLATE=utf8_bin
  685. COMMENT='员工考勤详细表'
  686. ROW_FORMAT=COMPACT
  687. ;
  688. CREATE TABLE `t_bus_user_attendance_total_h` (
  689. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL ,
  690. `user_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
  691. `user_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
  692. `pid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属项目ID' ,
  693. `departid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门ID' ,
  694. `in_postid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属岗位ID' ,
  695. `workingdays` int(2) NULL DEFAULT NULL COMMENT '在职天数' ,
  696. `yearmonth` varchar(10) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
  697. `datum_attendance_date` decimal(8,0) NULL DEFAULT NULL ,
  698. `actual_attendance_date` decimal(8,0) NULL DEFAULT NULL ,
  699. `time_difference_total` decimal(8,0) NULL DEFAULT NULL ,
  700. `adjust_time` decimal(8,0) NULL DEFAULT NULL ,
  701. `owe_time` decimal(8,0) NULL DEFAULT NULL ,
  702. `overtime_total_time` decimal(8,0) NULL DEFAULT NULL ,
  703. `leave_total_time` decimal(8,0) NULL DEFAULT NULL ,
  704. `adjust_record` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
  705. `attendance_status` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
  706. `early_leave_amount` int(3) NULL DEFAULT NULL ,
  707. `late_amount` decimal(8,1) NULL DEFAULT NULL ,
  708. `absenteeism_amount_orig` decimal(8,0) NULL DEFAULT NULL ,
  709. `absenteeism_amount` decimal(8,0) NULL DEFAULT NULL ,
  710. `no_punch_card_amount` int(3) NULL DEFAULT NULL ,
  711. `paid_leave` decimal(8,0) NULL DEFAULT NULL ,
  712. `thing_leave` decimal(8,0) NULL DEFAULT NULL ,
  713. `sick_leave` decimal(8,0) NULL DEFAULT NULL ,
  714. `marriage_leave` decimal(8,0) NULL DEFAULT NULL ,
  715. `funeral_leave` decimal(8,0) NULL DEFAULT NULL ,
  716. `maternity_leave` decimal(8,0) NULL DEFAULT NULL ,
  717. `accompany_maternity_leave` decimal(8,0) NULL DEFAULT NULL ,
  718. `national_duty_duration` decimal(8,0) NULL DEFAULT NULL ,
  719. `timeout_overtime_duration_orig` decimal(8,0) NULL DEFAULT NULL ,
  720. `timeout_overtime_duration` decimal(8,0) NULL DEFAULT NULL ,
  721. `national_overtime_duration` decimal(8,0) NULL DEFAULT NULL ,
  722. `duty_duration` int(3) NULL DEFAULT NULL ,
  723. `special_overtime` decimal(8,0) NULL DEFAULT NULL ,
  724. `day_shift_subsidy` int(3) NULL DEFAULT NULL ,
  725. `night_shift_subsidy` int(3) NULL DEFAULT NULL ,
  726. `day_shift` int(3) NULL DEFAULT NULL ,
  727. `regular_shift` int(3) NULL DEFAULT NULL ,
  728. `fixed_value` int(3) NULL DEFAULT NULL ,
  729. `extra_overtime` int(3) NULL DEFAULT NULL ,
  730. `confirm_status` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
  731. `confirm_date` datetime NULL DEFAULT NULL ,
  732. `confirmor` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
  733. `ifmoved` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '0没有调动过;1调动过' ,
  734. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称' ,
  735. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称' ,
  736. `create_date` datetime NULL DEFAULT NULL COMMENT '创建日期' ,
  737. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称' ,
  738. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称' ,
  739. `update_date` datetime NULL DEFAULT NULL COMMENT '更新日期' ,
  740. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门' ,
  741. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司' ,
  742. `bpm_status` varchar(2) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '流程状态' ,
  743. `json_obj` varchar(1000) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '其他字段' ,
  744. PRIMARY KEY (`id`)
  745. )
  746. ENGINE=InnoDB
  747. DEFAULT CHARACTER SET=utf8 COLLATE=utf8_bin
  748. COMMENT='员工考勤合计表'
  749. ROW_FORMAT=COMPACT
  750. ;
  751. CREATE TABLE `t_bus_ding_attendanceinfo_h` (
  752. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '主键' ,
  753. `user_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '员工编号' ,
  754. `belong_unitid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '所属单位ID' ,
  755. `attendance_date` datetime NOT NULL COMMENT '考勤日期' ,
  756. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称' ,
  757. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称' ,
  758. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司' ,
  759. `ding_uniqueid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '钉钉考勤唯一标识' ,
  760. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称' ,
  761. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门' ,
  762. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '流程状态' ,
  763. `create_date` datetime NULL DEFAULT NULL COMMENT '创建日期' ,
  764. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称' ,
  765. `update_date` datetime NULL DEFAULT NULL COMMENT '更新日期' ,
  766. `attendance_time` datetime NOT NULL COMMENT '考勤时间' ,
  767. `user_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '员工ID' ,
  768. `realname` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '用户姓名' ,
  769. `is_dispose` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '是否处理标志' ,
  770. PRIMARY KEY (`id`),
  771. INDEX `rds_idx_0` (`ding_uniqueid`) USING BTREE
  772. )
  773. ENGINE=InnoDB
  774. DEFAULT CHARACTER SET=utf8 COLLATE=utf8_bin
  775. COMMENT='钉钉考勤原始信息表'
  776. ROW_FORMAT=COMPACT
  777. ;
  778. CREATE TABLE t_bus_projarrange_general_h (
  779. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '主键',
  780. `yearmonth` varchar(10) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '排班月度',
  781. `belong_unitid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属单位ID',
  782. `people_quantity` int(5) NULL DEFAULT NULL COMMENT '人数',
  783. `arrange_duty_status` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '排班状态',
  784. `reporter_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '上报人ID',
  785. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称',
  786. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称',
  787. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  788. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称',
  789. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称',
  790. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  791. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门',
  792. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司',
  793. PRIMARY KEY (`id`) USING BTREE
  794. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '项目排班总揽表' ROW_FORMAT = Compact;
  795. CREATE TABLE t_bus_projarrange_detail_h (
  796. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '主键',
  797. `projarrange_generalid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '项目排班总揽表ID',
  798. `pjt_postid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '项目岗位ID',
  799. `userid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '员工ID',
  800. `working_days` decimal(8, 1) NULL DEFAULT NULL COMMENT '上班天数',
  801. `timeout_overtime_hours` decimal(8, 1) NULL DEFAULT NULL COMMENT '超时加班',
  802. `country_overtime_hours` decimal(8, 1) NULL DEFAULT NULL COMMENT '国定加班',
  803. `onduty_days` decimal(8, 1) NULL DEFAULT NULL COMMENT '值班天数',
  804. `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '备注',
  805. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称',
  806. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称',
  807. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  808. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称',
  809. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称',
  810. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  811. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门',
  812. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司',
  813. `yearmonth` varchar(10) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '月度',
  814. `pid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '项目id',
  815. PRIMARY KEY (`id`) USING BTREE
  816. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '项目排班详细表' ROW_FORMAT = Compact;
  817. CREATE TABLE t_bus_user_arrange_detail_h (
  818. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  819. `calendarid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '日历ID',
  820. `shiftid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '班次ID',
  821. `projarrange_detailid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '项目排班详细表ID',
  822. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称',
  823. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称',
  824. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  825. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称',
  826. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称',
  827. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  828. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门',
  829. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司',
  830. PRIMARY KEY (`id`) USING BTREE,
  831. INDEX `idx_cal`(`calendarid`) USING BTREE,
  832. INDEX `idx_pro`(`projarrange_detailid`) USING BTREE
  833. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '员工排班详情表' ROW_FORMAT = Compact;
  834. CREATE TABLE t_bus_attendance_temp_h (
  835. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  836. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称',
  837. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称',
  838. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  839. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称',
  840. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称',
  841. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  842. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门',
  843. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司',
  844. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '1' COMMENT '流程状态',
  845. `user_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '员工ID',
  846. `user_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '员工编号',
  847. `realname` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '员工姓名',
  848. `belong_unitid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属单位ID',
  849. `attendance_date` datetime(0) NULL DEFAULT NULL COMMENT '考勤日期',
  850. `datum_stime` datetime(0) NULL DEFAULT NULL COMMENT '日基准开始时间',
  851. `datum_etime` datetime(0) NULL DEFAULT NULL COMMENT '日基准结束时间',
  852. `sign_date` datetime(0) NULL DEFAULT NULL COMMENT '签到时间',
  853. `newest_punchcard_date` datetime(0) NULL DEFAULT NULL COMMENT '最新打卡时间',
  854. `attendance_status` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '考勤状态',
  855. `arrange_duty_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '班次ID',
  856. `attendance_datetime` datetime(0) NULL DEFAULT NULL COMMENT '出勤时间',
  857. `retreat_datetime` datetime(0) NULL DEFAULT NULL COMMENT '退勤时间',
  858. `alldatetime` varchar(1000) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所有签到时间',
  859. `lateminute` int(3) NULL DEFAULT NULL COMMENT '迟到分钟数',
  860. `leaveearlyminute` int(3) NULL DEFAULT NULL COMMENT '早退分钟数',
  861. PRIMARY KEY (`id`) USING BTREE,
  862. INDEX `date_indx`(`attendance_date`) USING BTREE
  863. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '考勤实时查看表' ROW_FORMAT = Compact;
  864. DROP TABLE IF EXISTS `t_b_contract_sale_income`;
  865. create table t_b_contract_sale_income (
  866. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  867. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  868. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  869. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  870. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  871. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  872. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  873. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  874. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  875. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  876. `operatorid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收款人',
  877. `operatorname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收款人姓名',
  878. `sourcetype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '来源单据类型',
  879. `sourcebillid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '来源单据',
  880. `sourcebillcode` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '来源单编号',
  881. `totalamount` double NULL DEFAULT 0 COMMENT '款项总计',
  882. `totalincome` double NULL DEFAULT 0 COMMENT '累计已收款',
  883. `incomedate` datetime(0) NOT NULL COMMENT '收款日期',
  884. `incomeamount` double NOT NULL DEFAULT 0 COMMENT '本次收款金额',
  885. `invoiceid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发票id',
  886. `periodbegin` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物业费起始月度',
  887. `periodend` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物业费截止月度',
  888. `c2cincome` double(20, 0) NULL DEFAULT NULL COMMENT '本年收本年',
  889. `c2nincome` double(20, 0) NULL DEFAULT NULL COMMENT '本年收下年',
  890. `c2lincome` double(20, 0) NULL DEFAULT NULL COMMENT '本年收上年',
  891. PRIMARY KEY (`id`) USING BTREE
  892. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '销售合同收款表' ROW_FORMAT = Compact;
  893. ##菜单
  894. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402888ea69fc39470169fc3a9c7f0001', NULL, 0, '基础库', '99', '', NULL, '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-04-08 17:14:53', NULL);
  895. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402888ea69fc39470169fc3b47af0003', NULL, 1, '项目服务信息', '10', 'projectServiceController.do?list', '402888ea69fc39470169fc3a9c7f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-04-08 17:15:37', NULL);
  896. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402882f0699a210a01699a23ff6f0001', NULL, 0, '合同管理', '7', '', NULL, '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-03-20 16:07:24', NULL);
  897. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('4028873a69c2fc2f0169c35e45a80001', NULL, 1, '合同支付', '6', 'contractPaymentController.do?paylist', '402882f0699a210a01699a23ff6f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-03-28 16:15:29', NULL);
  898. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('4028827769b925ee0169b9277ba60001', NULL, 1, '合同支付申请', '5', 'contractPaymentController.do?applylist', '402882f0699a210a01699a23ff6f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-03-26 16:39:26', NULL);
  899. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('4028862269b2a8450169b2addc460001', NULL, 1, '客户档案', '20', 'partnerController.do?list', '402888ea69fc39470169fc3a9c7f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-03-25 10:28:52', NULL);
  900. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402882f0699a210a01699a245abc0003', NULL, 1, '外包采购合同', '0', 'contractController.do?list', '402882f0699a210a01699a23ff6f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-03-20 16:11:51', '2019-03-20 16:07:48', '管理员');
  901. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402882f0699a210a01699a245eee0003', NULL, 1, '物料采购合同', '1', 'contractPController.do?list', '402882f0699a210a01699a23ff6f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-03-20 16:11:51', '2019-03-20 16:07:48', '管理员');
  902. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402888ea6aaa261d016aaad842a0000d', NULL, 1, '开票及收款', '10', 'contractSaleInvoiceController.do?list', '402882f0699a210a01699a23ff6f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-05-12 15:01:01', NULL);
  903. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402888ea6aa582a1016aa5ad838a000d', NULL, 1, '销售合同-商务', '3', 'contractSaleController.do?list4Shangwu', '402882f0699a210a01699a23ff6f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-05-11 14:56:13', NULL);
  904. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402888ea6aa582a1016aa587faa90002', NULL, 1, '销售合同-技术', '4', 'contractSaleController.do?list4Jishu', '402882f0699a210a01699a23ff6f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-05-11 14:56:26', '2019-05-11 14:15:13', '管理员');
  905. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402888ea6a9beaaf016a9bec98a60001', NULL, 1, '销售合同', '2', 'contractSaleController.do?list', '402882f0699a210a01699a23ff6f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-05-09 17:30:08', '2019-05-09 17:28:55', '管理员');
  906. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402887b16a62dffe016a62e10fdc0004', NULL, 1, '支付状态查询', '8', 'contractPaymentController.do?payOverlookList', '402882f0699a210a01699a23ff6f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-04-28 15:37:58', NULL);
  907. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402887a26a53dc6d016a53de02c70003', NULL, 1, '区域库', '10', 'zoneController.do?list', '402888ea69fc39470169fc3a9c7f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-04-25 17:40:20', NULL);
  908. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402887a26a53dc6d016a53dd85400001', NULL, 1, '项目库', '1', 'projectController.do?list', '402888ea69fc39470169fc3a9c7f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-04-25 17:39:48', NULL);
  909. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('40289fbd6b02c6d1016b02c9fe9e0001', NULL, 1, '扩展属性设置', '20', 'extAttributeController.do?list', '8a8ab0b246dc81120146dc8180d2001a', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, 'fa-arrows-alt', 'admin', '管理员', NULL, NULL, '2019-05-29 16:52:01', NULL);
  910. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816ae2c23c016ae2c32f110001', NULL, 0, '供方服务管理', '19', '', NULL, '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-05-23 11:38:21', '2019-05-23 11:36:44', '管理员');
  911. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816ae2c23c016ae2c576640004', NULL, 1, '供方服务计划', '0', 'maintainPlanController.do?list', 'ff8080816ae2c23c016ae2c32f110001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-05-23 11:39:13', NULL);
  912. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816ad33d5a016ad3d64bc20013', NULL, 1, '物业费实时进程表', '30', 'contractReportsController.do?propertyfeeLive', '402882f0699a210a01699a23ff6f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-05-20 14:03:18', NULL);
  913. ##字典
  914. INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('4028827769b7ceb90169b7d695680001', 'contractstatus', '合同状态', '2019-03-26 10:31:27', '管理员');
  915. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028827769b7ceb90169b7d7318c0003', '1', '已签订', NULL, '4028827769b7ceb90169b7d695680001', '2019-03-26 10:32:07', '管理员');
  916. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028827769b7ceb90169b7d773970005', '2', '已生效', NULL, '4028827769b7ceb90169b7d695680001', '2019-03-26 10:32:24', '管理员');
  917. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028827769b7ceb90169b7d7c5140007', '9', '已关闭', NULL, '4028827769b7ceb90169b7d695680001', '2019-03-26 10:32:45', '管理员');
  918. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aaef2d5016aaef58ba90007', '23', '发票已作废', NULL, '4028827769b7ceb90169b7d695680001', '2019-05-13 10:11:29', '管理员');
  919. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aaef2d5016aaef542030005', '22', '已收款', NULL, '4028827769b7ceb90169b7d695680001', '2019-05-13 10:11:10', '管理员');
  920. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aaef2d5016aaef51a7b0003', '21', '已开票', NULL, '4028827769b7ceb90169b7d695680001', '2019-05-13 10:11:00', '管理员');
  921. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aaef2d5016aaef4fd3f0001', '20', '未开票', NULL, '4028827769b7ceb90169b7d695680001', '2019-05-13 10:10:52', '管理员');
  922. INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('402888ea6a9beaaf016aa03ee9b0000a', 'paymode', '付款模式', '2019-05-10 13:37:19', '管理员');
  923. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6a9beaaf016aa03f50af000c', 'Monthly', '月付', NULL, '402888ea6a9beaaf016aa03ee9b0000a', NULL, NULL);
  924. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6a9beaaf016aa0406728000e', 'Quarterly', '季付', NULL, '402888ea6a9beaaf016aa03ee9b0000a', '2019-05-10 13:38:56', '管理员');
  925. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6a9beaaf016aa04140930011', 'halfYear', '半年付', NULL, '402888ea6a9beaaf016aa03ee9b0000a', '2019-05-10 13:39:52', '管理员');
  926. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6a9beaaf016aa04180110013', 'Yearly', '年付', NULL, '402888ea6a9beaaf016aa03ee9b0000a', '2019-05-10 13:40:08', '管理员');
  927. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6a9beaaf016aa041e5c00015', 'other', '其他约定', NULL, '402888ea6a9beaaf016aa03ee9b0000a', '2019-05-10 13:40:34', '管理员');
  928. INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('402888ea6a9beaaf016aa04f906b0017', 'servicetype', '服务大类', NULL, NULL);
  929. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6a9beaaf016aa0513fdd001a', 'security', '保安服务', NULL, '402888ea6a9beaaf016aa04f906b0017', NULL, NULL);
  930. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6a9beaaf016aa051a27e001c', 'cleaning', '保洁服务', NULL, '402888ea6a9beaaf016aa04f906b0017', '2019-05-10 13:57:46', '管理员');
  931. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6a9beaaf016aa0529802001f', 'device', '工程服务', NULL, '402888ea6a9beaaf016aa04f906b0017', '2019-05-10 13:58:49', '管理员');
  932. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6a9beaaf016aa0530de30021', 'meeting', '会务服务', NULL, '402888ea6a9beaaf016aa04f906b0017', '2019-05-10 13:59:19', '管理员');
  933. INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d673b50007', 'servicetypedetail', '服务类型明细', '2019-05-10 16:22:50', '管理员');
  934. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d73bbb0009', 'green', '绿化服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', NULL, NULL);
  935. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d7e80d000b', 'AirConditioner', '空调维保服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', NULL, NULL);
  936. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d846a9000d', 'elevator', '电梯维保服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', NULL, NULL);
  937. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d8bc85000f', 'GarbageCleaning', '垃圾清理服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', NULL, NULL);
  938. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d927540011', 'WeakCurrent', '弱电设备维保服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', NULL, NULL);
  939. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d9718c0013', 'electricity', '强电设备维保服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', NULL, NULL);
  940. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0dbab27001b', 'GreatCleaning', '大保洁服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', NULL, NULL);
  941. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0dc61d7001e', 'monitor', '监控设备维保服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', '2019-05-10 16:29:19', '管理员');
  942. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0dcaf030020', 'security', '保安服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', '2019-05-10 16:29:38', '管理员');
  943. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0dcfd7a0022', 'cleaning', '保洁服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', '2019-05-10 16:29:59', '管理员');
  944. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0dd2ab90024', 'meeting', '会务服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', '2019-05-10 16:30:10', '管理员');
  945. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0dd625b0026', 'device', '工程服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', '2019-05-10 16:30:24', '管理员');
  946. INSERT INTO t_s_type(ID, typecode, typename, typepid, typegroupid, create_date, create_name) VALUES ('40289fbd6b870411016b871acf2a0004', 'special', '专项服务', NULL, '402888ea6a9beaaf016aa04f906b0017', '2019-06-24 09:30:10', '管理员');
  947. INSERT INTO t_s_type(ID, typecode, typename, typepid, typegroupid, create_date, create_name) VALUES ('40289fbd6b870411016b8719d4530002', 'suguan', '宿管服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', '2019-06-24 09:29:05', '管理员');
  948. INSERT INTO t_s_type(ID, typecode, typename, typepid, typegroupid, create_date, create_name) VALUES ('40289fbd6b870411016b83333cf2a0004', 'suguan', '宿管服务', NULL, '402888ea6a9beaaf016aa04f906b0017', '2019-06-24 09:30:10', '管理员');
  949. INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('402880f269e207570169e2220e8f0003', 'paytype', '支付类型', '2019-04-03 15:37:57', '管理员');
  950. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402880f269e207570169e22270d90005', 'cash', '现金', NULL, '402880f269e207570169e2220e8f0003', '2019-04-03 15:38:22', '管理员');
  951. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402880f269e207570169e2238f330007', 'transfer', '转账', NULL, '402880f269e207570169e2220e8f0003', '2019-04-03 15:39:35', '管理员');
  952. INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d49c1d0001', 'addordel', '增项减项', '2019-05-10 16:20:49', '管理员');
  953. INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('ff8080816ae3c32d016ae40ea0bc0002', 'frequ', '频次', '2019-05-23 17:38:45', '管理员');
  954. INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('4028819b6abfac89016abfc222c30010', 'invoicetype', '发票类型', '2019-05-16 16:28:52', '管理员');
  955. INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('4028819b6abfac89016abfbe28fd0008', 'accountingtype', '核算类型', '2019-05-16 16:24:32', '管理员');
  956. INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('4028819b6abfac89016abfbbe8460002', 'feetype', '费用类型', '2019-05-16 16:22:04', '管理员');
  957. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028819b6abfac89016abfbc32690004', 'wuyefee', '物业费', NULL, '4028819b6abfac89016abfbbe8460002', '2019-05-16 16:22:23', '管理员');
  958. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028819b6abfac89016abfbdd6a20006', 'operatingincome', '经营收入', NULL, '4028819b6abfac89016abfbbe8460002', '2019-05-16 16:24:11', '管理员');
  959. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028819b6abfac89016abfbeda31000a', 'nowtolast', '今年开上年', NULL, '4028819b6abfac89016abfbe28fd0008', '2019-05-16 16:25:17', '管理员');
  960. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028819b6abfac89016abfbf085f000c', 'lasttolast', '上年开上年', NULL, '4028819b6abfac89016abfbe28fd0008', '2019-05-16 16:25:29', '管理员');
  961. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028819b6abfac89016abfbf4ccd000e', 'lasttonow', '上年开今年', NULL, '4028819b6abfac89016abfbe28fd0008', '2019-05-16 16:25:46', '管理员');
  962. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028819b6abfac89016abfc2a6880012', 'special', '增值税专用发票', NULL, '4028819b6abfac89016abfc222c30010', '2019-05-16 16:29:26', '管理员');
  963. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028819b6abfac89016abfc32e8f0014', 'ordinary', '增值税普通发票', NULL, '4028819b6abfac89016abfc222c30010', '2019-05-16 16:30:01', '管理员');
  964. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d4ec770003', 'add', '增项', NULL, '402888ea6aa0cf1e016aa0d49c1d0001', '2019-05-10 16:21:10', '管理员');
  965. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d5dbe30005', 'del', '减项', NULL, '402888ea6aa0cf1e016aa0d49c1d0001', '2019-05-10 16:22:11', '管理员');
  966. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('ff8080816ae3c32d016ae40f01080004', 'weekly', '每周一次', NULL, 'ff8080816ae3c32d016ae40ea0bc0002', '2019-05-23 17:39:10', '管理员');
  967. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('ff8080816ae3c32d016ae4103c050006', 'halfmonth', '半月一次', NULL, 'ff8080816ae3c32d016ae40ea0bc0002', '2019-05-23 17:40:30', '管理员');
  968. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('ff8080816ae3c32d016ae4105f540008', 'monthly', '每月一次', NULL, 'ff8080816ae3c32d016ae40ea0bc0002', '2019-05-23 17:40:39', '管理员');
  969. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('ff8080816ae3c32d016ae41112ba000a', 'quarterly', '每季度一次', NULL, 'ff8080816ae3c32d016ae40ea0bc0002', '2019-05-23 17:41:25', '管理员');
  970. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('ff8080816ae3c32d016ae4114ecd000c', 'halfyear', '半年一次', NULL, 'ff8080816ae3c32d016ae40ea0bc0002', '2019-05-23 17:41:41', '管理员');
  971. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('ff8080816ae3c32d016ae4118639000e', 'yearly', '每年一次', NULL, 'ff8080816ae3c32d016ae40ea0bc0002', '2019-05-23 17:41:55', '管理员');
  972. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('ff8080816ae3c32d016ae41212900010', 'onetime', '一次服务', NULL, 'ff8080816ae3c32d016ae40ea0bc0002', '2019-05-23 17:42:31', '管理员');
  973. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('ff8080816ae3c32d016ae41256890012', 'other', '其他约定时间', NULL, 'ff8080816ae3c32d016ae40ea0bc0002', '2019-05-23 17:42:48', '管理员');
  974. ## 审批流类型
  975. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028e4885f943f8d015f944822721111', 'contract', '合同流程', NULL, '402889fe47eddd340147ede15c070001', NULL, NULL);
  976. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028e4885f943f8d015f944822722222', 'contractpayment', '合同付款申请流程', NULL, '402889fe47eddd340147ede15c070001', NULL, NULL);
  977. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6ab4648d016ab52250f00005', 'salecontract', '销售合同流程', NULL, '402889fe47eddd340147ede15c070001', '2019-05-14 14:58:06', '管理员');
  978. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402881b36af6ceb6016af72a887c0002', 'purchasecontract', '物料采购合同审批流程', NULL, '402889fe47eddd340147ede15c070001', '2019-05-27 10:42:01', '管理员');
  979. ## 多语言
  980. INSERT INTO `t_s_muti_lang`(`id`, `lang_key`, `lang_context`, `lang_code`, `create_date`, `create_by`, `create_name`, `update_date`, `update_by`, `update_name`) VALUES ('01ca201223b14e3e86c13904a9ae5222', 'hgl.contrat.paystatus.yes', '已支付', 'zh-cn', NULL, NULL, NULL, NULL, NULL, NULL);
  981. INSERT INTO `t_s_muti_lang`(`id`, `lang_key`, `lang_context`, `lang_code`, `create_date`, `create_by`, `create_name`, `update_date`, `update_by`, `update_name`) VALUES ('01ca201223b14e3e86c13904a9ae5111', 'hgl.contrat.paystatus.no', '未支付', 'zh-cn', NULL, NULL, NULL, NULL, NULL, NULL);
  982. INSERT INTO `t_s_muti_lang`(`id`, `lang_key`, `lang_context`, `lang_code`, `create_date`, `create_by`, `create_name`, `update_date`, `update_by`, `update_name`) VALUES ('jglongjba87c37d001487c499a422223', 'hgl.contrat.paystatus.ing', '支付中', 'zh-cn', NULL, NULL, NULL, NULL, NULL, NULL);
  983. INSERT INTO `t_s_muti_lang`(`id`, `lang_key`, `lang_context`, `lang_code`, `create_date`, `create_by`, `create_name`, `update_date`, `update_by`, `update_name`) VALUES ('01ca201224444e3e86c13904a9ae5111', 'hgl.audit.submitaudit', '提交签报', 'zh-cn', NULL, NULL, NULL, NULL, NULL, NULL);
  984. INSERT INTO `t_s_muti_lang`(`id`, `lang_key`, `lang_context`, `lang_code`, `create_date`, `create_by`, `create_name`, `update_date`, `update_by`, `update_name`) VALUES ('jglongjba44447d001487c499a422223', 'hgl.audit.viewaudit', '查看签报', 'zh-cn', NULL, NULL, NULL, NULL, NULL, NULL);
  985. ## 定时任务
  986. INSERT INTO t_s_timetask(ID, CREATE_BY, CREATE_DATE, CREATE_NAME, CRON_EXPRESSION, IS_EFFECT, IS_START, TASK_DESCRIBE, TASK_ID, UPDATE_BY, UPDATE_DATE, UPDATE_NAME, CLASS_NAME, RUN_SERVER_IP, RUN_SERVER) VALUES ('31222222641238170164a17a8e971116', 'admin', '2018-07-16 13:05:21', '管理员', '0 20 1 * * ? *', '1', '1', '每日1:20 自动更新合同状态任务', 'contractActiveTask', 'admin', '2018-08-08 15:25:29', '管理员', 'cn.com.lzt.contract.timetask.ContractActiveTask', '172.19.192.168', '172.19.192.168/hgl');
  987. INSERT INTO t_s_timetask(ID, CREATE_BY, CREATE_DATE, CREATE_NAME, CRON_EXPRESSION, IS_EFFECT, IS_START, TASK_DESCRIBE, TASK_ID, UPDATE_BY, UPDATE_DATE, UPDATE_NAME, CLASS_NAME, RUN_SERVER_IP, RUN_SERVER) VALUES ('31222222641238170164a17a11171116', 'admin', '2018-07-16 13:05:21', '管理员', '0 20 1 1 * ? *', '0', '0', '每月1日1:30 根据计划,生成供方服务单', 'autoCreateMaintainBillTask', 'admin', '2018-08-08 15:25:29', '管理员', 'cn.com.lzt.maintainbill.timer.AutoCreateMaintainBillTask', '127.0.0.1', '127.0.0.1:8080/hgl');
  988. INSERT INTO t_s_timetask(ID, CREATE_BY, CREATE_DATE, CREATE_NAME, CRON_EXPRESSION, IS_EFFECT, IS_START, TASK_DESCRIBE, TASK_ID, UPDATE_BY, UPDATE_DATE, UPDATE_NAME, CLASS_NAME, RUN_SERVER_IP, RUN_SERVER) VALUES ('3122222264aaaa170164a17a11171116', 'admin', '2018-07-16 13:05:21', '管理员', '0 20 1 15 * ? *', '1', '0', '每月15日1:30 备份大数据量表', 'bigDataTableBackupTask', 'admin', '2019-06-22 13:12:48', '管理员', 'cn.com.lzt.timertask.BigDataTableBackupTask', '127.0.0.1', '127.0.0.1:8080/hgl');
  989. ## 工资明细新加字段
  990. alter table t_bus_user_wage add COLUMN comcost decimal(16,2);
  991. alter table t_bus_user_wage modify COLUMN com_social_security_debit decimal(16,2);
  992. alter table t_bus_user_wage add COLUMN socialSecurityId VARCHAR(36);
  993. alter table t_bus_user_wage add COLUMN socialSecurityUnit VARCHAR(36);
  994. ## 用户基础表添加字段
  995. alter table t_s_user add COLUMN education VARCHAR(36);
  996. alter table t_s_user add COLUMN hktype VARCHAR(36);
  997. ## 考勤上报增加索引,提高效率
  998. ALTER TABLE `t_bus_ding_attendanceinfo` ADD INDEX userid (`user_id`);
  999. ALTER TABLE `t_bus_ding_attendanceinfo` ADD INDEX atttime (`attendance_time`);
  1000. ALTER TABLE `t_bus_user_attendance_detail` ADD INDEX attendance_id (`attendance_id`);
  1001. ##字典-学历和户口属性
  1002. INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ( '4028827769b7ceb90169b72019062601', 'education', '学历', '2019-03-26 10:31:27', '管理员');
  1003. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028827769b7ceb90169b72019062602', '0', '无学历', NULL, '4028827769b7ceb90169b72019062601', '2019-03-26 10:32:07', '管理员');
  1004. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028827769b7ceb90169b72019062603', '1', '小学', NULL, '4028827769b7ceb90169b72019062601', '2019-03-26 10:32:24', '管理员');
  1005. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028827769b7ceb90169b72019062604', '2', '初中', NULL, '4028827769b7ceb90169b72019062601', '2019-03-26 10:32:45', '管理员');
  1006. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aaef2d5016aae2019062605', '3', '高中/中专', NULL, '4028827769b7ceb90169b72019062601', '2019-05-13 10:11:29', '管理员');
  1007. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aaef2d5016aae2019062606', '4', '大专', NULL, '4028827769b7ceb90169b72019062601', '2019-05-13 10:11:10', '管理员');
  1008. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aaef2d5016aae2019062607', '5', '大学本科', NULL, '4028827769b7ceb90169b72019062601', '2019-05-13 10:11:00', '管理员');
  1009. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aaef2d5016aae2019062608', '6', '硕士', NULL, '4028827769b7ceb90169b72019062601', '2019-05-13 10:10:52', '管理员');
  1010. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aaef2d5016aae2019062609', '7', '博士', NULL, '4028827769b7ceb90169b72019062601', '2019-05-13 10:11:00', '管理员');
  1011. ##字典-学历和户口属性
  1012. INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ( '4028827769b7ceb90169b72019062701', 'hktype', '户口属性', '2019-03-26 10:31:27', '管理员');
  1013. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028827769b7ceb90169b72019062702', '1', '非农', NULL, '4028827769b7ceb90169b72019062701', '2019-03-26 10:32:07', '管理员');
  1014. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028827769b7ceb90169b72019062703', '2', '农业', NULL, '4028827769b7ceb90169b72019062701', '2019-03-26 10:32:24', '管理员');
  1015. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028827769b7ceb90169b72019062704', '3', '城镇', NULL, '4028827769b7ceb90169b72019062701', '2019-03-26 10:32:45', '管理员');
  1016. ##合同预置审批流信息
  1017. INSERT INTO t_p_process(id, typeid, userid, processname, processxmlpath, processxml, processxmname, note, update_name, update_date, update_by, create_name, create_date, create_by, processkey, processstate, processtype, ccmode) VALUES ('402887006a47a785016a47aedd970008', 'contractpayment', NULL, '合同付款申请流程', NULL, 0x3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D225554462D38223F3E0D0A3C646566696E6974696F6E732020786D6C6E733D22687474703A2F2F7777772E6F6D672E6F72672F737065632F42504D4E2F32303130303532342F4D4F44454C2220786D6C6E733A7873693D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D612D696E7374616E63652220786D6C6E733A61637469766974693D22687474703A2F2F61637469766974692E6F72672F62706D6E2220786D6C6E733A62706D6E64693D22687474703A2F2F7777772E6F6D672E6F72672F737065632F42504D4E2F32303130303532342F44492220786D6C6E733A6F6D6764633D22687474703A2F2F7777772E6F6D672E6F72672F737065632F44442F32303130303532342F44432220786D6C6E733A6F6D6764693D22687474703A2F2F7777772E6F6D672E6F72672F737065632F44442F32303130303532342F44492220747970654C616E67756167653D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D61222065787072657373696F6E4C616E67756167653D22687474703A2F2F7777772E77332E6F72672F313939392F585061746822207461726765744E616D6573706163653D22687474703A2F2F7777772E6C7A742E636F6D2E636E223E0D0A202020203C70726F63657373202069643D2270726F636573733135353539383036343137313222206E616D653D22E59088E5908CE4BB98E6ACBEE794B3E8AFB7E6B581E7A88B223E0D0A20202020202020203C646F63756D656E746174696F6E3EE59088E5908CE4BB98E6ACBEE794B3E8AFB73C2F646F63756D656E746174696F6E3E0D0A20202020202020203C657874656E73696F6E456C656D656E74733E0D0A2020202020202020202020203C61637469766974693A657865637574696F6E4C697374656E65722069643D22343032383830653534383033613439363031343830356535643931393030313222206576656E743D22656E642220636C6173733D226F72672E6A656563676672616D65776F726B2E776F726B666C6F772E6C697374656E65722E657865637574696F6E2E50726F63657373456E644C697374656E657222203E0D0A2020202020202020202020203C2F61637469766974693A657865637574696F6E4C697374656E65723E0D0A2020202020202020202020203C61637469766974693A657865637574696F6E4C697374656E65722069643D22343032383837633536613664616432313031366136646165613233623030303122206576656E743D22656E642220636C6173733D22636E2E636F6D2E6C7A742E636F6D6D6F6E2E6C697374656E65722E657865637574696F6E2E5061796D656E744175646974456E644C697374656E657222203E0D0A2020202020202020202020203C2F61637469766974693A657865637574696F6E4C697374656E65723E0D0A20202020202020203C2F657874656E73696F6E456C656D656E74733E0D0A20202020202020203C73746172744576656E74202069643D2273746172743122206E616D653D22E5BC80E5A78BE88A82E782B9222061637469766974693A696E69746961746F723D226170706C79557365724964223E0D0A20202020202020203C2F73746172744576656E743E0D0A20202020202020203C656E644576656E74202069643D22656E6422206E616D653D22E7BB93E69D9FE88A82E782B9223E0D0A20202020202020203C2F656E644576656E743E0D0A20202020202020203C757365725461736B202069643D227461736B3135353539383036343634363422206E616D653D22E98787E8B4ADE983A8E7BB8FE79086E5AEA1E689B9222061637469766974693A63616E64696461746555736572733D22313336303139373232373022203E0D0A20202020202020203C2F757365725461736B3E0D0A20202020202020203C757365725461736B202069643D227461736B3135353539383036343934323122206E616D653D22E8B4A2E58AA1E983A8E5AEA1E689B9222061637469766974693A63616E64696461746555736572733D22247B666C6F775574696C2E67657455736572496E70726F6A6563742842504D5F464F524D5F4B45592C42504D5F444154415F49442C27415F4357424A4C27297D22203E0D0A20202020202020203C2F757365725461736B3E0D0A20202020202020203C757365725461736B202069643D227461736B3135353539383036353231343322206E616D653D22E588B6E58D95E4BABAE8A1A5E5BD95E4BFA1E681AF222061637469766974693A61737369676E65653D22247B6170706C795573657249647D22203E0D0A20202020202020203C2F757365725461736B3E0D0A20202020202020203C757365725461736B202069643D227461736B3135353833313935303730323022206E616D653D22E9A1B9E79BAEE7BB8FE79086E5AEA1E689B9222061637469766974693A63616E64696461746555736572733D22247B666C6F775574696C2E637573746F6D65725573657253656C6563742842504D5F464F524D5F4B45592C42504D5F444154415F49442C275355504552494F5227297D22203E0D0A20202020202020203C2F757365725461736B3E0D0A20202020202020203C6578636C757369766547617465776179202069643D226578636C7573697665476174657761793135353833313935343532363022206E616D653D226578636C75736976654761746577617931353538333139353435323630223E0D0A20202020202020203C2F6578636C7573697665476174657761793E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353539383038343736373022206E616D653D222220736F757263655265663D2273746172743122207461726765745265663D226578636C75736976654761746577617931353538333139353435323630223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353539383038353032333222206E616D653D22E9809AE8BF872220736F757263655265663D227461736B3135353539383036343634363422207461726765745265663D227461736B31353535393830363439343231223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353539383038363531323222206E616D653D22E9809AE8BF872220736F757263655265663D227461736B3135353539383036343934323122207461726765745265663D22656E64223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353539383038363938353922206E616D653D22E9A9B3E59B9E2220736F757263655265663D227461736B3135353539383036343934323122207461726765745265663D227461736B31353535393830363532313433223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353539383038373733353122206E616D653D22E9878DE696B0E68F90E4BAA42220736F757263655265663D227461736B3135353539383036353231343322207461726765745265663D226578636C75736976654761746577617931353538333139353435323630223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353833313935363234333722206E616D653D22E7AEA1E79086E5A484E794B3E8AFB72220736F757263655265663D226578636C7573697665476174657761793135353833313935343532363022207461726765745265663D227461736B31353538333139353037303230223E0D0A2020202020202020202020203C636F6E646974696F6E45787072657373696F6E20207873693A747970653D2274466F726D616C45787072657373696F6E223E0D0A202020202020202020202020202020203C215B43444154415B247B666C6F77636F6E646974696F6E5574696C2E69736F726754797065286170706C796572696429203D3D202731277C7C666C6F77636F6E646974696F6E5574696C2E69736F726754797065286170706C796572696429203D3D202732277D5D5D3E0D0A2020202020202020202020203C2F636F6E646974696F6E45787072657373696F6E3E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353833313935363633333022206E616D653D22E9809AE8BF872220736F757263655265663D227461736B3135353833313935303730323022207461726765745265663D227461736B31353535393830363436343634223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353833313935373039363722206E616D653D22E8818CE883BDE983A8E997A8E794B3E8AFB72220736F757263655265663D226578636C7573697665476174657761793135353833313935343532363022207461726765745265663D227461736B31353535393830363436343634223E0D0A2020202020202020202020203C636F6E646974696F6E45787072657373696F6E20207873693A747970653D2274466F726D616C45787072657373696F6E223E0D0A202020202020202020202020202020203C215B43444154415B247B666C6F77636F6E646974696F6E5574696C2E69736F726754797065286170706C796572696429203D3D202733277D5D5D3E0D0A2020202020202020202020203C2F636F6E646974696F6E45787072657373696F6E3E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353833313936373639383822206E616D653D22E9A9B3E59B9E2220736F757263655265663D227461736B3135353833313935303730323022207461726765745265663D227461736B31353535393830363532313433223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353833313938323531323822206E616D653D22E9A9B3E59B9E2220736F757263655265663D227461736B3135353539383036343634363422207461726765745265663D227461736B31353535393830363532313433223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A202020203C2F70726F636573733E0D0A202020203C62706D6E64693A42504D4E4469616772616D2069643D2242504D4E4469616772616D5F70726F6365737331353535393830363431373132223E0D0A20202020202020203C62706D6E64693A42504D4E506C616E652062706D6E456C656D656E743D2270726F6365737331353535393830363431373132222069643D2242504D4E506C616E655F70726F6365737331353535393830363431373132223E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D22737461727431222069643D2242504D4E53686170655F737461727431223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223330222077696474683D2233302220783D223230332220793D2232222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D22656E64222069643D2242504D4E53686170655F656E64223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223330222077696474683D2233302220783D223338302220793D22353432222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D227461736B31353535393830363436343634222069643D2242504D4E53686170655F7461736B31353535393830363436343634223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223530222077696474683D2239302220783D223334392220793D22323237222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D227461736B31353535393830363439343231222069643D2242504D4E53686170655F7461736B31353535393830363439343231223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223638222077696474683D2239302220783D223334392220793D22333736222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D227461736B31353535393830363532313433222069643D2242504D4E53686170655F7461736B31353535393830363532313433223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223530222077696474683D2239302220783D223233302220793D22313437222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D227461736B31353538333139353037303230222069643D2242504D4E53686170655F7461736B31353538333139353037303230223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223530222077696474683D2239302220783D2234332220793D22323237222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D226578636C75736976654761746577617931353538333139353435323630222069643D2242504D4E53686170655F6578636C75736976654761746577617931353538333139353435323630223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223430222077696474683D2234302220783D223139372220793D223534222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353535393830383437363730222069643D2242504D4E456467655F666C6F7731353535393830383437363730223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231382220793D22333222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231382220793D22343322202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231372220793D22343322202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231372220793D22353422202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353535393830383530323332222069643D2242504D4E456467655F666C6F7731353535393830383530323332223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223339342220793D2232383222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223339342220793D2233373122202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353535393830383635313232222069643D2242504D4E456467655F666C6F7731353535393830383635313232223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223339342220793D2234343922202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223339342220793D2234393522202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223339352220793D2234393522202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223339352220793D2235343222202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353535393830383639383539222069643D2242504D4E456467655F666C6F7731353535393830383639383539223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223434342220793D2234313022202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223436342220793D2234313022202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223436342220793D2231373222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223332352220793D2231373222202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353535393830383737333531222069643D2242504D4E456467655F666C6F7731353535393830383737333531223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223237352220793D2231343222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223237352220793D22333422202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231372220793D22333422202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231372220793D22353422202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353538333139353632343337222069643D2242504D4E456467655F666C6F7731353538333139353632343337223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231372220793D22393422202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231372220793D2231353822202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D2238382220793D2231353822202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D2238382220793D2232323222202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353538333139353636333330222069643D2242504D4E456467655F666C6F7731353538333139353636333330223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223133382220793D2232353222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223334342220793D2232353222202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353538333139353730393637222069643D2242504D4E456467655F666C6F7731353538333139353730393637223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223233372220793D22373422202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223339342220793D22373422202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223339342220793D2232323222202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353538333139363736393838222069643D2242504D4E456467655F666C6F7731353538333139363736393838223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D2233382220793D2232353222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D2231382220793D2232353222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D2231382220793D2231373222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223232352220793D2231373222202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353538333139383235313238222069643D2242504D4E456467655F666C6F7731353538333139383235313238223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223434342220793D2232353222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223436342220793D2232353222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223436342220793D2231373222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223332352220793D2231373222202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A20202020202020203C2F62706D6E64693A42504D4E506C616E653E0D0A202020203C2F62706D6E64693A42504D4E4469616772616D3E0D0A3C2F646566696E6974696F6E733E, NULL, NULL, '丁晟', '2019-05-27 11:20:48', '0032', '管理员', '2019-04-23 08:53:23', 'admin', 'process1555980641712', 1, '0', NULL);
  1018. INSERT INTO t_p_process(id, typeid, userid, processname, processxmlpath, processxml, processxmname, note, update_name, update_date, update_by, create_name, create_date, create_by, processkey, processstate, processtype, ccmode) VALUES ('402887be6a1fe801016a1feb0c580001', 'contract', NULL, '合同审批', NULL, 0x3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D225554462D38223F3E0D0A3C646566696E6974696F6E732020786D6C6E733D22687474703A2F2F7777772E6F6D672E6F72672F737065632F42504D4E2F32303130303532342F4D4F44454C2220786D6C6E733A7873693D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D612D696E7374616E63652220786D6C6E733A61637469766974693D22687474703A2F2F61637469766974692E6F72672F62706D6E2220786D6C6E733A62706D6E64693D22687474703A2F2F7777772E6F6D672E6F72672F737065632F42504D4E2F32303130303532342F44492220786D6C6E733A6F6D6764633D22687474703A2F2F7777772E6F6D672E6F72672F737065632F44442F32303130303532342F44432220786D6C6E733A6F6D6764693D22687474703A2F2F7777772E6F6D672E6F72672F737065632F44442F32303130303532342F44492220747970654C616E67756167653D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D61222065787072657373696F6E4C616E67756167653D22687474703A2F2F7777772E77332E6F72672F313939392F585061746822207461726765744E616D6573706163653D22687474703A2F2F7777772E6C7A742E636F6D2E636E223E0D0A202020203C70726F63657373202069643D2270726F636573733135353533313336343738383622206E616D653D22E59088E5908CE5AEA1E689B9223E0D0A20202020202020203C646F63756D656E746174696F6E3EE59088E5908CE5AEA1E689B9E6B581E7A88B3C2F646F63756D656E746174696F6E3E0D0A20202020202020203C657874656E73696F6E456C656D656E74733E0D0A2020202020202020202020203C61637469766974693A657865637574696F6E4C697374656E65722069643D22343032383830653534383033613439363031343830356535643931393030313222206576656E743D22656E642220636C6173733D226F72672E6A656563676672616D65776F726B2E776F726B666C6F772E6C697374656E65722E657865637574696F6E2E50726F63657373456E644C697374656E657222203E0D0A2020202020202020202020203C2F61637469766974693A657865637574696F6E4C697374656E65723E0D0A20202020202020203C2F657874656E73696F6E456C656D656E74733E0D0A20202020202020203C73746172744576656E74202069643D2273746172743122206E616D653D22E5BC80E5A78BE88A82E782B9222061637469766974693A696E69746961746F723D226170706C79557365724964223E0D0A20202020202020203C2F73746172744576656E743E0D0A20202020202020203C656E644576656E74202069643D22656E6422206E616D653D22E7BB93E69D9FE88A82E782B9223E0D0A20202020202020203C2F656E644576656E743E0D0A20202020202020203C757365725461736B202069643D227461736B3135353533313339333835393822206E616D653D22E98787E8B4ADE983A8E7BB8FE79086E5AEA1E689B9222061637469766974693A63616E64696461746555736572733D22313336303139373232373022203E0D0A20202020202020203C2F757365725461736B3E0D0A20202020202020203C757365725461736B202069643D227461736B3135353533313339363130363522206E616D653D22E588B6E58D95E4BABAE9878DE5A1AB222061637469766974693A61737369676E65653D22247B6170706C795573657249647D22203E0D0A20202020202020203C2F757365725461736B3E0D0A20202020202020203C757365725461736B202069643D227461736B3135353533313339393037343222206E616D653D22E8B4A2E58AA1E7BB8FE79086E5AEA1E689B9222061637469766974693A63616E64696461746555736572733D223030333222203E0D0A20202020202020203C2F757365725461736B3E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353533313339353033343522206E616D653D222220736F757263655265663D2273746172743122207461726765745265663D227461736B31353535333133393338353938223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353533313339363438373522206E616D653D22E9A9B3E59B9E2220736F757263655265663D227461736B3135353533313339333835393822207461726765745265663D227461736B31353535333133393631303635223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353533313430303435323022206E616D653D22E9809AE8BF872220736F757263655265663D227461736B3135353533313339333835393822207461726765745265663D227461736B31353535333133393930373432223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353533313430373130363222206E616D653D22E9A9B3E59B9E2220736F757263655265663D227461736B3135353533313339393037343222207461726765745265663D227461736B31353535333133393631303635223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353533313431343233353022206E616D653D22E9878DE696B0E794B3E8AFB72220736F757263655265663D227461736B3135353533313339363130363522207461726765745265663D227461736B31353535333133393338353938223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353636313235353535373522206E616D653D22E9809AE8BF872220736F757263655265663D227461736B3135353533313339393037343222207461726765745265663D22656E64223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A202020203C2F70726F636573733E0D0A202020203C62706D6E64693A42504D4E4469616772616D2069643D2242504D4E4469616772616D5F70726F6365737331353535333133363437383836223E0D0A20202020202020203C62706D6E64693A42504D4E506C616E652062706D6E456C656D656E743D2270726F6365737331353535333133363437383836222069643D2242504D4E506C616E655F70726F6365737331353535333133363437383836223E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D22737461727431222069643D2242504D4E53686170655F737461727431223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223330222077696474683D2233302220783D223131372220793D22313038222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D22656E64222069643D2242504D4E53686170655F656E64223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223330222077696474683D2233302220783D223436312220793D22343237222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D227461736B31353535333133393338353938222069643D2242504D4E53686170655F7461736B31353535333133393338353938223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223530222077696474683D2239302220783D223239382220793D22313038222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D227461736B31353535333133393631303635222069643D2242504D4E53686170655F7461736B31353535333133393631303635223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223530222077696474683D2239302220783D223535392220793D22313037222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D227461736B31353535333133393930373432222069643D2242504D4E53686170655F7461736B31353535333133393930373432223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223530222077696474683D2239302220783D223239382220793D22323238222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353535333133393530333435222069643D2242504D4E456467655F666C6F7731353535333133393530333435223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223134372220793D2231323322202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223232302220793D2231323322202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223232302220793D2231333322202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223239332220793D2231333322202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353535333133393634383735222069643D2242504D4E456467655F666C6F7731353535333133393634383735223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223339332220793D2231333322202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223437332220793D2231333322202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223437332220793D2231333222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223535342220793D2231333222202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353535333134303034353230222069643D2242504D4E456467655F666C6F7731353535333134303034353230223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223334332220793D2231363322202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223334332220793D2232323322202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353535333134303731303632222069643D2242504D4E456467655F666C6F7731353535333134303731303632223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223339332220793D2232353322202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223630342220793D2232353322202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223630342220793D2231363222202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353535333134313432333530222069643D2242504D4E456467655F666C6F7731353535333134313432333530223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223630342220793D2231303222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223630342220793D22383222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223334332220793D22383222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223334332220793D2231303322202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353536363132353535353735222069643D2242504D4E456467655F666C6F7731353536363132353535353735223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223334332220793D2232383322202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223334332220793D2233353522202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223437362220793D2233353522202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223437362220793D2234323722202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A20202020202020203C2F62706D6E64693A42504D4E506C616E653E0D0A202020203C2F62706D6E64693A42504D4E4469616772616D3E0D0A3C2F646566696E6974696F6E733E, NULL, NULL, '管理员', '2019-04-30 16:22:54', 'admin', '管理员', '2019-04-15 15:34:19', 'admin', 'process1555313647886', 1, '0', NULL);
  1019. INSERT INTO t_p_process(id, typeid, userid, processname, processxmlpath, processxml, processxmname, note, update_name, update_date, update_by, create_name, create_date, create_by, processkey, processstate, processtype, ccmode) VALUES ('402888ea6ab4648d016ab5215b770001', 'salecontract', NULL, '销售合同审批', NULL, 0x3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D225554462D38223F3E0D0A3C646566696E6974696F6E732020786D6C6E733D22687474703A2F2F7777772E6F6D672E6F72672F737065632F42504D4E2F32303130303532342F4D4F44454C2220786D6C6E733A7873693D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D612D696E7374616E63652220786D6C6E733A61637469766974693D22687474703A2F2F61637469766974692E6F72672F62706D6E2220786D6C6E733A62706D6E64693D22687474703A2F2F7777772E6F6D672E6F72672F737065632F42504D4E2F32303130303532342F44492220786D6C6E733A6F6D6764633D22687474703A2F2F7777772E6F6D672E6F72672F737065632F44442F32303130303532342F44432220786D6C6E733A6F6D6764693D22687474703A2F2F7777772E6F6D672E6F72672F737065632F44442F32303130303532342F44492220747970654C616E67756167653D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D61222065787072657373696F6E4C616E67756167653D22687474703A2F2F7777772E77332E6F72672F313939392F585061746822207461726765744E616D6573706163653D22687474703A2F2F7777772E6C7A742E636F6D2E636E223E0D0A202020203C70726F63657373202069643D2270726F636573733135353738313638323032333022206E616D653D22E99480E594AEE59088E5908CE5AEA1E689B9223E0D0A20202020202020203C646F63756D656E746174696F6E3EE99480E594AEE59088E5908CE5AEA1E689B93C2F646F63756D656E746174696F6E3E0D0A20202020202020203C657874656E73696F6E456C656D656E74733E0D0A2020202020202020202020203C61637469766974693A657865637574696F6E4C697374656E65722069643D22343032383830653534383033613439363031343830356535643931393030313222206576656E743D22656E642220636C6173733D226F72672E6A656563676672616D65776F726B2E776F726B666C6F772E6C697374656E65722E657865637574696F6E2E50726F63657373456E644C697374656E657222203E0D0A2020202020202020202020203C2F61637469766974693A657865637574696F6E4C697374656E65723E0D0A20202020202020203C2F657874656E73696F6E456C656D656E74733E0D0A20202020202020203C73746172744576656E74202069643D2273746172743122206E616D653D22E5BC80E5A78BE88A82E782B9222061637469766974693A696E69746961746F723D226170706C79557365724964223E0D0A20202020202020203C2F73746172744576656E743E0D0A20202020202020203C656E644576656E74202069643D22656E6422206E616D653D22E7BB93E69D9FE88A82E782B9223E0D0A20202020202020203C2F656E644576656E743E0D0A20202020202020203C757365725461736B202069643D227461736B3135353738313638323633333522206E616D653D22E5B882E59CBAE983A8E7BB8FE79086E5AEA1E689B9222061637469766974693A63616E64696461746555736572733D22313339313632303934393922203E0D0A20202020202020203C2F757365725461736B3E0D0A20202020202020203C757365725461736B202069643D227461736B3135353738313638323937363622206E616D653D22E8B4A2E58AA1E983A8E7BB8FE79086E5AEA1E689B9222061637469766974693A63616E64696461746555736572733D22313339313639353430393022203E0D0A20202020202020203C2F757365725461736B3E0D0A20202020202020203C757365725461736B202069643D227461736B3135353738313638333730353422206E616D653D22E588B6E58D95E4BABAE9878DE696B0222061637469766974693A61737369676E65653D22247B6170706C795573657249647D22203E0D0A20202020202020203C2F757365725461736B3E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353738313638353338393622206E616D653D222220736F757263655265663D2273746172743122207461726765745265663D227461736B31353537383136383236333335223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353738313638353630323522206E616D653D22E9809AE8BF872220736F757263655265663D227461736B3135353738313638323633333522207461726765745265663D227461736B31353537383136383239373636223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353738313638353831333822206E616D653D22E9809AE8BF872220736F757263655265663D227461736B3135353738313638323937363622207461726765745265663D22656E64223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353738313638363037383022206E616D653D22E9A9B3E59B9E2220736F757263655265663D227461736B3135353738313638323937363622207461726765745265663D227461736B31353537383136383337303534223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353738313638363238333222206E616D653D22E9A9B3E59B9E2220736F757263655265663D227461736B3135353738313638323633333522207461726765745265663D227461736B31353537383136383337303534223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353738313638363835393922206E616D653D22E9878DE696B0E794B3E8AFB72220736F757263655265663D227461736B3135353738313638333730353422207461726765745265663D227461736B31353537383136383236333335223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A202020203C2F70726F636573733E0D0A202020203C62706D6E64693A42504D4E4469616772616D2069643D2242504D4E4469616772616D5F70726F6365737331353537383136383230323330223E0D0A20202020202020203C62706D6E64693A42504D4E506C616E652062706D6E456C656D656E743D2270726F6365737331353537383136383230323330222069643D2242504D4E506C616E655F70726F6365737331353537383136383230323330223E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D22737461727431222069643D2242504D4E53686170655F737461727431223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223330222077696474683D2233302220783D223230302220793D223530222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D22656E64222069643D2242504D4E53686170655F656E64223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223330222077696474683D2233302220783D223230302220793D22343030222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D227461736B31353537383136383236333335222069643D2242504D4E53686170655F7461736B31353537383136383236333335223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223530222077696474683D2239302220783D223137302220793D22313537222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D227461736B31353537383136383239373636222069643D2242504D4E53686170655F7461736B31353537383136383239373636223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223530222077696474683D2239302220783D223137302220793D22323631222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D227461736B31353537383136383337303534222069643D2242504D4E53686170655F7461736B31353537383136383337303534223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223530222077696474683D2239302220783D223337362220793D22313537222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353537383136383533383936222069643D2242504D4E456467655F666C6F7731353537383136383533383936223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D22383022202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D2231353222202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353537383136383536303235222069643D2242504D4E456467655F666C6F7731353537383136383536303235223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D2232313222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D2232353622202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353537383136383538313338222069643D2242504D4E456467655F666C6F7731353537383136383538313338223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D2233313622202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D2234303022202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353537383136383630373830222069643D2242504D4E456467655F666C6F7731353537383136383630373830223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223236352220793D2232383622202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223432312220793D2232383622202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223432312220793D2232313222202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353537383136383632383332222069643D2242504D4E456467655F666C6F7731353537383136383632383332223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223236352220793D2231383222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223337312220793D2231383222202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353537383136383638353939222069643D2242504D4E456467655F666C6F7731353537383136383638353939223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223432312220793D2231353222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223432312220793D2231333222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D2231333222202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D2231353222202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A20202020202020203C2F62706D6E64693A42504D4E506C616E653E0D0A202020203C2F62706D6E64693A42504D4E4469616772616D3E0D0A3C2F646566696E6974696F6E733E, NULL, NULL, '管理员', '2019-06-19 09:34:04', 'admin', '管理员', '2019-05-14 14:57:03', 'admin', 'process1557816820230', 1, '0', NULL);
  1020. INSERT INTO t_p_process(id, typeid, userid, processname, processxmlpath, processxml, processxmname, note, update_name, update_date, update_by, create_name, create_date, create_by, processkey, processstate, processtype, ccmode) VALUES ('ff8080816af72bfc016af72fc6b10003', 'purchasecontract', NULL, '物料采购合同审批流程', NULL, 0x3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D225554462D38223F3E0D0A3C646566696E6974696F6E732020786D6C6E733D22687474703A2F2F7777772E6F6D672E6F72672F737065632F42504D4E2F32303130303532342F4D4F44454C2220786D6C6E733A7873693D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D612D696E7374616E63652220786D6C6E733A61637469766974693D22687474703A2F2F61637469766974692E6F72672F62706D6E2220786D6C6E733A62706D6E64693D22687474703A2F2F7777772E6F6D672E6F72672F737065632F42504D4E2F32303130303532342F44492220786D6C6E733A6F6D6764633D22687474703A2F2F7777772E6F6D672E6F72672F737065632F44442F32303130303532342F44432220786D6C6E733A6F6D6764693D22687474703A2F2F7777772E6F6D672E6F72672F737065632F44442F32303130303532342F44492220747970654C616E67756167653D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D61222065787072657373696F6E4C616E67756167653D22687474703A2F2F7777772E77332E6F72672F313939392F585061746822207461726765744E616D6573706163653D22687474703A2F2F7777772E6C7A742E636F6D2E636E223E0D0A202020203C70726F63657373202069643D2270726F636573733135353839323532323538373622206E616D653D22E789A9E69699E98787E8B4ADE59088E5908CE5AEA1E689B9E6B581E7A88B223E0D0A20202020202020203C646F63756D656E746174696F6E3EE789A9E69699E98787E8B4ADE59088E5908CE5AEA1E689B9E6B581E7A88B3C2F646F63756D656E746174696F6E3E0D0A20202020202020203C657874656E73696F6E456C656D656E74733E0D0A2020202020202020202020203C61637469766974693A657865637574696F6E4C697374656E65722069643D22343032383830653534383033613439363031343830356535643931393030313222206576656E743D22656E642220636C6173733D226F72672E6A656563676672616D65776F726B2E776F726B666C6F772E6C697374656E65722E657865637574696F6E2E50726F63657373456E644C697374656E657222203E0D0A2020202020202020202020203C2F61637469766974693A657865637574696F6E4C697374656E65723E0D0A20202020202020203C2F657874656E73696F6E456C656D656E74733E0D0A20202020202020203C73746172744576656E74202069643D2273746172743122206E616D653D22E5BC80E5A78BE88A82E782B9222061637469766974693A696E69746961746F723D226170706C79557365724964223E0D0A20202020202020203C2F73746172744576656E743E0D0A20202020202020203C656E644576656E74202069643D22656E6422206E616D653D22E7BB93E69D9FE88A82E782B9223E0D0A20202020202020203C2F656E644576656E743E0D0A20202020202020203C757365725461736B202069643D227461736B3135353839323532333236373822206E616D653D22E98787E8B4ADE983A8E7BB8FE79086E5AEA1E689B9222061637469766974693A63616E64696461746555736572733D22247B666C6F775574696C2E67657455736572496E70726F6A6563742842504D5F464F524D5F4B45592C42504D5F444154415F49442C27415F585A424A4C27297D22203E0D0A20202020202020203C2F757365725461736B3E0D0A20202020202020203C757365725461736B202069643D227461736B3135353839323532333534343322206E616D653D22E8B4A2E58AA1E983A8E7BB8FE79086E5AEA1E689B9222061637469766974693A63616E64696461746555736572733D22247B666C6F775574696C2E67657455736572496E70726F6A6563742842504D5F464F524D5F4B45592C42504D5F444154415F49442C27415F4357424A4C27297D22203E0D0A20202020202020203C2F757365725461736B3E0D0A20202020202020203C757365725461736B202069643D227461736B3135353839323532333835303422206E616D653D22E588B6E58D95E4BABAE9878DE5A1AB222061637469766974693A61737369676E65653D22247B6170706C795573657249647D22203E0D0A20202020202020203C2F757365725461736B3E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353839323533303630333222206E616D653D222220736F757263655265663D2273746172743122207461726765745265663D227461736B31353538393235323332363738223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353839323533303738313522206E616D653D22E9809AE8BF872220736F757263655265663D227461736B3135353839323532333236373822207461726765745265663D227461736B31353538393235323335343433223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353839323533303935333422206E616D653D22E9809AE8BF872220736F757263655265663D227461736B3135353839323532333534343322207461726765745265663D22656E64223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353839323533313633383622206E616D653D22E9A9B3E59B9E2220736F757263655265663D227461736B3135353839323532333534343322207461726765745265663D227461736B31353538393235323338353034223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353839323533313932313622206E616D653D22E9A9B3E59B9E2220736F757263655265663D227461736B3135353839323532333236373822207461726765745265663D227461736B31353538393235323338353034223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A20202020202020203C73657175656E6365466C6F77202069643D22666C6F773135353839323533323135353022206E616D653D22E9878DE696B0E794B3E8AFB72220736F757263655265663D227461736B3135353839323532333835303422207461726765745265663D227461736B31353538393235323332363738223E0D0A20202020202020203C2F73657175656E6365466C6F773E0D0A202020203C2F70726F636573733E0D0A202020203C62706D6E64693A42504D4E4469616772616D2069643D2242504D4E4469616772616D5F70726F6365737331353538393235323235383736223E0D0A20202020202020203C62706D6E64693A42504D4E506C616E652062706D6E456C656D656E743D2270726F6365737331353538393235323235383736222069643D2242504D4E506C616E655F70726F6365737331353538393235323235383736223E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D22737461727431222069643D2242504D4E53686170655F737461727431223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223330222077696474683D2233302220783D223230302220793D223530222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D22656E64222069643D2242504D4E53686170655F656E64223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223330222077696474683D2233302220783D223230302220793D22343030222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D227461736B31353538393235323332363738222069643D2242504D4E53686170655F7461736B31353538393235323332363738223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223530222077696474683D2239302220783D223137302220793D22313334222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D227461736B31353538393235323335343433222069643D2242504D4E53686170655F7461736B31353538393235323335343433223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223530222077696474683D2239302220783D223137302220793D22323633222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D227461736B31353538393235323338353034222069643D2242504D4E53686170655F7461736B31353538393235323338353034223E0D0A202020202020202020202020202020203C6F6D6764633A426F756E6473206865696768743D223530222077696474683D2239302220783D223334372220793D22313334222F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E53686170653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353538393235333036303332222069643D2242504D4E456467655F666C6F7731353538393235333036303332223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D22383022202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D2231323922202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353538393235333037383135222069643D2242504D4E456467655F666C6F7731353538393235333037383135223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D2231383922202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D2232353822202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353538393235333039353334222069643D2242504D4E456467655F666C6F7731353538393235333039353334223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D2233313822202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D2234303022202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353538393235333136333836222069643D2242504D4E456467655F666C6F7731353538393235333136333836223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223236352220793D2232383822202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223339322220793D2232383822202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223339322220793D2231383922202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353538393235333139323136222069643D2242504D4E456467655F666C6F7731353538393235333139323136223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223236352220793D2231353922202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223334322220793D2231353922202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A2020202020202020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22666C6F7731353538393235333231353530222069643D2242504D4E456467655F666C6F7731353538393235333231353530223E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223339322220793D2231323922202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223339322220793D2231303922202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D2231303922202F3E0D0A202020202020202020202020202020203C6F6D6764693A776179706F696E7420783D223231352220793D2231323922202F3E0D0A2020202020202020202020203C2F62706D6E64693A42504D4E456467653E0D0A20202020202020203C2F62706D6E64693A42504D4E506C616E653E0D0A202020203C2F62706D6E64693A42504D4E4469616772616D3E0D0A3C2F646566696E6974696F6E733E, NULL, NULL, '管理员', '2019-05-27 10:56:18', 'admin', '管理员', '2019-05-27 10:47:45', 'admin', 'process1558925225876', 1, '0', NULL);
  1021. INSERT INTO t_p_processnode(id, formid, processid, processnodecode, processnodename, modelandview, modelandview_mobile, node_timeout, pnodecofigid, pushmode, delete_flag) VALUES ('402887be6a1fe801016a1ff08a160002', NULL, '402887be6a1fe801016a1feb0c580001', 'task1555313938598', '采购部经理审批', 'contractController.do?goView', 'contractController.do?goUpdateMobile&load=detail', NULL, '402887be6a1fe801016a20044fc70006', 'no', '0');
  1022. INSERT INTO t_p_processnode(id, formid, processid, processnodecode, processnodename, modelandview, modelandview_mobile, node_timeout, pnodecofigid, pushmode, delete_flag) VALUES ('402887be6a1fe801016a1ff08a220003', NULL, '402887be6a1fe801016a1feb0c580001', 'task1555313961065', '制单人重填', 'contractController.do?goView&flag=1', 'contractController.do?goUpdateMobile&flag=1', NULL, '402887be6a1fe801016a200693e30008', 'no', '0');
  1023. INSERT INTO t_p_processnode(id, formid, processid, processnodecode, processnodename, modelandview, modelandview_mobile, node_timeout, pnodecofigid, pushmode, delete_flag) VALUES ('402887be6a1fe801016a1ff08a290004', NULL, '402887be6a1fe801016a1feb0c580001', 'task1555313990742', '财务经理审批', 'contractController.do?goView', 'contractController.do?goUpdateMobile&load=detail', NULL, '402887be6a1fe801016a20044fc70006', 'no', '0');
  1024. INSERT INTO t_p_processnode(id, formid, processid, processnodecode, processnodename, modelandview, modelandview_mobile, node_timeout, pnodecofigid, pushmode, delete_flag) VALUES ('402887006a47a785016a47aeddad0009', NULL, '402887006a47a785016a47aedd970008', 'task1555980646464', '采购部经理审批', 'contractPaymentController.do?goView', 'contractPaymentController.do?goUpdateMobile&load=detail', NULL, '402887006a47a785016a47ab35bf0004', 'no', '0');
  1025. INSERT INTO t_p_processnode(id, formid, processid, processnodecode, processnodename, modelandview, modelandview_mobile, node_timeout, pnodecofigid, pushmode, delete_flag) VALUES ('402887006a47a785016a47aeddc2000a', NULL, '402887006a47a785016a47aedd970008', 'task1555980649421', '财务部审批', 'contractPaymentController.do?goView', 'contractPaymentController.do?goUpdateMobile&load=detail', NULL, '402887006a47a785016a47ab35bf0004', 'no', '0');
  1026. INSERT INTO t_p_processnode(id, formid, processid, processnodecode, processnodename, modelandview, modelandview_mobile, node_timeout, pnodecofigid, pushmode, delete_flag) VALUES ('402887006a47a785016a47aeddca000b', NULL, '402887006a47a785016a47aedd970008', 'task1555980652143', '制单人补录信息', 'contractPaymentController.do?goView&flag=1', 'contractPaymentController.do?goUpdateMobile', NULL, '402887006a47a785016a47abe6180006', 'no', '0');
  1027. INSERT INTO t_p_processnode(id, formid, processid, processnodecode, processnodename, modelandview, modelandview_mobile, node_timeout, pnodecofigid, pushmode, delete_flag) VALUES ('ff8080816ad2e69c016ad316649d0012', NULL, '402887006a47a785016a47aedd970008', 'task1558319507020', '项目经理审批', 'contractPaymentController.do?goView', 'contractPaymentController.do?goUpdateMobile&load=detail', NULL, '402887006a47a785016a47ab35bf0004', 'no', '0');
  1028. INSERT INTO t_p_processnode(id, formid, processid, processnodecode, processnodename, modelandview, modelandview_mobile, node_timeout, pnodecofigid, pushmode, delete_flag) VALUES ('ff8080816af72bfc016af72fc6c70004', NULL, 'ff8080816af72bfc016af72fc6b10003', 'task1558925232678', '采购部经理审批', 'contractPController.do?goView', 'contractPController.do?goUpdateMobile&load=detail', NULL, 'ff8080816af72bfc016af72e7beb0001', 'no', '0');
  1029. INSERT INTO t_p_processnode(id, formid, processid, processnodecode, processnodename, modelandview, modelandview_mobile, node_timeout, pnodecofigid, pushmode, delete_flag) VALUES ('ff8080816af72bfc016af72fc6d20005', NULL, 'ff8080816af72bfc016af72fc6b10003', 'task1558925235443', '财务部经理审批', 'contractPController.do?goView', 'contractPController.do?goUpdateMobile&load=detail', NULL, 'ff8080816af72bfc016af72e7beb0001', 'no', '0');
  1030. INSERT INTO t_p_processnode(id, formid, processid, processnodecode, processnodename, modelandview, modelandview_mobile, node_timeout, pnodecofigid, pushmode, delete_flag) VALUES ('ff8080816af72bfc016af72fc6d90006', NULL, 'ff8080816af72bfc016af72fc6b10003', 'task1558925238504', '制单人重填', 'contractPController.do?goView', 'contractPController.do?goUpdateMobile&load=detail', NULL, 'ff8080816af72bfc016af72e7beb0001', 'no', '0');
  1031. INSERT INTO t_p_processnode(id, formid, processid, processnodecode, processnodename, modelandview, modelandview_mobile, node_timeout, pnodecofigid, pushmode, delete_flag) VALUES ('402888ea6ab4648d016ab5215ba20002', NULL, '402888ea6ab4648d016ab5215b770001', 'task1557816826335', '市场部经理审批', 'contractSaleController.do?goView', 'contractSaleController.do?goUpdateMobile&load=detail', NULL, '402888ea6ab4648d016ab525827d000a', 'no', '0');
  1032. INSERT INTO t_p_processnode(id, formid, processid, processnodecode, processnodename, modelandview, modelandview_mobile, node_timeout, pnodecofigid, pushmode, delete_flag) VALUES ('402888ea6ab4648d016ab5215bb40003', NULL, '402888ea6ab4648d016ab5215b770001', 'task1557816829766', '财务部经理审批', 'contractSaleController.do?goView', 'contractSaleController.do?goUpdateMobile&load=detail', NULL, '402888ea6ab4648d016ab525827d000a', 'no', '0');
  1033. INSERT INTO t_p_processnode(id, formid, processid, processnodecode, processnodename, modelandview, modelandview_mobile, node_timeout, pnodecofigid, pushmode, delete_flag) VALUES ('402888ea6ab4648d016ab5215bba0004', NULL, '402888ea6ab4648d016ab5215b770001', 'task1557816837054', '制单人重新', 'contractSaleController.do?goView', 'contractSaleController.do?goUpdateMobile&load=detail', NULL, '402888ea6ab4648d016ab525827d000a', 'no', '0');
  1034. INSERT INTO t_p_processnode_config(id, process_type, url_title, pc_url, mobile_url) VALUES ('402887006a47a785016a47ab35bf0004', 'contractpayment', '审批', 'contractPaymentController.do?goView', 'contractPaymentController.do?goUpdateMobile&load=detail');
  1035. INSERT INTO t_p_processnode_config(id, process_type, url_title, pc_url, mobile_url) VALUES ('402887006a47a785016a47abe6180006', 'contractpayment', '驳回重填', 'contractPaymentController.do?goView&flag=1', 'contractPaymentController.do?goUpdateMobile');
  1036. INSERT INTO t_p_processnode_config(id, process_type, url_title, pc_url, mobile_url) VALUES ('402887be6a1fe801016a20044fc70006', 'contract', '审批页', 'contractController.do?goView', 'contractController.do?goUpdateMobile&load=detail');
  1037. INSERT INTO t_p_processnode_config(id, process_type, url_title, pc_url, mobile_url) VALUES ('402887be6a1fe801016a200693e30008', 'contract', '重填', 'contractController.do?goView&flag=1', 'contractController.do?goUpdateMobile&flag=1');
  1038. INSERT INTO t_p_processnode_config(id, process_type, url_title, pc_url, mobile_url) VALUES ('402888ea6ab4648d016ab525827d000a', 'salecontract', '审批预览', 'contractSaleController.do?goView', 'contractSaleController.do?goUpdateMobile&load=detail');
  1039. INSERT INTO t_p_processnode_config(id, process_type, url_title, pc_url, mobile_url) VALUES ('ff8080816af72bfc016af72e7beb0001', 'purchasecontract', '审批', 'contractPController.do?goView', 'contractPController.do?goUpdateMobile&load=detail');
  1040. INSERT INTO t_s_busconfig(id, busname, form_type, tableid, online_id, processid, bus_title_exp, process_deal_style, show_title, show_table, config_id) VALUES ('402885ff6a6d30e1016a6d38e0a90002', NULL, 'online', '', 't_b_contract', '402887be6a1fe801016a1feb0c580001', '外包合同审批【${name}】', 'formdeal', '外包合同审批流程', '外包合同审批', '402887be6a1fe801016a200885c1000a');
  1041. INSERT INTO t_s_busconfig(id, busname, form_type, tableid, online_id, processid, bus_title_exp, process_deal_style, show_title, show_table, config_id) VALUES ('402888ea6ab52804016ab528ea770002', NULL, 'online', '', 't_b_contract_sale', '402888ea6ab4648d016ab5215b770001', '销售合同签订审批【${name}】', 'formdeal', '销售合同审批流程', '销售合同', '402888ea6ab4648d016ab52397740007');
  1042. INSERT INTO t_s_busconfig(id, busname, form_type, tableid, online_id, processid, bus_title_exp, process_deal_style, show_title, show_table, config_id) VALUES ('ff8080816ad2e69c016ad32037eb0018', NULL, 'online', '', 't_b_contract_payment', '402887006a47a785016a47aedd970008', '合同付款申请:金额【${applypayamount}】元', 'formdeal', '合同付款申请', '合同付款表', '402887006a47a785016a47a8c78a0001');
  1043. INSERT INTO t_s_busconfig(id, busname, form_type, tableid, online_id, processid, bus_title_exp, process_deal_style, show_title, show_table, config_id) VALUES ('ff8080816af72bfc016af73424fb0007', NULL, 'online', '', 't_b_contract_p', 'ff8080816af72bfc016af72fc6b10003', '物料采购合同审批:金额${totalamount}', 'formdeal', '物料采购合同审批流程', '物料采购合同', '402881b36af6ceb6016af72b8e4b0004');
  1044. INSERT INTO t_process_busconfig(id, show_title, real_title, show_tablename, real_tablename, process_type) VALUES ('402881b36af6ceb6016af72b8e4b0004', '物料采购合同审批流程', '物料采购合同审批:金额${totalamount}', '物料采购合同', 't_b_contract_p', 'purchasecontract');
  1045. INSERT INTO t_process_busconfig(id, show_title, real_title, show_tablename, real_tablename, process_type) VALUES ('402887006a47a785016a47a8c78a0001', '合同付款申请', '合同付款申请:金额【${applypayamount}】元', '合同付款表', 't_b_contract_payment', 'contractpayment');
  1046. INSERT INTO t_process_busconfig(id, show_title, real_title, show_tablename, real_tablename, process_type) VALUES ('402887be6a1fe801016a200885c1000a', '外包合同审批流程', '外包合同审批【${name}】', '外包合同审批', 't_b_contract', 'contract');
  1047. INSERT INTO t_process_busconfig(id, show_title, real_title, show_tablename, real_tablename, process_type) VALUES ('402888ea6ab4648d016ab52397740007', '销售合同审批流程', '销售合同签订审批【${name}】', '销售合同', 't_b_contract_sale', 'salecontract');
  1048. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402880e46bc5e9d2016bc5f471610002', 'Onetime', '一次性支付', NULL, '402888ea6a9beaaf016aa03ee9b0000a', NULL, NULL);
  1049. alter table t_b_contract add COLUMN paytype VARCHAR(20);
  1050. alter table t_b_partner add COLUMN taxno VARCHAR(40);
  1051. alter table t_b_contract_sale add COLUMN specialbudget double;
  1052. INSERT INTO t_p_listener(id, listenereven, listenertype, listenervalue, listenername, listenerstate, typeid, processtype) VALUES ('402881a96bfd95cb016bfda40eda0001', 'end', 'javaClass', 'cn.com.lzt.contractsale.workflow.ContractSaleProcessEndListener', '销售合同审批结束监听', 1, 1, 'salecontract');
  1053. -- 执行流及员工入职、员工调动审批新增部分 开始
  1054. CREATE TABLE `p_activiti_task` (
  1055. `id` varchar(36) NOT NULL,
  1056. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  1057. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  1058. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1059. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  1060. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  1061. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1062. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  1063. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  1064. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  1065. `name` varchar(255) DEFAULT NULL COMMENT '任务名称',
  1066. `process_id` varchar(32) DEFAULT NULL COMMENT '流程id',
  1067. `process_name` varchar(255) DEFAULT NULL,
  1068. `task_cost_time` int(11) DEFAULT NULL COMMENT '任务消耗时间',
  1069. `task_cost_time_type` varchar(32) DEFAULT NULL COMMENT '时间类型',
  1070. `execute_type` varchar(32) DEFAULT NULL COMMENT '执行方式',
  1071. `execute_way` varchar(32) DEFAULT NULL COMMENT '执行端',
  1072. `form` varchar(255) DEFAULT NULL COMMENT '表单',
  1073. `owner_role` varchar(32) DEFAULT NULL COMMENT '工作所属角色',
  1074. `owner_role_name` varchar(45) DEFAULT NULL,
  1075. `important` int(11) DEFAULT NULL COMMENT '重要程度',
  1076. `execute_class` varchar(255) DEFAULT NULL COMMENT '执行类',
  1077. `task_delay` int(11) DEFAULT NULL COMMENT '延期多久开始任务,默认单位:天',
  1078. `task_type` varchar(255) DEFAULT NULL,
  1079. `check_result` varchar(45) DEFAULT NULL COMMENT '检验是否完成',
  1080. PRIMARY KEY (`id`)
  1081. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1082. CREATE TABLE `t_bus_activiti_user_personnel` (
  1083. `id` varchar(36) COLLATE utf8_bin NOT NULL COMMENT '主键',
  1084. `bpm_status` varchar(35) COLLATE utf8_bin DEFAULT NULL,
  1085. `proc_inst_id` varchar(64) COLLATE utf8_bin DEFAULT NULL,
  1086. `step_name` varchar(50) COLLATE utf8_bin DEFAULT NULL,
  1087. `create_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '创建人名称',
  1088. `create_by` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '创建人登录名称',
  1089. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1090. `update_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '更新人名称',
  1091. `update_by` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '更新人登录名称',
  1092. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1093. `userid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '员工ID',
  1094. `depart_id` varchar(32) COLLATE utf8_bin DEFAULT NULL,
  1095. `departname` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  1096. `username` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '用户账户',
  1097. `realname` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '真实名',
  1098. `idcard` varchar(20) COLLATE utf8_bin DEFAULT NULL COMMENT '身份证号',
  1099. `mobilePhone` varchar(45) COLLATE utf8_bin DEFAULT NULL COMMENT '手机号',
  1100. `gender` varchar(45) COLLATE utf8_bin DEFAULT NULL COMMENT '性别',
  1101. `nation` varchar(45) COLLATE utf8_bin DEFAULT NULL COMMENT '民族',
  1102. `education` varchar(45) COLLATE utf8_bin DEFAULT NULL COMMENT '学历',
  1103. `address` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '地址',
  1104. `hkaddress` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '户口地址',
  1105. `duty` varchar(45) COLLATE utf8_bin DEFAULT NULL COMMENT '职务',
  1106. `money` DECIMAL(20,2) DEFAULT NULL COMMENT '薪资',
  1107. `contract_stime` datetime DEFAULT NULL COMMENT '合同有效期开始时间',
  1108. `contract_long` int(11) DEFAULT NULL COMMENT '合同时长,单位年',
  1109. `trial_period` int(2) DEFAULT NULL COMMENT '试用期限',
  1110. `jiaojin` varchar(45) COLLATE utf8_bin DEFAULT NULL COMMENT '缴金',
  1111. `prearrange` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '拟排班方式',
  1112. `experience` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '从业经验',
  1113. `remark` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '备注',
  1114. `hktype` varchar(45) COLLATE utf8_bin DEFAULT NULL COMMENT '户口类型',
  1115. `email` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '邮箱',
  1116. `role_id` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  1117. `role_name` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  1118. `manager_type` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  1119. `duty_name` varchar(45) COLLATE utf8_bin DEFAULT NULL,
  1120. `userNum` varchar(45) COLLATE utf8_bin DEFAULT NULL,
  1121. `user_type` varchar(45) COLLATE utf8_bin DEFAULT NULL,
  1122. PRIMARY KEY (`id`),
  1123. KEY `userid` (`userid`) USING BTREE
  1124. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='员工人事信息表';
  1125. CREATE TABLE `t_bus_activiti_samelevel_transfer` (
  1126. `id` varchar(36) COLLATE utf8_bin NOT NULL COMMENT '主键',
  1127. `create_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '创建人名称',
  1128. `create_by` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '创建人登录名称',
  1129. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1130. `update_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '更新人名称',
  1131. `update_by` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '更新人登录名称',
  1132. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1133. `sys_org_code` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '所属部门',
  1134. `sys_company_code` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '所属公司',
  1135. `bpm_status` varchar(32) COLLATE utf8_bin DEFAULT '1' COMMENT '流程状态',
  1136. `userid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '调动员工ID',
  1137. `belong_unitid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '所属单位ID',
  1138. `in_unitid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '调入单位ID',
  1139. `old_dutiesid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '原职位ID',
  1140. `old_postid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '原岗位ID',
  1141. `out_time` datetime DEFAULT NULL COMMENT '调出日期',
  1142. `in_time` datetime DEFAULT NULL COMMENT '调入日期',
  1143. `transfer_reason` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '调动原因',
  1144. `applicant_id` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '申请人ID',
  1145. `apply_date` datetime DEFAULT NULL COMMENT '申请日期',
  1146. `delete_flag` varchar(1) COLLATE utf8_bin DEFAULT NULL COMMENT '逻辑删除标识',
  1147. `proc_inst_id` varchar(64) COLLATE utf8_bin DEFAULT NULL COMMENT '流程实例ID',
  1148. `belong_unit_pid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '所属单位的上级单位ID',
  1149. `in_unit_pid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '调入单位的上级单位ID',
  1150. `step_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '当前步骤',
  1151. `new_dutiesid` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '新项目职位/职务',
  1152. `new_duty_name` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  1153. `new_postid` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '新项目岗位',
  1154. `new_post_name` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  1155. `checked_wage` DECIMAL(20,2) DEFAULT NULL COMMENT '已结清的工资',
  1156. `wage_yearmonth` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '结清工资月份',
  1157. `checked_wage_last` DECIMAL(20,2) DEFAULT NULL COMMENT '上月工资',
  1158. `wage_yearmonth_last` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '上月月份',
  1159. `realname` varchar(50) DEFAULT NULL,
  1160. PRIMARY KEY (`id`)
  1161. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='人事调动(平调)申请表';
  1162. ALTER TABLE `p_projecttask` ADD COLUMN `form` VARCHAR(255) NULL COMMENT '线上完成表单' AFTER `dispatchtime`;
  1163. ALTER TABLE `p_projecttask`
  1164. ADD COLUMN `execute_type` VARCHAR(45) NULL COMMENT '执行方式 线上或线下' AFTER `form`;
  1165. ALTER TABLE `p_projecttask`
  1166. ADD COLUMN `execute_way` VARCHAR(45) NULL COMMENT '执行端' AFTER `form`;
  1167. ALTER TABLE `p_projecttask`
  1168. ADD COLUMN `check_result` VARCHAR(45) NULL COMMENT '检验是否完成' AFTER `execute_way`;
  1169. ALTER TABLE `p_projecttask`
  1170. ADD COLUMN `target_user` VARCHAR(45) NULL COMMENT '针对用户,例如员工入职里的入职员工' AFTER `check_result`;
  1171. ALTER TABLE `t_bus_samelevel_transfer`
  1172. ADD COLUMN `new_dutiesid` VARCHAR(255) NULL COMMENT '新项目职位/职务' AFTER `step_name`,
  1173. ADD COLUMN `new_postid` VARCHAR(255) NULL COMMENT '新项目岗位' AFTER `new_dutiesid`,
  1174. ADD COLUMN `checked_wage` DECIMAL(20,2) NULL COMMENT '已结清的工资' AFTER `new_postid`,
  1175. ADD COLUMN `wage_yearmonth` VARCHAR(255) NULL COMMENT '结清工资月份' AFTER `checked_wage`,
  1176. ADD COLUMN `checked_wage_last` DECIMAL(20,2) NULL COMMENT '上月工资' AFTER `wage_yearmonth`,
  1177. ADD COLUMN `wage_yearmonth_last` VARCHAR(255) NULL COMMENT '上月月份' AFTER `checked_wage_last`;
  1178. INSERT INTO `t_s_typegroup` (`ID`,`typegroupcode`,`typegroupname`,`create_date`,`create_name`) VALUES ('402881e56c0ddc27016c0f06b4410006','activiti_task_cost_time_type','任务流时间类型','2019-07-20 18:56:33','管理员');
  1179. INSERT INTO `t_s_typegroup` (`ID`,`typegroupcode`,`typegroupname`,`create_date`,`create_name`) VALUES ('402881e56c0f0d54016c0f189b0f0003','activiti_task_execute_type','任务流执行方式','2019-07-20 19:16:07','管理员');
  1180. INSERT INTO `t_s_typegroup` (`ID`,`typegroupcode`,`typegroupname`,`create_date`,`create_name`) VALUES ('402881e56c0f0d54016c0f1a31180009','activiti_task_execute_way','任务流执行端','2019-07-20 19:17:50','管理员');
  1181. INSERT INTO `t_s_typegroup` (`ID`,`typegroupcode`,`typegroupname`,`create_date`,`create_name`) VALUES ('402881e56c0f0d54016c0f20d69b0011','activiti_task_important','任务流重要性','2019-07-20 19:25:06','管理员');
  1182. INSERT INTO `t_s_typegroup` (`ID`,`typegroupcode`,`typegroupname`,`create_date`,`create_name`) VALUES ('402880ed6c23d5f4016c23e63bed0007','activiti_task_check_result','任务流检验完成','2019-07-24 20:13:07','管理员');
  1183. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402881e56c035875016c0393b44f0026','user_add','员工入职',NULL,'402889fe47eddd340147ede15c070001','2019-07-18 13:35:07','管理员');
  1184. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402881e56c0ddc27016c0f073074000a','day','天',NULL,'402881e56c0ddc27016c0f06b4410006','2019-07-20 18:57:05','管理员');
  1185. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402881e56c0ddc27016c0f076c2a000c','current_month','当月',NULL,'402881e56c0ddc27016c0f06b4410006','2019-07-20 18:57:20','管理员');
  1186. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402880ed6c23b857016c23c0c82f0005','shebao','社保',NULL,'402881e56c0ddc27016c0f06b4410006','2019-07-24 19:32:12','管理员');
  1187. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402881e56c0f0d54016c0f18ce590005','online','线上',NULL,'402881e56c0f0d54016c0f189b0f0003','2019-07-20 19:16:20','管理员');
  1188. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402881e56c0f0d54016c0f18f7520007','offline','线下',NULL,'402881e56c0f0d54016c0f189b0f0003','2019-07-20 19:16:30','管理员');
  1189. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402881e56c0f0d54016c0f1a6479000b','pc','pc',NULL,'402881e56c0f0d54016c0f1a31180009','2019-07-20 19:18:04','管理员');
  1190. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402881e56c0f0d54016c0f1ab48b000f','both','pc+微信',NULL,'402881e56c0f0d54016c0f1a31180009','2019-07-20 19:18:24','管理员');
  1191. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402881e56c0f0d54016c0f2114bb0013','10','重要',NULL,'402881e56c0f0d54016c0f20d69b0011','2019-07-20 19:25:22','管理员');
  1192. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402881e56c0f0d54016c0f213a150015','99','一般',NULL,'402881e56c0f0d54016c0f20d69b0011','2019-07-20 19:25:32','管理员');
  1193. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402880ed6c23d5f4016c23e680f40009','not_check','不检验',NULL,'402880ed6c23d5f4016c23e63bed0007',NULL,NULL);
  1194. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402880ed6c23d5f4016c23e6a903000b','check','检验',NULL,'402880ed6c23d5f4016c23e63bed0007',NULL,NULL);
  1195. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402881e56c3b7d2f016c3b8552040013','user_add','员工入职',NULL,'4028819b65a8b81c0165a9182bee0015','2019-07-29 10:18:09','管理员');
  1196. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402881e56c4b2a04016c4c3969f7000b','samelevel_transfer_new','人事平调流程',NULL,'402889fe47eddd340147ede15c070001','2019-08-01 16:08:47','管理员');
  1197. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402881e56c4b2a04016c4c39eee1000d','leave_new','人事离职流程',NULL,'402889fe47eddd340147ede15c070001','2019-08-01 16:09:21','管理员');
  1198. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402881e56c4d997d016c4da1ac7f000d','sameleveltransfer','调动申请',NULL,'4028819b65a8b81c0165a9182bee0015','2019-07-29 10:18:09','管理员');
  1199. INSERT INTO `t_s_function` (`ID`,`functioniframe`,`functionlevel`,`functionname`,`functionorder`,`functionurl`,`parentfunctionid`,`iconid`,`desk_iconid`,`functiontype`,`function_icon_style`,`create_by`,`create_name`,`update_by`,`update_date`,`create_date`,`update_name`) VALUES ('402881e56c030ba8016c030dfaf00001',NULL,1,'任务流配置','80','pActivitiTaskController.do?list','4028819b65adcefa0165add2446f0001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-07-18 11:09:04',NULL);
  1200. INSERT INTO `t_s_function` (`ID`,`functioniframe`,`functionlevel`,`functionname`,`functionorder`,`functionurl`,`parentfunctionid`,`iconid`,`desk_iconid`,`functiontype`,`function_icon_style`,`create_by`,`create_name`,`update_by`,`update_date`,`create_date`,`update_name`) VALUES ('402881e56c035875016c039065b10020',NULL,0,'人事变动','60','',NULL,'8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-07-18 13:31:31',NULL);
  1201. INSERT INTO `t_s_function` (`ID`,`functioniframe`,`functionlevel`,`functionname`,`functionorder`,`functionurl`,`parentfunctionid`,`iconid`,`desk_iconid`,`functiontype`,`function_icon_style`,`create_by`,`create_name`,`update_by`,`update_date`,`create_date`,`update_name`) VALUES ('402881e56c035875016c0390ed160022',NULL,1,'入职申请','1','userActivitiController.do?list','402881e56c035875016c039065b10020','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-07-29 22:46:08','2019-07-18 13:32:05','管理员');
  1202. INSERT INTO `t_s_function` (`ID`,`functioniframe`,`functionlevel`,`functionname`,`functionorder`,`functionurl`,`parentfunctionid`,`iconid`,`desk_iconid`,`functiontype`,`function_icon_style`,`create_by`,`create_name`,`update_by`,`update_date`,`create_date`,`update_name`) VALUES ('402881e56c3daaa7016c3db808da0001',NULL,1,'调动申请','2','activitiSamelevelTransferController.do?list','402881e56c035875016c039065b10020','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-08-01 11:13:49','2019-07-29 20:32:47','管理员');
  1203. -- 员工入职 ,员工调动审批流部分
  1204. INSERT INTO `t_p_process` VALUES ('402881e56c035875016c039570050028','user_add',NULL,'员工入职',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1563428199466\" name=\"员工入职\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402881e56c0ddc27016c0ddedd9d0002\" event=\"end\" class=\"cn.com.lzt.useractiviti.workflow.listener.UserAddListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402881e56c035875016c03a921af0032\" event=\"end\" class=\"cn.com.lzt.workflow.listener.task.ActivitiTaskListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1563428462368\" name=\"项目经理审核\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1563715534675\" name=\"人力资源部审批\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRJL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1563715685947\" name=\"总经理审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564708799720\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <userTask id=\"task1564710460811\" name=\"项目经理审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564710530195\" name=\"岗位专员\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRJL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564710549960\" name=\"人事专员\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRJL\')}\" >\r\n </userTask>\r\n <exclusiveGateway id=\"exclusiveGateway1564708784527\" name=\"驳回节点\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1564710266029\" name=\"exclusiveGateway1564710266029\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1564710368182\" name=\"exclusiveGateway1564710368182\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1564708816907\" name=\"exclusiveGateway1564708816907\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1564736279378\" name=\"exclusiveGateway1564736279378\">\r\n </exclusiveGateway>\r\n <sequenceFlow id=\"flow1563715705057\" name=\"通过\" sourceRef=\"task1563715534675\" targetRef=\"task1563715685947\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710277479\" name=\"\" sourceRef=\"start1\" targetRef=\"exclusiveGateway1564710266029\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710380549\" name=\"通过\" sourceRef=\"task1563428462368\" targetRef=\"exclusiveGateway1564710368182\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710383044\" name=\"通过\" sourceRef=\"task1563715685947\" targetRef=\"exclusiveGateway1564710368182\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710403422\" name=\"\" sourceRef=\"exclusiveGateway1564710368182\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710408359\" name=\"驳回\" sourceRef=\"task1563715685947\" targetRef=\"exclusiveGateway1564708784527\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710415935\" name=\"驳回\" sourceRef=\"task1563715534675\" targetRef=\"exclusiveGateway1564708784527\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710422786\" name=\"驳回\" sourceRef=\"task1563428462368\" targetRef=\"exclusiveGateway1564708784527\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710433197\" name=\"\" sourceRef=\"exclusiveGateway1564708784527\" targetRef=\"task1564708799720\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710443552\" name=\"\" sourceRef=\"task1564708799720\" targetRef=\"exclusiveGateway1564710266029\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710499628\" name=\"项目人员\" sourceRef=\"exclusiveGateway1564710266029\" targetRef=\"task1564710460811\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.projectUserType(BPM_FORM_KEY,id) == 1}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710575343\" name=\"通过\" sourceRef=\"task1564710460811\" targetRef=\"task1564710530195\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710578198\" name=\"通过\" sourceRef=\"task1564710530195\" targetRef=\"task1564710549960\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710625955\" name=\"驳回\" sourceRef=\"task1564710460811\" targetRef=\"exclusiveGateway1564708784527\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710637704\" name=\"驳回\" sourceRef=\"task1564710530195\" targetRef=\"exclusiveGateway1564708784527\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710641281\" name=\"驳回\" sourceRef=\"task1564710549960\" targetRef=\"exclusiveGateway1564708784527\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710659704\" name=\"未超过基本工资\" sourceRef=\"exclusiveGateway1564736279378\" targetRef=\"exclusiveGateway1564710368182\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${money<=2480}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710779947\" name=\"超过基本工资\" sourceRef=\"exclusiveGateway1564736279378\" targetRef=\"task1563715685947\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${money>2480}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564724483699\" name=\"一线入职\" sourceRef=\"exclusiveGateway1564708816907\" targetRef=\"task1563428462368\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isManagerType(BPM_FORM_KEY,userid,id) != 0}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1563715655055\" name=\"管理人员\" sourceRef=\"exclusiveGateway1564708816907\" targetRef=\"task1563715534675\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isManagerType(BPM_FORM_KEY,userid,id) == 0}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710286952\" name=\"职能部门\" sourceRef=\"exclusiveGateway1564710266029\" targetRef=\"exclusiveGateway1564708816907\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.projectUserType(BPM_FORM_KEY,id) == 0}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564736288625\" name=\"通过\" sourceRef=\"task1564710549960\" targetRef=\"exclusiveGateway1564736279378\">\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1563428199466\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1563428199466\" id=\"BPMNPlane_process1563428199466\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"505\" y=\"14\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"547\" y=\"700\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1563428462368\" id=\"BPMNShape_task1563428462368\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"883\" y=\"405\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1563715534675\" id=\"BPMNShape_task1563715534675\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"632\" y=\"276\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1563715685947\" id=\"BPMNShape_task1563715685947\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"632\" y=\"489\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564708799720\" id=\"BPMNShape_task1564708799720\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"474\" y=\"257\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564710460811\" id=\"BPMNShape_task1564710460811\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"260\" y=\"198\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564710530195\" id=\"BPMNShape_task1564710530195\">\r\n <omgdc:Bounds height=\"50\" width=\"94\" x=\"258\" y=\"324\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564710549960\" id=\"BPMNShape_task1564710549960\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"260\" y=\"460\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1564708784527\" id=\"BPMNShape_exclusiveGateway1564708784527\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"499\" y=\"414\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1564710266029\" id=\"BPMNShape_exclusiveGateway1564710266029\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"499\" y=\"98\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1564710368182\" id=\"BPMNShape_exclusiveGateway1564710368182\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"542\" y=\"606\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1564708816907\" id=\"BPMNShape_exclusiveGateway1564708816907\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"756\" y=\"168\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1564736279378\" id=\"BPMNShape_exclusiveGateway1564736279378\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"284\" y=\"592\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1563715705057\" id=\"BPMNEdge_flow1563715705057\">\r\n <omgdi:waypoint x=\"677\" y=\"331\" />\r\n <omgdi:waypoint x=\"677\" y=\"484\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710277479\" id=\"BPMNEdge_flow1564710277479\">\r\n <omgdi:waypoint x=\"520\" y=\"44\" />\r\n <omgdi:waypoint x=\"520\" y=\"71\" />\r\n <omgdi:waypoint x=\"519\" y=\"71\" />\r\n <omgdi:waypoint x=\"519\" y=\"98\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710380549\" id=\"BPMNEdge_flow1564710380549\">\r\n <omgdi:waypoint x=\"928\" y=\"460\" />\r\n <omgdi:waypoint x=\"928\" y=\"626\" />\r\n <omgdi:waypoint x=\"582\" y=\"626\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710383044\" id=\"BPMNEdge_flow1564710383044\">\r\n <omgdi:waypoint x=\"677\" y=\"544\" />\r\n <omgdi:waypoint x=\"677\" y=\"626\" />\r\n <omgdi:waypoint x=\"582\" y=\"626\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710403422\" id=\"BPMNEdge_flow1564710403422\">\r\n <omgdi:waypoint x=\"562\" y=\"646\" />\r\n <omgdi:waypoint x=\"562\" y=\"700\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710408359\" id=\"BPMNEdge_flow1564710408359\">\r\n <omgdi:waypoint x=\"627\" y=\"514\" />\r\n <omgdi:waypoint x=\"583\" y=\"514\" />\r\n <omgdi:waypoint x=\"583\" y=\"434\" />\r\n <omgdi:waypoint x=\"539\" y=\"434\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710415935\" id=\"BPMNEdge_flow1564710415935\">\r\n <omgdi:waypoint x=\"627\" y=\"301\" />\r\n <omgdi:waypoint x=\"583\" y=\"301\" />\r\n <omgdi:waypoint x=\"583\" y=\"434\" />\r\n <omgdi:waypoint x=\"539\" y=\"434\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710422786\" id=\"BPMNEdge_flow1564710422786\">\r\n <omgdi:waypoint x=\"878\" y=\"430\" />\r\n <omgdi:waypoint x=\"708\" y=\"430\" />\r\n <omgdi:waypoint x=\"708\" y=\"434\" />\r\n <omgdi:waypoint x=\"539\" y=\"434\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710433197\" id=\"BPMNEdge_flow1564710433197\">\r\n <omgdi:waypoint x=\"519\" y=\"414\" />\r\n <omgdi:waypoint x=\"519\" y=\"307\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710443552\" id=\"BPMNEdge_flow1564710443552\">\r\n <omgdi:waypoint x=\"519\" y=\"252\" />\r\n <omgdi:waypoint x=\"519\" y=\"138\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710499628\" id=\"BPMNEdge_flow1564710499628\">\r\n <omgdi:waypoint x=\"499\" y=\"118\" />\r\n <omgdi:waypoint x=\"305\" y=\"118\" />\r\n <omgdi:waypoint x=\"305\" y=\"193\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710575343\" id=\"BPMNEdge_flow1564710575343\">\r\n <omgdi:waypoint x=\"305\" y=\"253\" />\r\n <omgdi:waypoint x=\"305\" y=\"319\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710578198\" id=\"BPMNEdge_flow1564710578198\">\r\n <omgdi:waypoint x=\"305\" y=\"379\" />\r\n <omgdi:waypoint x=\"305\" y=\"455\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710625955\" id=\"BPMNEdge_flow1564710625955\">\r\n <omgdi:waypoint x=\"355\" y=\"223\" />\r\n <omgdi:waypoint x=\"427\" y=\"223\" />\r\n <omgdi:waypoint x=\"427\" y=\"434\" />\r\n <omgdi:waypoint x=\"499\" y=\"434\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710637704\" id=\"BPMNEdge_flow1564710637704\">\r\n <omgdi:waypoint x=\"357\" y=\"349\" />\r\n <omgdi:waypoint x=\"428\" y=\"349\" />\r\n <omgdi:waypoint x=\"428\" y=\"434\" />\r\n <omgdi:waypoint x=\"499\" y=\"434\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710641281\" id=\"BPMNEdge_flow1564710641281\">\r\n <omgdi:waypoint x=\"355\" y=\"485\" />\r\n <omgdi:waypoint x=\"427\" y=\"485\" />\r\n <omgdi:waypoint x=\"427\" y=\"434\" />\r\n <omgdi:waypoint x=\"499\" y=\"434\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710659704\" id=\"BPMNEdge_flow1564710659704\">\r\n <omgdi:waypoint x=\"304\" y=\"632\" />\r\n <omgdi:waypoint x=\"304\" y=\"652\" />\r\n <omgdi:waypoint x=\"423\" y=\"652\" />\r\n <omgdi:waypoint x=\"423\" y=\"626\" />\r\n <omgdi:waypoint x=\"542\" y=\"626\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710779947\" id=\"BPMNEdge_flow1564710779947\">\r\n <omgdi:waypoint x=\"324\" y=\"612\" />\r\n <omgdi:waypoint x=\"475\" y=\"612\" />\r\n <omgdi:waypoint x=\"475\" y=\"514\" />\r\n <omgdi:waypoint x=\"627\" y=\"514\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564724483699\" id=\"BPMNEdge_flow1564724483699\">\r\n <omgdi:waypoint x=\"796\" y=\"188\" />\r\n <omgdi:waypoint x=\"928\" y=\"188\" />\r\n <omgdi:waypoint x=\"928\" y=\"400\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1563715655055\" id=\"BPMNEdge_flow1563715655055\">\r\n <omgdi:waypoint x=\"756\" y=\"188\" />\r\n <omgdi:waypoint x=\"677\" y=\"188\" />\r\n <omgdi:waypoint x=\"677\" y=\"271\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710286952\" id=\"BPMNEdge_flow1564710286952\">\r\n <omgdi:waypoint x=\"539\" y=\"118\" />\r\n <omgdi:waypoint x=\"776\" y=\"118\" />\r\n <omgdi:waypoint x=\"776\" y=\"168\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564736288625\" id=\"BPMNEdge_flow1564736288625\">\r\n <omgdi:waypoint x=\"305\" y=\"515\" />\r\n <omgdi:waypoint x=\"305\" y=\"553\" />\r\n <omgdi:waypoint x=\"304\" y=\"553\" />\r\n <omgdi:waypoint x=\"304\" y=\"592\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-08-10 17:28:22','admin','管理员','2019-07-18 13:37:01','admin','process1563428199466',1,'0',NULL),('402881e56c4b2a04016c4c3aefc0000f','samelevel_transfer_new',NULL,'人事平调流程',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1564646973707\" name=\"人事平调流程\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402881e56c4b2a04016c4c3c26e50011\" event=\"end\" class=\"cn.com.lzt.useractiviti.workflow.listener.SamelevelTransferListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402881e56c035875016c03a921af0032\" event=\"end\" class=\"cn.com.lzt.workflow.listener.task.ActivitiTaskListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1564646993364\" name=\"项目负责人\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'CREATE_SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564800725710\" name=\"调出方内勤\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'NQ\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564800954669\" name=\"调出方项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564801208482\" name=\"项目编制负责人\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'admin\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564801254395\" name=\"人力资源部经理\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRJL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564813703465\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <sequenceFlow id=\"flow1564647013992\" name=\"\" sourceRef=\"start1\" targetRef=\"task1564646993364\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564801113806\" name=\"通过\" sourceRef=\"task1564646993364\" targetRef=\"task1564800725710\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564801134757\" name=\"通过\" sourceRef=\"task1564800725710\" targetRef=\"task1564800954669\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564801302817\" name=\"通过\" sourceRef=\"task1564800954669\" targetRef=\"task1564801208482\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564801304605\" name=\"通过\" sourceRef=\"task1564801208482\" targetRef=\"task1564801254395\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564801308342\" name=\"通过\" sourceRef=\"task1564801254395\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564813759936\" name=\"驳回\" sourceRef=\"task1564646993364\" targetRef=\"task1564813703465\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564813774360\" name=\"驳回\" sourceRef=\"task1564800725710\" targetRef=\"task1564813703465\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564813781175\" name=\"驳回\" sourceRef=\"task1564800954669\" targetRef=\"task1564813703465\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564813792167\" name=\"驳回\" sourceRef=\"task1564801208482\" targetRef=\"task1564813703465\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564813798652\" name=\"驳回\" sourceRef=\"task1564801254395\" targetRef=\"task1564813703465\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564813814405\" name=\"\" sourceRef=\"task1564813703465\" targetRef=\"task1564646993364\">\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1564646973707\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1564646973707\" id=\"BPMNPlane_process1564646973707\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"245\" y=\"31\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"269\" y=\"346\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564646993364\" id=\"BPMNShape_task1564646993364\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"485\" y=\"21\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564800725710\" id=\"BPMNShape_task1564800725710\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"766\" y=\"21\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564800954669\" id=\"BPMNShape_task1564800954669\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"766\" y=\"154\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564801208482\" id=\"BPMNShape_task1564801208482\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"766\" y=\"335\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564801254395\" id=\"BPMNShape_task1564801254395\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"476\" y=\"335\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564813703465\" id=\"BPMNShape_task1564813703465\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"510\" y=\"181\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564647013992\" id=\"BPMNEdge_flow1564647013992\">\r\n <omgdi:waypoint x=\"275\" y=\"46\" />\r\n <omgdi:waypoint x=\"480\" y=\"46\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564801113806\" id=\"BPMNEdge_flow1564801113806\">\r\n <omgdi:waypoint x=\"580\" y=\"46\" />\r\n <omgdi:waypoint x=\"761\" y=\"46\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564801134757\" id=\"BPMNEdge_flow1564801134757\">\r\n <omgdi:waypoint x=\"811\" y=\"76\" />\r\n <omgdi:waypoint x=\"811\" y=\"149\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564801302817\" id=\"BPMNEdge_flow1564801302817\">\r\n <omgdi:waypoint x=\"811\" y=\"209\" />\r\n <omgdi:waypoint x=\"811\" y=\"330\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564801304605\" id=\"BPMNEdge_flow1564801304605\">\r\n <omgdi:waypoint x=\"761\" y=\"360\" />\r\n <omgdi:waypoint x=\"571\" y=\"360\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564801308342\" id=\"BPMNEdge_flow1564801308342\">\r\n <omgdi:waypoint x=\"471\" y=\"360\" />\r\n <omgdi:waypoint x=\"385\" y=\"360\" />\r\n <omgdi:waypoint x=\"385\" y=\"361\" />\r\n <omgdi:waypoint x=\"299\" y=\"361\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564813759936\" id=\"BPMNEdge_flow1564813759936\">\r\n <omgdi:waypoint x=\"530\" y=\"76\" />\r\n <omgdi:waypoint x=\"530\" y=\"126\" />\r\n <omgdi:waypoint x=\"555\" y=\"126\" />\r\n <omgdi:waypoint x=\"555\" y=\"176\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564813774360\" id=\"BPMNEdge_flow1564813774360\">\r\n <omgdi:waypoint x=\"761\" y=\"46\" />\r\n <omgdi:waypoint x=\"683\" y=\"46\" />\r\n <omgdi:waypoint x=\"683\" y=\"206\" />\r\n <omgdi:waypoint x=\"605\" y=\"206\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564813781175\" id=\"BPMNEdge_flow1564813781175\">\r\n <omgdi:waypoint x=\"761\" y=\"179\" />\r\n <omgdi:waypoint x=\"683\" y=\"179\" />\r\n <omgdi:waypoint x=\"683\" y=\"206\" />\r\n <omgdi:waypoint x=\"605\" y=\"206\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564813792167\" id=\"BPMNEdge_flow1564813792167\">\r\n <omgdi:waypoint x=\"811\" y=\"330\" />\r\n <omgdi:waypoint x=\"811\" y=\"283\" />\r\n <omgdi:waypoint x=\"555\" y=\"283\" />\r\n <omgdi:waypoint x=\"555\" y=\"236\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564813798652\" id=\"BPMNEdge_flow1564813798652\">\r\n <omgdi:waypoint x=\"521\" y=\"330\" />\r\n <omgdi:waypoint x=\"521\" y=\"283\" />\r\n <omgdi:waypoint x=\"555\" y=\"283\" />\r\n <omgdi:waypoint x=\"555\" y=\"236\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564813814405\" id=\"BPMNEdge_flow1564813814405\">\r\n <omgdi:waypoint x=\"505\" y=\"206\" />\r\n <omgdi:waypoint x=\"460\" y=\"206\" />\r\n <omgdi:waypoint x=\"460\" y=\"46\" />\r\n <omgdi:waypoint x=\"480\" y=\"46\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-08-10 17:29:45','admin','管理员','2019-08-01 16:10:27','admin','process1564646973707',1,'0',NULL);
  1205. INSERT INTO `t_p_processnode` VALUES ('402881e56c035875016c03999857002f',NULL,'402881e56c035875016c039570050028','task1563428462368','项目经理审核','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56c148251016c14b87b570001',NULL,'402881e56c035875016c039570050028','task1563715534675','人力资源部审批','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56c148251016c14b87b680002',NULL,'402881e56c035875016c039570050028','task1563715685947','总经理审批','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56c4d997d016c4fec48d00019',NULL,'402881e56c035875016c039570050028','task1564708799720','制单人重填','userActivitiController.do?goView&flag=1','userActivitiController.do?goViewMobile&flag=1',NULL,'402881e56c501ea5016c502714e20002','no','0'),('402881e56c4d997d016c50039bfe001e',NULL,'402881e56c035875016c039570050028','task1564710460811','项目经理审批','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56c4d997d016c500503b5001f',NULL,'402881e56c035875016c039570050028','task1564710530195','岗位专员','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56c4d997d016c500503be0020',NULL,'402881e56c035875016c039570050028','task1564710549960','人事专员','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56c4b2a04016c4c3aefd20010',NULL,'402881e56c4b2a04016c4c3aefc0000f','task1564646993364','项目负责人','activitiSamelevelTransferController.do?goView','activitiSamelevelTransferController.do?goViewMobile',NULL,'402881e56c4b2a04016c4c3fe7300015','no','0'),('402881e56c549664016c556d3fc50001',NULL,'402881e56c4b2a04016c4c3aefc0000f','task1564800725710','调出方内勤','activitiSamelevelTransferController.do?goView&flag=2','activitiSamelevelTransferController.do?goViewMobile&flag=2',NULL,'402881e56c5622c8016c563e8ceb0007','no','0'),('402881e56c549664016c556d3fd70002',NULL,'402881e56c4b2a04016c4c3aefc0000f','task1564800954669','调出方项目经理','activitiSamelevelTransferController.do?goView&flag=3','activitiSamelevelTransferController.do?goViewMobile&flag=3',NULL,'402881e56c5622c8016c563f76a40009','no','0'),('402881e56c549664016c556d3fe30003',NULL,'402881e56c4b2a04016c4c3aefc0000f','task1564801208482','项目编制负责人','activitiSamelevelTransferController.do?goView&flag=4','activitiSamelevelTransferController.do?goViewMobile&flag=4',NULL,'402881e56c5622c8016c56408078000c','no','0'),('402881e56c549664016c556d3fed0004',NULL,'402881e56c4b2a04016c4c3aefc0000f','task1564801254395','人力资源部经理','activitiSamelevelTransferController.do?goView&flag=5','activitiSamelevelTransferController.do?goViewMobile&flag=5',NULL,'402881e56c5622c8016c573d904e0040','no','0'),('402881e56c5622c8016c562bfe320001',NULL,'402881e56c4b2a04016c4c3aefc0000f','task1564813703465','制单人重填','activitiSamelevelTransferController.do?goView&flag=1','activitiSamelevelTransferController.do?goViewMobile&flag=1',NULL,'402881e56c5622c8016c562dbb2d0003','no','0');
  1206. INSERT INTO `t_p_processnode_config` VALUES ('402881e56c035875016c03973481002c','user_add','审批','userActivitiController.do?goView','userActivitiController.do?goViewMobile'),('402881e56c4b2a04016c4c3fe7300015','samelevel_transfer_new','审批','activitiSamelevelTransferController.do?goView','activitiSamelevelTransferController.do?goViewMobile'),('402881e56c501ea5016c502714e20002','user_add','制单人重填','userActivitiController.do?goView&flag=1','userActivitiController.do?goViewMobile&flag=1'),('402881e56c5622c8016c563e8ceb0007','samelevel_transfer_new','调出方内勤审批','activitiSamelevelTransferController.do?goView&flag=2','activitiSamelevelTransferController.do?goViewMobile&flag=2'),('402881e56c5622c8016c563f76a40009','samelevel_transfer_new','调出方负责人审批','activitiSamelevelTransferController.do?goView&flag=3','activitiSamelevelTransferController.do?goViewMobile&flag=3'),('402881e56c5622c8016c56408078000c','samelevel_transfer_new','项目编制负责人','activitiSamelevelTransferController.do?goView&flag=4','activitiSamelevelTransferController.do?goViewMobile&flag=4'),('402881e56c5622c8016c573d904e0040','samelevel_transfer_new','人力资源部经理','activitiSamelevelTransferController.do?goView&flag=5','activitiSamelevelTransferController.do?goViewMobile&flag=5'),('402881e56c5622c8016c562dbb2d0003','samelevel_transfer_new','制单人重填','activitiSamelevelTransferController.do?goView&flag=1','activitiSamelevelTransferController.do?goViewMobile&flag=1');
  1207. INSERT INTO `t_s_busconfig` VALUES ('402881e56c035875016c039a3d250030',NULL,'online','','t_bus_activiti_user_personnel','402881e56c035875016c039570050028','员工入职','formdeal','员工入职','员工入职','402881e56c035875016c03965a4b0029'),('402881e56c4b2a04016c4c4040310017',NULL,'online','','t_bus_activiti_samelevel_transfer','402881e56c4b2a04016c4c3aefc0000f','人事平调流程','formdeal','人事平调流程','人事平调流程','402881e56c4b2a04016c4c3ef2be0013');
  1208. INSERT INTO `t_process_busconfig` VALUES ('402881e56c035875016c03965a4b0029','员工入职','员工入职【${realname}】','员工入职','t_bus_activiti_user_personnel','user_add'),('402881e56c4b2a04016c4c3ef2be0013','人事平调流程','人事平调流程','人事平调流程','t_bus_activiti_samelevel_transfer','samelevel_transfer_new');
  1209. INSERT INTO `t_p_listener` VALUES ('402881e56c035875016c03a921af0032','end','javaClass','cn.com.lzt.workflow.listener.task.ActivitiTaskListener','任务流启动监听',1,1,NULL),('402881e56c0ddc27016c0ddedd9d0002','end','javaClass','cn.com.lzt.useractiviti.workflow.listener.UserAddListener','入职流程监听',1,1,'user_add'),('402881e56c4b2a04016c4c3c26e50011','end','javaClass','cn.com.lzt.useractiviti.workflow.listener.SamelevelTransferListener','人事平调监听',1,1,'samelevel_transfer_new');
  1210. INSERT INTO `t_p_process_handlemode` VALUES ('402881e56c549664016c55752d6f0005','管理员','admin','2019-08-03 11:10:38',NULL,NULL,NULL,'A06A01','A06',NULL,'创建者项目经理','CREATE_SUPERIOR',NULL),('402881e56c549664016c55774b1a0007','管理员','admin','2019-08-03 11:12:57',NULL,NULL,NULL,'A06A01','A06',NULL,'内勤','NQ',NULL);
  1211. INSERT INTO `t_p_flowcondition` VALUES ('402881e56c4d997d016c4ff9036f001a','管理员','admin','2019-08-02 09:36:55','管理员','admin','2019-08-02 13:16:25','A06A01','A06','user_add','项目人员','${flowconditionUtil.projectUserType(BPM_FORM_KEY,id) == 1}'),('402881e56c4d997d016c4ff940ae001c','管理员','admin','2019-08-02 09:37:11','管理员','admin','2019-08-02 13:16:32','A06A01','A06','user_add','职能部门人员','${flowconditionUtil.projectUserType(BPM_FORM_KEY,id) == 0}'),('402881e56c4d997d016c5006c9970021','管理员','admin','2019-08-02 09:51:58',NULL,NULL,NULL,'A06A01','A06','user_add','超过基本工资','${money>2480}'),('402881e56c4d997d016c50071c430023','管理员','admin','2019-08-02 09:52:19',NULL,NULL,NULL,'A06A01','A06','user_add','未超过基本工资','${money<=2480}'),('402881e56c50d04e016c50d280450001','管理员','admin','2019-08-02 13:34:28','管理员','admin','2019-08-02 15:50:59','A06A01','A06','user_add','一线员工入职','${flowconditionUtil.isManagerType(BPM_FORM_KEY,userid,id) != 0}'),('402881e56c50d04e016c50d442ed0003','管理员','admin','2019-08-02 13:36:24',NULL,NULL,NULL,'A06A01','A06','user_add','管理处员工入职','${flowconditionUtil.isManagerType(BPM_FORM_KEY,userid,id) == 0}');
  1212. INSERT INTO `p_activiti_task` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`name`,`process_id`,`process_name`,`task_cost_time`,`task_cost_time_type`,`execute_type`,`execute_way`,`form`,`owner_role`,`owner_role_name`,`important`,`execute_class`,`task_delay`,`task_type`,`check_result`) VALUES ('402881e56c0f25b5016c0f37c2890010','管理员','admin','2019-07-20 19:50:08','管理员','admin','2019-08-10 22:52:06','A06A01','A06','1','${realname}入职,完成排班工作','402881e56c035875016c039570050028','员工入职',0,'current_month','online','pc','userWagestrategyController.do?list','ff8080815fdeab1f015ffb95145a00b9','人事助理',99,'com.xcgl.activititask.util.impl.UserWagestrategyTaskHandler',0,'user_add','check');
  1213. INSERT INTO `p_activiti_task` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`name`,`process_id`,`process_name`,`task_cost_time`,`task_cost_time_type`,`execute_type`,`execute_way`,`form`,`owner_role`,`owner_role_name`,`important`,`execute_class`,`task_delay`,`task_type`,`check_result`) VALUES ('402881e56c0f25b5016c0f4c38db0012','管理员','admin','2019-07-20 20:12:29','管理员','admin','2019-08-10 22:52:21','A06A01','A06','1','${realname}入职,完成配置证书工作','402881e56c035875016c039570050028','员工入职',0,'current_month','online','pc','userCertificateController.do?list','ff8080815fdeab1f015ffb95145a00b9','人事助理',99,'com.xcgl.activititask.util.impl.UserActivitiTaskHandler',0,'user_add','not_check');
  1214. INSERT INTO `p_activiti_task` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`name`,`process_id`,`process_name`,`task_cost_time`,`task_cost_time_type`,`execute_type`,`execute_way`,`form`,`owner_role`,`owner_role_name`,`important`,`execute_class`,`task_delay`,`task_type`,`check_result`) VALUES ('402881e56c0f25b5016c0f4e0caf0014','管理员','admin','2019-07-20 20:14:29','管理员','admin','2019-08-10 22:52:35','A06A01','A06','1','${realname}入职,完成上传复印件照片工作','402881e56c035875016c039570050028','员工入职',7,'day','online','pc','accessoryController.do?list','ff8080815fdeab1f015ffb9f492400c7','项目内勤',10,'com.xcgl.activititask.util.impl.UserAccessoryIdTaskHandler',0,'user_add','check');
  1215. INSERT INTO `p_activiti_task` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`name`,`process_id`,`process_name`,`task_cost_time`,`task_cost_time_type`,`execute_type`,`execute_way`,`form`,`owner_role`,`owner_role_name`,`important`,`execute_class`,`task_delay`,`task_type`,`check_result`) VALUES ('402881e56c0f25b5016c0f4fd3e80016','管理员','admin','2019-07-20 20:16:26','管理员','admin','2019-08-10 22:52:50','A06A01','A06','1','${realname}入职,完成邮寄证件工作','402881e56c035875016c039570050028','员工入职',30,'day','offline','pc','#','ff8080815fdeab1f015ffb9f492400c7','项目内勤',10,'com.xcgl.activititask.util.impl.UserActivitiTaskHandler',0,'user_add','not_check');
  1216. INSERT INTO `p_activiti_task` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`name`,`process_id`,`process_name`,`task_cost_time`,`task_cost_time_type`,`execute_type`,`execute_way`,`form`,`owner_role`,`owner_role_name`,`important`,`execute_class`,`task_delay`,`task_type`,`check_result`) VALUES ('402881e56c0f25b5016c0f529d530018','管理员','admin','2019-07-20 20:19:28','管理员','admin','2019-08-10 22:53:01','A06A01','A06','1','${realname}入职,完成排班工作','402881e56c035875016c039570050028','员工入职',3,'day','online','pc','projarrangeDetailController.do?list','ff8080815fdeab1f015ffb9f492400c7','项目内勤',10,'com.xcgl.activititask.util.impl.UserActivitiTaskHandler',0,'user_add','check');
  1217. INSERT INTO `p_activiti_task` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`name`,`process_id`,`process_name`,`task_cost_time`,`task_cost_time_type`,`execute_type`,`execute_way`,`form`,`owner_role`,`owner_role_name`,`important`,`execute_class`,`task_delay`,`task_type`,`check_result`) VALUES ('402881e56c0f25b5016c0f53698a001a','管理员','admin','2019-07-20 20:20:20','管理员','admin','2019-08-10 22:53:13','A06A01','A06','1','${realname}入职,完成录考勤机工作','402881e56c035875016c039570050028','员工入职',3,'day','offline','pc','#','ff8080815fdeab1f015ffb9f492400c7','项目内勤',10,'com.xcgl.activititask.util.impl.UserActivitiTaskHandler',0,'user_add','not_check');
  1218. INSERT INTO `p_activiti_task` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`name`,`process_id`,`process_name`,`task_cost_time`,`task_cost_time_type`,`execute_type`,`execute_way`,`form`,`owner_role`,`owner_role_name`,`important`,`execute_class`,`task_delay`,`task_type`,`check_result`) VALUES ('402881e56c3b8a61016c3c4b38140003','管理员','admin','2019-07-29 13:54:18','管理员','admin','2019-08-10 22:53:24','A06A01','A06','1','${realname}入职,完成配置缴金工作','402881e56c035875016c039570050028','员工入职',0,'current_month','online','pc','userWagestrategyController.do?list','ff8080815fdeab1f015ffb95145a00b9','人事助理',10,'com.xcgl.activititask.util.impl.UserWagestrategyTaskHandler',0,'user_add','check');
  1219. INSERT INTO `p_activiti_task` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`name`,`process_id`,`process_name`,`task_cost_time`,`task_cost_time_type`,`execute_type`,`execute_way`,`form`,`owner_role`,`owner_role_name`,`important`,`execute_class`,`task_delay`,`task_type`,`check_result`) VALUES ('402881e56c3b8a61016c3c4e7bed0009','管理员','admin','2019-07-29 13:57:52','管理员','admin','2019-08-10 22:53:35','A06A01','A06','1','${realname}入职,完成培训工作','402881e56c035875016c039570050028','员工入职',30,'day','offline','pc','#','ff8080815fdeab1f015ffb9d04d200c3','项目经理',10,'com.xcgl.activititask.util.impl.UserActivitiTaskHandler',0,'user_add','not_check');
  1220. INSERT INTO `p_activiti_task` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`name`,`process_id`,`process_name`,`task_cost_time`,`task_cost_time_type`,`execute_type`,`execute_way`,`form`,`owner_role`,`owner_role_name`,`important`,`execute_class`,`task_delay`,`task_type`,`check_result`) VALUES ('402881e56c4d997d016c4da3a5360010','管理员','admin','2019-08-01 22:44:26','管理员','admin','2019-08-10 22:54:09','A06A01','A06','1','${realname}平级调动,完成配置工资工作','402881e56c4b2a04016c4c3aefc0000f','人事平调流程',0,'current_month','online','pc','userWagestrategyController.do?list','ff8080815fdeab1f015ffb95145a00b9','人事助理',10,'com.xcgl.activititask.util.impl.UserWagestrategyTaskHandler',0,'sameleveltransfer','check');
  1221. INSERT INTO `p_activiti_task` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`name`,`process_id`,`process_name`,`task_cost_time`,`task_cost_time_type`,`execute_type`,`execute_way`,`form`,`owner_role`,`owner_role_name`,`important`,`execute_class`,`task_delay`,`task_type`,`check_result`) VALUES ('402881e56c4d997d016c4da4f3710012','管理员','admin','2019-08-01 22:45:52','管理员','admin','2019-08-10 22:54:22','A06A01','A06','1',' ${realname}平级调动,完成档案调动工作','402881e56c4b2a04016c4c3aefc0000f','人事平调流程',15,'day','offline','pc','#','ff8080815fdeab1f015ffb95145a00b9','人事助理',10,'com.xcgl.activititask.util.impl.UserActivitiTaskHandler',0,'sameleveltransfer','not_check');
  1222. INSERT INTO `p_activiti_task` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`name`,`process_id`,`process_name`,`task_cost_time`,`task_cost_time_type`,`execute_type`,`execute_way`,`form`,`owner_role`,`owner_role_name`,`important`,`execute_class`,`task_delay`,`task_type`,`check_result`) VALUES ('402881e56c5cc69b016c5d0443a30022','管理员','admin','2019-08-04 22:24:16','管理员','admin','2019-08-10 22:54:41','A06A01','A06','1','${realname}平级调动,完成排班工作','402881e56c4b2a04016c4c3aefc0000f','人事平调流程',3,'day','online','both','projarrangeDetailController.do?list','ff8080815fdeab1f015ffb9f492400c7','项目内勤',10,'com.xcgl.activititask.util.impl.UserActivitiTaskHandler',0,'sameleveltransfer','check');
  1223. INSERT INTO `p_activiti_task` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`name`,`process_id`,`process_name`,`task_cost_time`,`task_cost_time_type`,`execute_type`,`execute_way`,`form`,`owner_role`,`owner_role_name`,`important`,`execute_class`,`task_delay`,`task_type`,`check_result`) VALUES ('402881e56c62669c016c64d3ccee006b','管理员','admin','2019-08-06 10:48:18','管理员','admin','2019-08-10 22:55:43','A06A01','A06','1','${realname}离职,完成处理社保和公积金工作','402881e56c606a67016c61f68d04000e','人事离职流程',0,'shebao','offline','both','#','ff8080815fdeab1f015ffb95145a00b9','人事助理',10,'com.xcgl.activititask.util.impl.UserActivitiTaskHandler',0,'user_leave','not_check');
  1224. INSERT INTO `p_activiti_task` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`name`,`process_id`,`process_name`,`task_cost_time`,`task_cost_time_type`,`execute_type`,`execute_way`,`form`,`owner_role`,`owner_role_name`,`important`,`execute_class`,`task_delay`,`task_type`,`check_result`) VALUES ('402881e56c62669c016c64d4dc6e006d','管理员','admin','2019-08-06 10:49:27','管理员','admin','2019-08-10 22:55:32','A06A01','A06','1','${realname}离职,完成处理线下档案工作','402881e56c606a67016c61f68d04000e','人事离职流程',20,'day','offline','pc','#','ff8080815fdeab1f015ffb95145a00b9','人事助理',10,'com.xcgl.activititask.util.impl.UserActivitiTaskHandler',0,'user_leave','not_check');
  1225. INSERT INTO `p_activiti_task` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`name`,`process_id`,`process_name`,`task_cost_time`,`task_cost_time_type`,`execute_type`,`execute_way`,`form`,`owner_role`,`owner_role_name`,`important`,`execute_class`,`task_delay`,`task_type`,`check_result`) VALUES ('402881e56c75c823016c75ccbf600002','管理员','admin','2019-08-09 17:54:08','管理员','admin','2019-08-10 22:55:02','A06A01','A06','1','${realname}入职,完成上传政审材料照片工作','402881e56c035875016c039570050028','员工入职',20,'day','online','pc','accessoryController.do?list','ff8080815fdeab1f015ffb9f492400c7','项目内勤',10,'com.xcgl.activititask.util.impl.UserAccessoryZhengshenTaskHandler',0,'user_add','check');
  1226. -- 执行流及员工入职、员工调动审批新增部分 结束
  1227. ## 员工培训记录表
  1228. DROP TABLE IF EXISTS `t_bus_user_train`;
  1229. CREATE TABLE `t_bus_user_train` (
  1230. `id` varchar(36) NOT NULL,
  1231. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  1232. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  1233. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1234. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  1235. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  1236. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1237. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  1238. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  1239. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  1240. `user_id` varchar(36) NOT NULL COMMENT '员工id',
  1241. `train_type` varchar(50) NOT NULL COMMENT '培训类型',
  1242. `train_name` varchar(50) NOT NULL COMMENT '培训名称',
  1243. `train_time` datetime NOT NULL COMMENT '培训时间',
  1244. `teacher` varchar(32) DEFAULT NULL COMMENT '讲师',
  1245. `train_address` varchar(50) DEFAULT NULL COMMENT '培训地点',
  1246. `lession_id` varchar(50) DEFAULT NULL COMMENT '课程id',
  1247. `cert_id` varchar(36) DEFAULT NULL COMMENT '证书id',
  1248. `description` varchar(200) DEFAULT NULL COMMENT '描述',
  1249. PRIMARY KEY (`id`)
  1250. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1251. ## 员工教育经历表
  1252. DROP TABLE IF EXISTS `t_bus_user_education`;
  1253. CREATE TABLE `t_bus_user_education` (
  1254. `id` varchar(36) NOT NULL,
  1255. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  1256. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  1257. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1258. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  1259. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  1260. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1261. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  1262. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  1263. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  1264. `user_id` varchar(36) NOT NULL COMMENT '用户id',
  1265. `edu_type` varchar(32) DEFAULT NULL COMMENT '学历类型',
  1266. `school` varchar(50) DEFAULT NULL COMMENT '学校名',
  1267. `edu_starttime` datetime DEFAULT NULL COMMENT '起始日期',
  1268. `edu_endtime` datetime DEFAULT NULL COMMENT '结束日期',
  1269. `description` varchar(200) DEFAULT NULL COMMENT '描述',
  1270. PRIMARY KEY (`id`),
  1271. KEY `userid` (`user_id`)
  1272. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1273. ##从业经验表
  1274. DROP TABLE IF EXISTS `t_bus_user_work_exper`;
  1275. CREATE TABLE `t_bus_user_work_exper` (
  1276. `id` varchar(36) NOT NULL,
  1277. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  1278. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  1279. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1280. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  1281. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  1282. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1283. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  1284. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  1285. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  1286. `user_id` varchar(36) NOT NULL COMMENT '用户id',
  1287. `unit_name` varchar(50) NOT NULL COMMENT '单位名称',
  1288. `post_name` varchar(50) NOT NULL COMMENT '岗位',
  1289. `duty_name` varchar(50) NOT NULL COMMENT '职务名称',
  1290. `work_type` varchar(100) NOT NULL COMMENT '工作类型',
  1291. `work_content` varchar(100) NOT NULL COMMENT '工作内容',
  1292. `job_starttime` datetime DEFAULT NULL COMMENT '起始日期',
  1293. `job_endtime` datetime DEFAULT NULL COMMENT '结束日期',
  1294. PRIMARY KEY (`id`)
  1295. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1296. ##关键事件表
  1297. DROP TABLE IF EXISTS `t_bus_user_event`;
  1298. CREATE TABLE `t_bus_user_event` (
  1299. `id` varchar(36) NOT NULL,
  1300. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  1301. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  1302. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1303. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  1304. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  1305. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1306. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  1307. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  1308. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  1309. `user_id` varchar(36) NOT NULL COMMENT '用户id',
  1310. `event_type` varchar(50) NOT NULL COMMENT '事件类型',
  1311. `in_unit` varchar(36) NULL COMMENT '所在项目管理处',
  1312. `project_leader` varchar(36) DEFAULT NULL COMMENT '项目负责人',
  1313. `description` varchar(32) DEFAULT NULL COMMENT '事件描述',
  1314. `event_time` datetime NOT NULL COMMENT '事件发生时间',
  1315. `effect` varchar(100) DEFAULT NULL COMMENT '事件的影响',
  1316. PRIMARY KEY (`id`),
  1317. KEY `userid` (`user_id`)
  1318. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1319. ##员工特长表
  1320. DROP TABLE IF EXISTS `t_bus_user_techang`;
  1321. CREATE TABLE `t_bus_user_techang` (
  1322. `id` varchar(36) NOT NULL,
  1323. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  1324. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  1325. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1326. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  1327. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  1328. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1329. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  1330. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  1331. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  1332. `techang_type` varchar(50) NOT NULL COMMENT '特长类型',
  1333. `user_id` varchar(36) NOT NULL COMMENT '用户',
  1334. `description` longtext COMMENT '说明',
  1335. PRIMARY KEY (`id`),
  1336. KEY `userid` (`user_id`)
  1337. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1338. -- 离职申请 开始
  1339. CREATE TABLE `t_bus_talk` (
  1340. `id` varchar(45) NOT NULL,
  1341. `create_by` varchar(255) DEFAULT NULL,
  1342. `create_date` datetime DEFAULT NULL,
  1343. `create_name` varchar(45) DEFAULT NULL,
  1344. `talk_reason` varchar(255) DEFAULT NULL COMMENT '面谈原因',
  1345. `talk_way` varchar(255) DEFAULT NULL COMMENT '交谈方式',
  1346. `interviewer` varchar(255) DEFAULT NULL COMMENT '约谈人ID',
  1347. `interviewer_name` varchar(255) DEFAULT NULL,
  1348. `talk_with` varchar(45) DEFAULT NULL COMMENT '6)被约谈人ID',
  1349. `talk_with_name` varchar(45) DEFAULT NULL,
  1350. `content` varchar(500) DEFAULT NULL COMMENT '谈话记录',
  1351. PRIMARY KEY (`id`)
  1352. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='面谈记录';
  1353. CREATE TABLE `t_bus_activiti_leave` (
  1354. `id` varchar(36) NOT NULL COMMENT '主键',
  1355. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  1356. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  1357. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1358. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  1359. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  1360. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1361. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  1362. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  1363. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  1364. `userid` varchar(36) DEFAULT NULL COMMENT '员工ID',
  1365. `belong_unitid` varchar(36) DEFAULT NULL COMMENT '所属单位',
  1366. `apply_date` datetime DEFAULT NULL COMMENT '申请日期',
  1367. `leave_date` datetime DEFAULT NULL COMMENT '离职日期',
  1368. `leave_type` varchar(20) DEFAULT NULL COMMENT '离职类型',
  1369. `applicant_id` varchar(36) DEFAULT NULL COMMENT '申请人ID',
  1370. `istransfer` varchar(1) DEFAULT NULL COMMENT '是否交接',
  1371. `issettlement` varchar(1) DEFAULT NULL COMMENT '工资是否结算',
  1372. `leave_cause` varchar(255) DEFAULT NULL COMMENT '离职原因',
  1373. `delete_flag` varchar(1) NOT NULL COMMENT '逻辑删除标识',
  1374. `proc_inst_id` varchar(64) DEFAULT NULL COMMENT '流程实例ID',
  1375. `step_name` varchar(50) DEFAULT NULL COMMENT '当前步骤',
  1376. `talk_id` varchar(45) DEFAULT NULL,
  1377. `clothes_info` varchar(500) DEFAULT NULL COMMENT '服装归还情况',
  1378. `tool_info` varchar(500) DEFAULT NULL COMMENT '工具用品归还情况',
  1379. `transfer_info` varchar(500) DEFAULT NULL COMMENT '工作交接情况说明',
  1380. `transfer_user` varchar(45) DEFAULT NULL COMMENT '交接人',
  1381. `transfer_user_name` varchar(255) DEFAULT NULL,
  1382. `self_submit` int(11) DEFAULT NULL COMMENT '是否自己提交离职\n0否\n1是',
  1383. `realname` varchar(50) DEFAULT NULL,
  1384. PRIMARY KEY (`id`)
  1385. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='离职申请表';
  1386. CREATE TABLE `t_bus_userblacklist` (
  1387. `id` varchar(32) NOT NULL,
  1388. `userid` varchar(32) DEFAULT NULL,
  1389. `idcard` varchar(45) DEFAULT NULL COMMENT '身份证',
  1390. `create_date` datetime DEFAULT NULL,
  1391. `create_by` varchar(50) DEFAULT NULL,
  1392. `create_name` varchar(50) DEFAULT NULL,
  1393. `reason` varchar(500) DEFAULT NULL COMMENT '加入原因',
  1394. `delete_flag` varchar(45) DEFAULT '0' COMMENT '删除标志',
  1395. PRIMARY KEY (`id`),
  1396. UNIQUE KEY `idcard` (`idcard`),
  1397. KEY `userid` (`userid`)
  1398. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='员工黑名单';
  1399. INSERT INTO `t_s_typegroup` VALUES ('402881e56c62669c016c6268560e0001','talk_reason','面谈原因','2019-08-05 23:31:41','管理员'),('402881e56c62669c016c6269851d000d','talk_way','交谈方式','2019-08-05 23:32:58','管理员');
  1400. INSERT INTO `t_s_type` VALUES ('402881e56c62669c016c6268992f0003','1','普通面谈',NULL,'402881e56c62669c016c6268560e0001','2019-08-05 23:31:58','管理员'),('402881e56c62669c016c6268c1ef0005','5','晋升面谈',NULL,'402881e56c62669c016c6268560e0001','2019-08-05 23:32:08','管理员'),('402881e56c62669c016c6268ef150007','10','降职面谈',NULL,'402881e56c62669c016c6268560e0001','2019-08-05 23:32:20','管理员'),('402881e56c62669c016c626920120009','20','调动面谈',NULL,'402881e56c62669c016c6268560e0001','2019-08-05 23:32:32','管理员'),('402881e56c62669c016c62694b04000b','30','离职面谈',NULL,'402881e56c62669c016c6268560e0001','2019-08-05 23:32:43','管理员'),('402881e56c62669c016c6269b18d000f','1','当面沟通',NULL,'402881e56c62669c016c6269851d000d','2019-08-05 23:33:10','管理员'),('402881e56c62669c016c6269ce9b0011','5','电话沟通',NULL,'402881e56c62669c016c6269851d000d','2019-08-05 23:33:17','管理员'),('402881e56c62669c016c6269fc280013','10','微信沟通',NULL,'402881e56c62669c016c6269851d000d','2019-08-05 23:33:29','管理员'),('402881e56c62669c016c626a243e0015','20','其它方式',NULL,'402881e56c62669c016c6269851d000d','2019-08-05 23:33:39','管理员'),('402881e56c62669c016c64ce9b250066','user_leave','离职申请',NULL,'4028819b65a8b81c0165a9182bee0015','2019-08-06 10:42:37','管理员');
  1401. INSERT INTO `t_s_function` VALUES ('402881e56c606a67016c606db5280001',NULL,1,'员工离职','3','activitiLeaveController.do?list','402881e56c035875016c039065b10020','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-08-05 14:18:18',NULL),('402881e56c6f33c5016c6f363d7f0001',NULL,1,'离职申请','5','activitiLeaveController.do?goUpdate&selfSubmit=1','402881e56c035875016c039065b10020','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-08-08 11:14:16','2019-08-08 11:12:01','管理员');
  1402. INSERT INTO `t_p_process` VALUES ('402881e56c606a67016c61f68d04000e','leave_new',NULL,'人事离职流程',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1565011606797\" name=\"人事离职流程\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402881e56c606a67016c620166680014\" event=\"end\" class=\"cn.com.lzt.useractiviti.workflow.listener.UserLeaveListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402881e56c035875016c03a921af0032\" event=\"end\" class=\"cn.com.lzt.workflow.listener.task.ActivitiTaskListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1565071413187\" name=\"项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1565071522700\" name=\"人事专员(面谈)\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HR,A_HRZL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1565086839441\" name=\"项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1565086878371\" name=\"人事专员\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HR,A_HRZL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1565086958691\" name=\"人力资源部经理(面谈)\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRJL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1565087137611\" name=\"人力资源部经理(面谈)\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRJL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1565087266814\" name=\"总经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <userTask id=\"task1565092414897\" name=\"部门经理(面谈)\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'GUARD\')}\" >\r\n </userTask>\r\n <userTask id=\"task1565092516369\" name=\"人力资源部经理\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRJL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1565092636758\" name=\"人力资源部经理(面谈)\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRJL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1565100847455\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <exclusiveGateway id=\"exclusiveGateway1565071395836\" name=\"exclusiveGateway1565071395836\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1565071643451\" name=\"exclusiveGateway1565071643451\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1565071730157\" name=\"exclusiveGateway1565071730157\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1565087181266\" name=\"exclusiveGateway1565087181266\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1565087460965\" name=\"exclusiveGateway1565087460965\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1565088081352\" name=\"exclusiveGateway1565088081352\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1565092601803\" name=\"exclusiveGateway1565092601803\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1565093668745\" name=\"exclusiveGateway1565093668745\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1565100907069\" name=\"exclusiveGateway1565100907069\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1565100961566\" name=\"exclusiveGateway1565100961566\">\r\n </exclusiveGateway>\r\n <sequenceFlow id=\"flow1565071488070\" name=\"一线员工\" sourceRef=\"exclusiveGateway1565088081352\" targetRef=\"task1565071413187\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.normalUserType(userid)==2}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565071628789\" name=\"通过\" sourceRef=\"task1565071413187\" targetRef=\"task1565071522700\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565071732872\" name=\"内勤\" sourceRef=\"exclusiveGateway1565088081352\" targetRef=\"exclusiveGateway1565071730157\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.normalUserType(userid)==1}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565086859532\" name=\"主动\" sourceRef=\"exclusiveGateway1565071730157\" targetRef=\"task1565086839441\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.leaveType(BPM_FORM_KEY,id) == 1}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565086937287\" name=\"通过\" sourceRef=\"task1565086839441\" targetRef=\"task1565086878371\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565086978977\" name=\"通过\" sourceRef=\"task1565086878371\" targetRef=\"task1565086958691\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565087043762\" name=\"通过\" sourceRef=\"task1565086958691\" targetRef=\"exclusiveGateway1565071643451\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565087046154\" name=\"通过\" sourceRef=\"task1565071522700\" targetRef=\"exclusiveGateway1565071643451\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565087048345\" name=\"\" sourceRef=\"exclusiveGateway1565071643451\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565087065265\" name=\"辞退\" sourceRef=\"exclusiveGateway1565071730157\" targetRef=\"task1565086958691\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.leaveType(BPM_FORM_KEY,id) == 0}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565087140076\" name=\"项目负责人\" sourceRef=\"exclusiveGateway1565088081352\" targetRef=\"exclusiveGateway1565087181266\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.normalUserType(userid)==0}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565087194143\" name=\"\" sourceRef=\"exclusiveGateway1565087181266\" targetRef=\"task1565087137611\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565087268516\" name=\"通过\" sourceRef=\"task1565087137611\" targetRef=\"task1565087266814\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565087299715\" name=\"通过\" sourceRef=\"task1565087266814\" targetRef=\"exclusiveGateway1565071643451\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565087644289\" name=\"\" sourceRef=\"start1\" targetRef=\"exclusiveGateway1565071395836\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565087676587\" name=\"职能部门\" sourceRef=\"exclusiveGateway1565071395836\" targetRef=\"exclusiveGateway1565087460965\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isorgType(userid) == \'3\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565088089215\" name=\"一线人员\" sourceRef=\"exclusiveGateway1565071395836\" targetRef=\"exclusiveGateway1565088081352\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isManagerType(BPM_FORM_KEY,userid) != 0}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565092534203\" name=\"通过\" sourceRef=\"task1565092414897\" targetRef=\"task1565092516369\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565092542765\" name=\"通过\" sourceRef=\"task1565092516369\" targetRef=\"task1565087266814\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565092620841\" name=\"主动离职\" sourceRef=\"exclusiveGateway1565092601803\" targetRef=\"task1565092414897\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.leaveType(BPM_FORM_KEY,id) == 1}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565092655181\" name=\"辞退\" sourceRef=\"exclusiveGateway1565092601803\" targetRef=\"task1565092636758\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.leaveType(BPM_FORM_KEY,id) == 0}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565093446198\" name=\"通过\" sourceRef=\"task1565092636758\" targetRef=\"task1565087266814\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565093500044\" name=\"员工\" sourceRef=\"exclusiveGateway1565087460965\" targetRef=\"exclusiveGateway1565092601803\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isRank(userid) == \'6\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565093612307\" name=\"负责人\" sourceRef=\"exclusiveGateway1565087460965\" targetRef=\"exclusiveGateway1565093668745\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isRank(userid) == \'5\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565093683796\" name=\"\" sourceRef=\"exclusiveGateway1565093668745\" targetRef=\"task1565092636758\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565100910442\" name=\"驳回\" sourceRef=\"task1565071413187\" targetRef=\"exclusiveGateway1565100907069\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565100920382\" name=\"驳回\" sourceRef=\"task1565071522700\" targetRef=\"exclusiveGateway1565100907069\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565100963176\" name=\"驳回\" sourceRef=\"task1565086839441\" targetRef=\"exclusiveGateway1565100961566\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565100971309\" name=\"驳回\" sourceRef=\"task1565086878371\" targetRef=\"exclusiveGateway1565100961566\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565100981846\" name=\"驳回\" sourceRef=\"task1565086958691\" targetRef=\"exclusiveGateway1565100961566\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565101003158\" name=\"\" sourceRef=\"exclusiveGateway1565100961566\" targetRef=\"task1565100847455\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565101146124\" name=\"驳回\" sourceRef=\"task1565087137611\" targetRef=\"exclusiveGateway1565100961566\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565101157981\" name=\"\" sourceRef=\"task1565100847455\" targetRef=\"exclusiveGateway1565071395836\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565101164566\" name=\"驳回\" sourceRef=\"task1565087266814\" targetRef=\"exclusiveGateway1565100961566\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565101207696\" name=\"驳回\" sourceRef=\"task1565092414897\" targetRef=\"exclusiveGateway1565100961566\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565101220527\" name=\"驳回\" sourceRef=\"task1565092516369\" targetRef=\"exclusiveGateway1565100961566\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565101231099\" name=\"驳回\" sourceRef=\"task1565092636758\" targetRef=\"exclusiveGateway1565100961566\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565101249162\" name=\"\" sourceRef=\"exclusiveGateway1565100907069\" targetRef=\"exclusiveGateway1565100961566\">\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1565011606797\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1565011606797\" id=\"BPMNPlane_process1565011606797\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"638\" y=\"6\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"639\" y=\"904\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1565071413187\" id=\"BPMNShape_task1565071413187\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"911\" y=\"238\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1565071522700\" id=\"BPMNShape_task1565071522700\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"911\" y=\"397\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1565086839441\" id=\"BPMNShape_task1565086839441\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"765\" y=\"402\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1565086878371\" id=\"BPMNShape_task1565086878371\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"765\" y=\"518\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1565086958691\" id=\"BPMNShape_task1565086958691\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"765\" y=\"622\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1565087137611\" id=\"BPMNShape_task1565087137611\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"495\" y=\"417\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1565087266814\" id=\"BPMNShape_task1565087266814\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"495\" y=\"709\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1565092414897\" id=\"BPMNShape_task1565092414897\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"354\" y=\"472\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1565092516369\" id=\"BPMNShape_task1565092516369\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"354\" y=\"621\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1565092636758\" id=\"BPMNShape_task1565092636758\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"220\" y=\"407\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1565100847455\" id=\"BPMNShape_task1565100847455\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"633\" y=\"301\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565071395836\" id=\"BPMNShape_exclusiveGateway1565071395836\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"634\" y=\"111\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565071643451\" id=\"BPMNShape_exclusiveGateway1565071643451\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"634\" y=\"794\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565071730157\" id=\"BPMNShape_exclusiveGateway1565071730157\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"790\" y=\"295\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565087181266\" id=\"BPMNShape_exclusiveGateway1565087181266\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"520\" y=\"251\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565087460965\" id=\"BPMNShape_exclusiveGateway1565087460965\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"285\" y=\"181\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565088081352\" id=\"BPMNShape_exclusiveGateway1565088081352\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"791\" y=\"151\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565092601803\" id=\"BPMNShape_exclusiveGateway1565092601803\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"377\" y=\"259\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565093668745\" id=\"BPMNShape_exclusiveGateway1565093668745\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"70\" y=\"277\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565100907069\" id=\"BPMNShape_exclusiveGateway1565100907069\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"1158\" y=\"375\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565100961566\" id=\"BPMNShape_exclusiveGateway1565100961566\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"658\" y=\"452\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565071488070\" id=\"BPMNEdge_flow1565071488070\">\r\n <omgdi:waypoint x=\"831\" y=\"171\" />\r\n <omgdi:waypoint x=\"956\" y=\"171\" />\r\n <omgdi:waypoint x=\"956\" y=\"233\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565071628789\" id=\"BPMNEdge_flow1565071628789\">\r\n <omgdi:waypoint x=\"956\" y=\"293\" />\r\n <omgdi:waypoint x=\"956\" y=\"392\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565071732872\" id=\"BPMNEdge_flow1565071732872\">\r\n <omgdi:waypoint x=\"811\" y=\"191\" />\r\n <omgdi:waypoint x=\"811\" y=\"243\" />\r\n <omgdi:waypoint x=\"810\" y=\"243\" />\r\n <omgdi:waypoint x=\"810\" y=\"295\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565086859532\" id=\"BPMNEdge_flow1565086859532\">\r\n <omgdi:waypoint x=\"810\" y=\"335\" />\r\n <omgdi:waypoint x=\"810\" y=\"397\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565086937287\" id=\"BPMNEdge_flow1565086937287\">\r\n <omgdi:waypoint x=\"810\" y=\"457\" />\r\n <omgdi:waypoint x=\"810\" y=\"513\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565086978977\" id=\"BPMNEdge_flow1565086978977\">\r\n <omgdi:waypoint x=\"810\" y=\"573\" />\r\n <omgdi:waypoint x=\"810\" y=\"617\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565087043762\" id=\"BPMNEdge_flow1565087043762\">\r\n <omgdi:waypoint x=\"810\" y=\"677\" />\r\n <omgdi:waypoint x=\"810\" y=\"814\" />\r\n <omgdi:waypoint x=\"674\" y=\"814\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565087046154\" id=\"BPMNEdge_flow1565087046154\">\r\n <omgdi:waypoint x=\"956\" y=\"452\" />\r\n <omgdi:waypoint x=\"956\" y=\"814\" />\r\n <omgdi:waypoint x=\"674\" y=\"814\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565087048345\" id=\"BPMNEdge_flow1565087048345\">\r\n <omgdi:waypoint x=\"654\" y=\"834\" />\r\n <omgdi:waypoint x=\"654\" y=\"904\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565087065265\" id=\"BPMNEdge_flow1565087065265\">\r\n <omgdi:waypoint x=\"830\" y=\"315\" />\r\n <omgdi:waypoint x=\"880\" y=\"315\" />\r\n <omgdi:waypoint x=\"880\" y=\"647\" />\r\n <omgdi:waypoint x=\"860\" y=\"647\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565087140076\" id=\"BPMNEdge_flow1565087140076\">\r\n <omgdi:waypoint x=\"791\" y=\"171\" />\r\n <omgdi:waypoint x=\"540\" y=\"171\" />\r\n <omgdi:waypoint x=\"540\" y=\"251\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565087194143\" id=\"BPMNEdge_flow1565087194143\">\r\n <omgdi:waypoint x=\"540\" y=\"291\" />\r\n <omgdi:waypoint x=\"540\" y=\"412\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565087268516\" id=\"BPMNEdge_flow1565087268516\">\r\n <omgdi:waypoint x=\"540\" y=\"472\" />\r\n <omgdi:waypoint x=\"540\" y=\"704\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565087299715\" id=\"BPMNEdge_flow1565087299715\">\r\n <omgdi:waypoint x=\"540\" y=\"764\" />\r\n <omgdi:waypoint x=\"540\" y=\"814\" />\r\n <omgdi:waypoint x=\"634\" y=\"814\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565087644289\" id=\"BPMNEdge_flow1565087644289\">\r\n <omgdi:waypoint x=\"653\" y=\"36\" />\r\n <omgdi:waypoint x=\"653\" y=\"73\" />\r\n <omgdi:waypoint x=\"654\" y=\"73\" />\r\n <omgdi:waypoint x=\"654\" y=\"111\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565087676587\" id=\"BPMNEdge_flow1565087676587\">\r\n <omgdi:waypoint x=\"634\" y=\"131\" />\r\n <omgdi:waypoint x=\"305\" y=\"131\" />\r\n <omgdi:waypoint x=\"305\" y=\"181\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565088089215\" id=\"BPMNEdge_flow1565088089215\">\r\n <omgdi:waypoint x=\"674\" y=\"131\" />\r\n <omgdi:waypoint x=\"811\" y=\"131\" />\r\n <omgdi:waypoint x=\"811\" y=\"151\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565092534203\" id=\"BPMNEdge_flow1565092534203\">\r\n <omgdi:waypoint x=\"399\" y=\"527\" />\r\n <omgdi:waypoint x=\"399\" y=\"616\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565092542765\" id=\"BPMNEdge_flow1565092542765\">\r\n <omgdi:waypoint x=\"399\" y=\"676\" />\r\n <omgdi:waypoint x=\"399\" y=\"734\" />\r\n <omgdi:waypoint x=\"490\" y=\"734\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565092620841\" id=\"BPMNEdge_flow1565092620841\">\r\n <omgdi:waypoint x=\"397\" y=\"299\" />\r\n <omgdi:waypoint x=\"397\" y=\"383\" />\r\n <omgdi:waypoint x=\"399\" y=\"383\" />\r\n <omgdi:waypoint x=\"399\" y=\"467\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565092655181\" id=\"BPMNEdge_flow1565092655181\">\r\n <omgdi:waypoint x=\"377\" y=\"279\" />\r\n <omgdi:waypoint x=\"265\" y=\"279\" />\r\n <omgdi:waypoint x=\"265\" y=\"402\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565093446198\" id=\"BPMNEdge_flow1565093446198\">\r\n <omgdi:waypoint x=\"265\" y=\"462\" />\r\n <omgdi:waypoint x=\"265\" y=\"734\" />\r\n <omgdi:waypoint x=\"490\" y=\"734\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565093500044\" id=\"BPMNEdge_flow1565093500044\">\r\n <omgdi:waypoint x=\"325\" y=\"201\" />\r\n <omgdi:waypoint x=\"397\" y=\"201\" />\r\n <omgdi:waypoint x=\"397\" y=\"259\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565093612307\" id=\"BPMNEdge_flow1565093612307\">\r\n <omgdi:waypoint x=\"285\" y=\"201\" />\r\n <omgdi:waypoint x=\"90\" y=\"201\" />\r\n <omgdi:waypoint x=\"90\" y=\"277\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565093683796\" id=\"BPMNEdge_flow1565093683796\">\r\n <omgdi:waypoint x=\"110\" y=\"297\" />\r\n <omgdi:waypoint x=\"162\" y=\"297\" />\r\n <omgdi:waypoint x=\"162\" y=\"432\" />\r\n <omgdi:waypoint x=\"215\" y=\"432\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565100910442\" id=\"BPMNEdge_flow1565100910442\">\r\n <omgdi:waypoint x=\"1006\" y=\"263\" />\r\n <omgdi:waypoint x=\"1178\" y=\"263\" />\r\n <omgdi:waypoint x=\"1178\" y=\"375\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565100920382\" id=\"BPMNEdge_flow1565100920382\">\r\n <omgdi:waypoint x=\"1006\" y=\"422\" />\r\n <omgdi:waypoint x=\"1082\" y=\"422\" />\r\n <omgdi:waypoint x=\"1082\" y=\"395\" />\r\n <omgdi:waypoint x=\"1158\" y=\"395\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565100963176\" id=\"BPMNEdge_flow1565100963176\">\r\n <omgdi:waypoint x=\"760\" y=\"427\" />\r\n <omgdi:waypoint x=\"729\" y=\"427\" />\r\n <omgdi:waypoint x=\"729\" y=\"472\" />\r\n <omgdi:waypoint x=\"698\" y=\"472\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565100971309\" id=\"BPMNEdge_flow1565100971309\">\r\n <omgdi:waypoint x=\"760\" y=\"543\" />\r\n <omgdi:waypoint x=\"678\" y=\"543\" />\r\n <omgdi:waypoint x=\"678\" y=\"492\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565100981846\" id=\"BPMNEdge_flow1565100981846\">\r\n <omgdi:waypoint x=\"760\" y=\"647\" />\r\n <omgdi:waypoint x=\"678\" y=\"647\" />\r\n <omgdi:waypoint x=\"678\" y=\"492\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565101003158\" id=\"BPMNEdge_flow1565101003158\">\r\n <omgdi:waypoint x=\"678\" y=\"452\" />\r\n <omgdi:waypoint x=\"678\" y=\"356\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565101146124\" id=\"BPMNEdge_flow1565101146124\">\r\n <omgdi:waypoint x=\"590\" y=\"442\" />\r\n <omgdi:waypoint x=\"624\" y=\"442\" />\r\n <omgdi:waypoint x=\"624\" y=\"472\" />\r\n <omgdi:waypoint x=\"658\" y=\"472\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565101157981\" id=\"BPMNEdge_flow1565101157981\">\r\n <omgdi:waypoint x=\"678\" y=\"296\" />\r\n <omgdi:waypoint x=\"678\" y=\"223\" />\r\n <omgdi:waypoint x=\"654\" y=\"223\" />\r\n <omgdi:waypoint x=\"654\" y=\"151\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565101164566\" id=\"BPMNEdge_flow1565101164566\">\r\n <omgdi:waypoint x=\"590\" y=\"734\" />\r\n <omgdi:waypoint x=\"678\" y=\"734\" />\r\n <omgdi:waypoint x=\"678\" y=\"492\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565101207696\" id=\"BPMNEdge_flow1565101207696\">\r\n <omgdi:waypoint x=\"449\" y=\"497\" />\r\n <omgdi:waypoint x=\"553\" y=\"497\" />\r\n <omgdi:waypoint x=\"553\" y=\"472\" />\r\n <omgdi:waypoint x=\"658\" y=\"472\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565101220527\" id=\"BPMNEdge_flow1565101220527\">\r\n <omgdi:waypoint x=\"449\" y=\"646\" />\r\n <omgdi:waypoint x=\"678\" y=\"646\" />\r\n <omgdi:waypoint x=\"678\" y=\"492\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565101231099\" id=\"BPMNEdge_flow1565101231099\">\r\n <omgdi:waypoint x=\"315\" y=\"432\" />\r\n <omgdi:waypoint x=\"486\" y=\"432\" />\r\n <omgdi:waypoint x=\"486\" y=\"472\" />\r\n <omgdi:waypoint x=\"658\" y=\"472\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565101249162\" id=\"BPMNEdge_flow1565101249162\">\r\n <omgdi:waypoint x=\"1178\" y=\"415\" />\r\n <omgdi:waypoint x=\"1178\" y=\"472\" />\r\n <omgdi:waypoint x=\"698\" y=\"472\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-08-08 17:22:42','admin','管理员','2019-08-05 21:27:24','admin','process1565011606797',1,'0',NULL);
  1403. INSERT INTO `t_p_processnode` VALUES ('402881e56c64f299016c658829340007',NULL,'402881e56c606a67016c61f68d04000e','task1565071413187','项目经理','activitiLeaveController.do?goView&flag=9','activitiLeaveController.do?goViewMobile&flag=9',NULL,'402881e56c64f299016c67179c460014','no','0'),('402881e56c64f299016c658a27d90008',NULL,'402881e56c606a67016c61f68d04000e','task1565071522700','人事专员(面谈)','activitiLeaveController.do?goView&flag=10','activitiLeaveController.do?goViewMobile&flag=10',NULL,'402881e56c606a67016c61ff8dbf0012','no','0'),('402881e56c64f299016c667237320009',NULL,'402881e56c606a67016c61f68d04000e','task1565086839441','项目经理','activitiLeaveController.do?goView&flag=9','activitiLeaveController.do?goViewMobile&flag=9',NULL,'402881e56c64f299016c67179c460014','no','0'),('402881e56c64f299016c66738651000a',NULL,'402881e56c606a67016c61f68d04000e','task1565086878371','人事专员','activitiLeaveController.do?goView&flag=9','activitiLeaveController.do?goViewMobile&flag=9',NULL,'402881e56c64f299016c67179c460014','no','0'),('402881e56c64f299016c66741d7d000b',NULL,'402881e56c606a67016c61f68d04000e','task1565086958691','人力资源部经理(面谈)','activitiLeaveController.do?goView&flag=10','activitiLeaveController.do?goViewMobile&flag=10',NULL,'402881e56c606a67016c61ff8dbf0012','no','0'),('402881e56c64f299016c6676ca62000d',NULL,'402881e56c606a67016c61f68d04000e','task1565087137611','人力资源部经理(面谈)','activitiLeaveController.do?goView&flag=10','activitiLeaveController.do?goViewMobile&flag=10',NULL,'402881e56c606a67016c61ff8dbf0012','no','0'),('402881e56c64f299016c6678d0ae000e',NULL,'402881e56c606a67016c61f68d04000e','task1565087266814','总经理','activitiLeaveController.do?goView&flag=11','activitiLeaveController.do?goViewMobile&flag=11',NULL,'402881e56c64f299016c6717e4c40016','no','0'),('402881e56c64f299016c66c72b29000f',NULL,'402881e56c606a67016c61f68d04000e','task1565092414897','部门经理(面谈)','activitiLeaveController.do?goView&flag=10','activitiLeaveController.do?goViewMobile&flag=10',NULL,'402881e56c606a67016c61ff8dbf0012','no','0'),('402881e56c64f299016c66d12ef50010',NULL,'402881e56c606a67016c61f68d04000e','task1565092516369','人力资源部经理','activitiLeaveController.do?goView&flag=11','activitiLeaveController.do?goViewMobile&flag=11',NULL,'402881e56c64f299016c6717e4c40016','no','0'),('402881e56c64f299016c66d12efe0011',NULL,'402881e56c606a67016c61f68d04000e','task1565092636758','人力资源部经理(面谈)','activitiLeaveController.do?goView&flag=10','activitiLeaveController.do?goViewMobile&flag=10',NULL,'402881e56c606a67016c61ff8dbf0012','no','0'),('402881e56c64f299016c674b6d410027',NULL,'402881e56c606a67016c61f68d04000e','task1565100847455','制单人重填','activitiLeaveController.do?goView&flage=false','activitiLeaveController.do?goViewMobile&flage=false',NULL,'402881e56c62229f016c623ee50e0009','no','0');
  1404. INSERT INTO `t_p_processnode_config` (`id`,`process_type`,`url_title`,`pc_url`,`mobile_url`) VALUES ('402881e56c606a67016c61ff8dbf0012','leave_new','面谈表单','activitiLeaveController.do?goView&flag=10','activitiLeaveController.do?goViewMobile&flag=10');
  1405. INSERT INTO `t_p_processnode_config` (`id`,`process_type`,`url_title`,`pc_url`,`mobile_url`) VALUES ('402881e56c62229f016c623ee50e0009','leave_new','制单人重填','activitiLeaveController.do?goView&flage=false','activitiLeaveController.do?goViewMobile&flage=false');
  1406. INSERT INTO `t_p_processnode_config` (`id`,`process_type`,`url_title`,`pc_url`,`mobile_url`) VALUES ('402881e56c64f299016c67179c460014','leave_new','面谈前','activitiLeaveController.do?goView&flag=9','activitiLeaveController.do?goViewMobile&flag=9');
  1407. INSERT INTO `t_p_processnode_config` (`id`,`process_type`,`url_title`,`pc_url`,`mobile_url`) VALUES ('402881e56c64f299016c6717e4c40016','leave_new','面谈后','activitiLeaveController.do?goView&flag=11','activitiLeaveController.do?goViewMobile&flag=11');
  1408. INSERT INTO `t_s_busconfig` VALUES ('402881e56c606a67016c6202b01c0016',NULL,'online','','t_bus_activiti_leave','402881e56c606a67016c61f68d04000e','人事离职流程','formdeal','人事离职流程','人事离职流程','402881e56c606a67016c61fe16e80010');
  1409. INSERT INTO `t_process_busconfig` VALUES ('402881e56c606a67016c61fe16e80010','人事离职流程','人事离职流程','人事离职流程','t_bus_activiti_leave','leave_new');
  1410. INSERT INTO `t_p_listener` VALUES ('402881e56c606a67016c620166680014','end','javaClass','cn.com.lzt.useractiviti.workflow.listener.UserLeaveListener','人事离职监听',1,1,'leave_new');
  1411. INSERT INTO `t_p_flowcondition` VALUES ('402881e56c64f299016c672280e00018','管理员','admin','2019-08-06 21:33:30','管理员','admin','2019-08-06 22:09:21','A06A01','A06','leave_new','一线内勤','${flowconditionUtil.normalUserType(userid)==1}'),('402881e56c64f299016c673462e8001d','管理员','admin','2019-08-06 21:53:02','管理员','admin','2019-08-06 22:09:29','A06A01','A06','leave_new','一线项目负责人','${flowconditionUtil.normalUserType(userid)==0}'),('402881e56c64f299016c673533f6001f','管理员','admin','2019-08-06 21:53:56','管理员','admin','2019-08-06 22:07:45','A06A01','A06','leave_new','一线普通','${flowconditionUtil.normalUserType(userid)==2}'),('402881e56c64f299016c6755a7520028','管理员','admin','2019-08-06 22:29:22','管理员','admin','2019-08-07 22:26:44','A06A01','A06','leave_new','辞退','${flowconditionUtil.leaveType(BPM_FORM_KEY,id) == 0}'),('402881e56c6c0678016c6c512117002b','管理员','admin','2019-08-07 21:42:32','管理员','admin','2019-08-07 22:27:10','A06A01','A06','leave_new','主动离职','${flowconditionUtil.leaveType(BPM_FORM_KEY,id) == 1}');
  1412. ALTER TABLE `p_projecttask` CHANGE COLUMN `name` `name` VARCHAR(255) NULL DEFAULT NULL COMMENT '工作名称' ;
  1413. -- 离职申请 结束
  1414. ##t_s_depart加列
  1415. alter table t_s_depart add COLUMN parentdepartname VARCHAR(100);
  1416. alter table t_s_depart add COLUMN parentdepartdesc VARCHAR(100);
  1417. alter table t_s_depart add COLUMN glcname VARCHAR(100);
  1418. alter table t_s_depart add COLUMN glcdesc VARCHAR(100);
  1419. ##部门添加项目名称
  1420. update t_s_depart dp inner join(select dep2.org_code as orgcode, dep2.departname as name1, dep3.departname as parentname
  1421. from t_s_depart dep2 LEFT JOIN t_s_depart dep3 on dep3.id = dep2.parentdepartid ORDER BY dep2.org_code)
  1422. temp on dp.org_code = temp.orgcode set dp.parentdepartname = temp.parentname;
  1423. ##部门添加项目简称
  1424. update t_s_depart dp inner join(select dep2.org_code as orgcode, dep2.description as name1, dep3.description as parentname from t_s_depart dep2
  1425. LEFT JOIN t_s_depart dep3 on dep3.id = dep2.parentdepartid ORDER BY dep2.org_code) temp on dp.org_code = temp.orgcode set dp.parentdepartdesc= temp.parentname;
  1426. ##部门添加管理处名称
  1427. update t_s_depart dp inner join(select dep2.org_code as orgcode, dep2.departname as name1, dep3.departname as parentname from t_s_depart dep2
  1428. LEFT JOIN t_s_depart dep3 on dep3.id = dep2.parentdepartid ORDER BY dep2.org_code) temp on dp.org_code = temp.orgcode set dp.glcname = temp.parentname where LENGTH(dp.org_code) = 9;
  1429. update t_s_depart dp inner join(select dep2.org_code as orgcode, dep2.departname as name1, dep3.departname as parentname from t_s_depart dep2
  1430. LEFT JOIN t_s_depart dep3 on dep3.id = dep2.parentdepartid ORDER BY dep2.org_code) temp on dp.org_code = temp.orgcode set dp.glcname = dp.departname where LENGTH(dp.org_code) = 6;
  1431. update t_s_depart dp inner join(select dep2.org_code as orgcode, dep2.departname as name1, dep3.departname as parentname from t_s_depart dep2
  1432. LEFT JOIN t_s_depart dep3 on dep3.id = dep2.parentdepartid ORDER BY dep2.org_code) temp on dp.org_code = temp.orgcode set dp.glcname = dp.departname where LENGTH(dp.org_code) = 3;
  1433. ##部门添加管理处简称
  1434. update t_s_depart dp inner join(select dep2.org_code as orgcode, dep2.description as name1, dep3.description as parentname from t_s_depart dep2
  1435. LEFT JOIN t_s_depart dep3 on dep3.id = dep2.parentdepartid ORDER BY dep2.org_code) temp on dp.org_code = temp.orgcode set dp.glcdesc= temp.parentname where LENGTH(dp.org_code) = 9;
  1436. update t_s_depart dp inner join(select dep2.org_code as orgcode, dep2.description as name1, dep3.description as parentname from t_s_depart dep2
  1437. LEFT JOIN t_s_depart dep3 on dep3.id = dep2.parentdepartid ORDER BY dep2.org_code) temp on dp.org_code = temp.orgcode set dp.glcdesc= dp.description where LENGTH(dp.org_code) = 6;
  1438. update t_s_depart dp inner join(select dep2.org_code as orgcode, dep2.description as name1, dep3.description as parentname from t_s_depart dep2
  1439. LEFT JOIN t_s_depart dep3 on dep3.id = dep2.parentdepartid ORDER BY dep2.org_code) temp on dp.org_code = temp.orgcode set dp.glcdesc= dp.description where LENGTH(dp.org_code) = 3;
  1440. #维保单
  1441. alter table t_b_maintain_plan_times add servicetimeend datetime(0);
  1442. ALTER TABLE t_b_maintain_plan_times CHANGE servicetime servicetimestart datetime(0);
  1443. ALTER TABLE t_b_maintain_bill add `paymentid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '付款申请';
  1444. ALTER TABLE p_taskresult
  1445. ADD COLUMN `qualityScore` int(5) NULL DEFAULT NULL,
  1446. ADD COLUMN `efficiencyScore` int(5) NULL DEFAULT NULL,
  1447. ADD COLUMN `attitudeScore` int(5) NULL DEFAULT NULL,
  1448. ADD COLUMN `skillsScore` int(5) NULL DEFAULT NULL,
  1449. ADD COLUMN `taskObjectScore` int(5) NULL DEFAULT NULL,
  1450. ADD COLUMN `reviewScore` int(5) NULL DEFAULT NULL;
  1451. ##增加合同报表菜单
  1452. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('8aa501826c750926016c750d2ea30001', NULL, 1, '成本和物业费收入实时表', '40', 'contractReportsController.do?projectSaleAndCostLiveRptDemo', '402882f0699a210a01699a23ff6f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-08-09 14:24:54', NULL);
  1453. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('40289fbd6c73eec0016c7406da110001', NULL, 1, '维保费用类型统计', '35', 'contractReportsController.do?contractServiceByTypeRpt', '402882f0699a210a01699a23ff6f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-08-09 09:38:22', NULL);
  1454. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402883836c759b36016c759d89070001', NULL, 1, '销售合同执行表', '45', 'contractReportsController.do?contractSaleExecuteRpt', '402882f0699a210a01699a23ff6f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-08-09 17:02:34', NULL);
  1455. ##人力资源基础库新增数据字典
  1456. INSERT INTO `t_s_typegroup` VALUES ('40289f0e6c6b0267016c6b10d42d0003', 'techangType', '特长类型', '2019-08-07 15:52:41', '管理员');
  1457. INSERT INTO `t_s_typegroup` VALUES ('40289f0e6c6b0267016c6b5cfdad0018', 'trainType', '培训类型', '2019-08-07 17:15:52', '管理员');
  1458. INSERT INTO `t_s_typegroup` VALUES ('40289f0e6c6b0267016c6b6842f00021', 'eventType', '员工事件类型', '2019-08-07 17:28:11', '管理员');
  1459. INSERT INTO `t_s_typegroup` VALUES ('402883886c7abe77016c83bef7790001', 'workType', '工作类型', '2019-08-12 10:53:46', '管理员');
  1460. INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b1207d40005', 'qiangdian', '强电', null, '40289f0e6c6b0267016c6b10d42d0003', '2019-08-07 15:54:00', '管理员');
  1461. INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b1230aa0007', 'ruodian', '弱电', null, '40289f0e6c6b0267016c6b10d42d0003', null, null);
  1462. INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b12a3a00009', 'office', '办公软件', null, '40289f0e6c6b0267016c6b10d42d0003', null, null);
  1463. INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b1379cd000c', 'gedou', '擒拿格斗', null, '40289f0e6c6b0267016c6b10d42d0003', '2019-08-07 15:55:34', '管理员');
  1464. INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b13f13b000e', 'dianqiweixiu', '电器维修', null, '40289f0e6c6b0267016c6b10d42d0003', '2019-08-07 15:56:05', '管理员');
  1465. INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b1493740010', 'yingbin', '迎宾礼仪', null, '40289f0e6c6b0267016c6b10d42d0003', '2019-08-07 15:56:46', '管理员');
  1466. INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b5d4ea0001a', 'neibuTrain', '内部培训', null, '40289f0e6c6b0267016c6b5cfdad0018', '2019-08-07 17:16:13', '管理员');
  1467. INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b5daf55001c', 'paibuTrain', '外部培训', null, '40289f0e6c6b0267016c6b5cfdad0018', '2019-08-07 17:16:38', '管理员');
  1468. INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b69120a0023', 'neibujiajiang', '内部嘉奖', null, '40289f0e6c6b0267016c6b6842f00021', '2019-08-07 17:29:04', '管理员');
  1469. INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b6956710025', 'yezhubaojiang', '业主褒奖', null, '40289f0e6c6b0267016c6b6842f00021', '2019-08-07 17:29:21', '管理员');
  1470. INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b6998130027', 'neibuchufa', '内部处罚', null, '40289f0e6c6b0267016c6b6842f00021', '2019-08-07 17:29:38', '管理员');
  1471. INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b69e6dc0029', 'waibutousu', '外部投诉', null, '40289f0e6c6b0267016c6b6842f00021', '2019-08-07 17:29:58', '管理员');
  1472. INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b6a2659002b', 'waibuchufa', '外部处罚', null, '40289f0e6c6b0267016c6b6842f00021', '2019-08-07 17:30:14', '管理员');
  1473. INSERT INTO `t_s_type` VALUES ('40289f0e6c83c0ca016c83c1cc6f0000', 'neiqin', '内勤文员', null, '402883886c7abe77016c83bef7790001', '2019-08-12 10:56:52', '管理员');
  1474. INSERT INTO `t_s_type` VALUES ('40289f0e6c83c0ca016c83c792270003', 'baoanManage', '保安主管', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:03:10', '管理员');
  1475. INSERT INTO `t_s_type` VALUES ('40289f0e6c83c84a016c83ca00930001', 'baojieManage', '保洁主管', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:05:49', '管理员');
  1476. INSERT INTO `t_s_type` VALUES ('40289f0e6c83c84a016c83ca54ab0003', 'lvhuaManage', '绿化主管', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:06:11', '管理员');
  1477. INSERT INTO `t_s_type` VALUES ('40289f0e6c83c84a016c83caaba70005', 'gongchengManage', '工程主管', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:06:33', '管理员');
  1478. INSERT INTO `t_s_type` VALUES ('40289f0e6c83c84a016c83cb2bbe0007', 'gongcheng', '工程', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:07:06', '管理员');
  1479. INSERT INTO `t_s_type` VALUES ('40289f0e6c83c84a016c83cb5e400009', 'baoan', '保安', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:07:19', '管理员');
  1480. INSERT INTO `t_s_type` VALUES ('40289f0e6c83c84a016c83cb86db000b', 'baojie', '保洁', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:07:29', '管理员');
  1481. INSERT INTO `t_s_type` VALUES ('40289f0e6c83c84a016c83cbafbf000d', 'lvhua', '绿化', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:07:40', '管理员');
  1482. ##人力资源基础库查询菜单
  1483. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402883886c79decc016c79fcbfe20013', NULL, 1, '按关键事件查询', '35', 'dbQueryUserController.do?queryByUserEventList', '402883886c79decc016c79e5b45f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-8-10 13:25:03', NULL);
  1484. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402883886c79decc016c79fc0f7c0011', NULL, 1, '按从业经验查询', '30', 'dbQueryUserController.do?queryByWorkExperList', '402883886c79decc016c79e5b45f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-8-10 13:24:18', NULL);
  1485. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402883886c79decc016c79fb5f44000f', NULL, 1, '按户口属性查询', '25', 'dbQueryUserController.do?queryByHukouList', '402883886c79decc016c79e5b45f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-8-10 13:23:33', NULL);
  1486. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402883886c79decc016c79e86ad4000d', NULL, 1, '按户籍地查询', '20', 'dbQueryUserController.do?queryByHujidiList', '402883886c79decc016c79e5b45f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-8-10 13:02:51', NULL);
  1487. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402883886c79decc016c79e7f5e7000b', NULL, 1, '按性别查询', '15', 'dbQueryUserController.do?queryByGenderList', '402883886c79decc016c79e5b45f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-8-10 13:02:21', NULL);
  1488. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402883886c79decc016c79e792210009', NULL, 1, '按学历查询', '10', 'dbQueryUserController.do?queryByEduList', '402883886c79decc016c79e5b45f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-8-10 15:17:55', '2019-8-10 13:01:55', '管理员');
  1489. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402883886c79decc016c79e73b640007', NULL, 1, '按证书查询', '5', 'dbQueryUserController.do?queryByCertList', '402883886c79decc016c79e5b45f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-8-10 13:01:33', NULL);
  1490. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402883886c79decc016c79e66f2d0004', NULL, 1, '按年龄查询', '0', 'dbQueryUserController.do?queryByAgeList', '402883886c79decc016c79e5b45f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-8-10 13:00:41', NULL);
  1491. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402883886c79decc016c79e5b45f0001', NULL, 0, '人力基础库查询', '10', '', NULL, '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-8-10 13:01:10', '2019-8-10 12:59:53', '管理员');
  1492. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816c246e89016c3bc189ed785e', NULL, 1, '在线Form', '20', 'cgFormHeadController.do?cgFormHeadList', '8a8ab0b246dc81120146dc8180d2001a', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, 'cube', 'admin', '管理员', NULL, NULL, '2019-7-29 11:23:55', NULL);
  1493. ##给闵总发报表消息定时任务
  1494. INSERT INTO `t_s_timetask`(`ID`, `CREATE_BY`, `CREATE_DATE`, `CREATE_NAME`, `CRON_EXPRESSION`, `IS_EFFECT`, `IS_START`, `TASK_DESCRIBE`, `TASK_ID`, `UPDATE_BY`, `UPDATE_DATE`, `UPDATE_NAME`, `CLASS_NAME`, `RUN_SERVER_IP`, `RUN_SERVER`) VALUES ('31222222641238170164a17a11333116', 'admin', '2018-07-16 13:05:21', '管理员', '0 20 1 1 * ? *', '0', '0', '每月1日1:40 给闵总发送运营报表', 'contractPushRptTask', 'admin', '2018-08-08 15:25:29', '管理员', 'cn.com.lzt.contractreports.task.ContractPushRptTask', '127.0.0.1', '127.0.0.1:8080/hgl');
  1495. ##供方服务任务列表
  1496. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402880eb6c2ce171016c2ce6a04f0001', NULL, 1, '供方服务任务', '20', 'projecttaskController.do?list&type=maintainbill', '2c9358a8675e222b01676e1d8b7f0011', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-07-26 14:10:08', NULL);
  1497. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402847ea6c2bb923016c2be4d3940005', NULL, 1, '供方服务单', '20', 'maintainBillController.do?list', 'ff8080816ae2c23c016ae2c32f110001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-07-26 09:28:32', NULL);
  1498. ## 新增消息通知类型 报名通知
  1499. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402881e56c88c466016c88cfaa260001','sign_up','报名通知',NULL,'402881e56ae35114016ae35ccf860002','2019-08-13 10:30:07','管理员');
  1500. ## 合同付款增加金额拆分字段
  1501. alter table t_b_contract_payment
  1502. add column `periodbegin` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物业费起始月度',
  1503. add column `periodend` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物业费截止月度',
  1504. add column `c2cpayment` double(20, 2) NULL DEFAULT NULL COMMENT '本年付本年',
  1505. add column `c2npayment` double(20, 2) NULL DEFAULT NULL COMMENT '本年付下年',
  1506. add column `c2lpayment` double(20, 2) NULL DEFAULT NULL COMMENT '本年付上年';
  1507. ##增加报表:离职预警
  1508. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('40289fbd6c943920016c944714290001', NULL, 1, '离职预警报表', '7', 'commonReportController.do?leaveWarnRpt', '4028e4a55ec173a1015ec1b862b20058', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-08-15 15:56:22', NULL);
  1509. INSERT INTO `t_s_timetask`(`ID`, `CREATE_BY`, `CREATE_DATE`, `CREATE_NAME`, `CRON_EXPRESSION`, `IS_EFFECT`, `IS_START`, `TASK_DESCRIBE`, `TASK_ID`, `UPDATE_BY`, `UPDATE_DATE`, `UPDATE_NAME`, `CLASS_NAME`, `RUN_SERVER_IP`, `RUN_SERVER`) VALUES ('3122222264abcd170164a17a11333116', 'admin', '2018-07-16 13:05:21', '管理员', '0 20 1 1 * ? *', '0', '0', '每月1日1:40 给闵总发送预算预警', 'projectCostWarnRptPushTask', 'admin', '2018-08-08 15:25:29', '管理员', 'cn.com.lzt.contractreports.task.ProjectCostWarnRptPushTask', '127.0.0.1', '127.0.0.1:8080/hgl');
  1510. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402883836c9efef6016c9f00b8790001', NULL, 1, '人力资源黑名单', '99', 'userActivitiController.do?userblackList', '4028e4a55ec173a1015ec1b44f270036', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-08-17 17:55:20', NULL);
  1511. INSERT INTO `t_s_typegroup` (`ID`,`typegroupcode`,`typegroupname`,`create_date`,`create_name`) VALUES ('402880ed6ca8c551016ca90fdac4000e','jiaojin','缴金','2019-08-19 16:48:04','管理员');
  1512. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402880ed6ca8c551016ca910532c0010','no','协议人员不缴金',NULL,'402880ed6ca8c551016ca90fdac4000e','2019-08-19 16:48:35','管理员');
  1513. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402880ed6ca8c551016ca910869c0012','shanghai','上海缴金',NULL,'402880ed6ca8c551016ca90fdac4000e','2019-08-19 16:48:48','管理员');
  1514. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402880ed6ca8c551016ca910b3a10014','other','其它缴金',NULL,'402880ed6ca8c551016ca90fdac4000e','2019-08-19 16:49:00','管理员');
  1515. INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402880ed6ca8c551016ca91105fb0016','other_way','其它方式',NULL,'402880ed6ca8c551016ca90fdac4000e','2019-08-19 16:49:21','管理员');
  1516. #消息接口支持自定义微信模板
  1517. ALTER TABLE `m_message`
  1518. ADD COLUMN `wx_template_config` VARCHAR(500) NULL COMMENT '微信模板配置' AFTER `api_viewer`,
  1519. ADD COLUMN `url` VARCHAR(255) NULL COMMENT '跳转url' AFTER `wx_template_config`;
  1520. ALTER TABLE `m_personal_message`
  1521. ADD COLUMN `first_read_time` TIMESTAMP NULL AFTER `create_by`;
  1522. ## 物料二期 begin
  1523. INSERT INTO `t_p_processnode`(`id`, `formid`, `processid`, `processnodecode`, `processnodename`, `modelandview`, `modelandview_mobile`, `node_timeout`, `pnodecofigid`, `pushmode`, `delete_flag`) VALUES ('000000006d67312d016d6732b9b10001', NULL, 'ff80808166106df50166139dcb3709f4', 'task1569394410950', '工程物料负责人审批', 'ordersController.do?goUpdateWithProcess', 'ordersController.do?goUpdateWithProcess', NULL, 'ff80808166106df5016613962f7e0800', 'no', '0');
  1524. ## 入库
  1525. CREATE TABLE `t_b_storage_in` (
  1526. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1527. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  1528. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  1529. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  1530. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  1531. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  1532. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  1533. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  1534. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  1535. `indate` datetime(0) NULL DEFAULT NULL COMMENT '入库日期',
  1536. `user` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '核实人',
  1537. `porderid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '采购单',
  1538. `warehouseid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点',
  1539. `warehousename` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点',
  1540. `porderdate` datetime(0) NULL DEFAULT NULL COMMENT '采购日期',
  1541. `status` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '单据状态',
  1542. `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
  1543. `deptid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部门',
  1544. `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程',
  1545. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  1546. `step_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '当前审批节点',
  1547. `remark` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  1548. PRIMARY KEY (`id`) USING BTREE
  1549. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
  1550. CREATE TABLE `t_b_storage_in_detail` (
  1551. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1552. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  1553. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  1554. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  1555. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  1556. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  1557. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  1558. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  1559. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  1560. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  1561. `inid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '入库单id',
  1562. `goods_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品id',
  1563. `porderid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '采购单',
  1564. `porderdetailid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '采购单明细',
  1565. `quantity_order` double NULL DEFAULT NULL COMMENT '采购数量',
  1566. `quantity_not_arrived` double NULL DEFAULT NULL COMMENT '未到货数量',
  1567. `quantity_in` double NULL DEFAULT NULL COMMENT '本次到货数量',
  1568. `measure_unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '计量单位',
  1569. `base_unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '基本单位',
  1570. `quantity_in_base` double NULL DEFAULT NULL COMMENT '到货基本单位数量',
  1571. `conversion` int(11) NULL DEFAULT NULL COMMENT '换算率',
  1572. `pnumber` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品编码',
  1573. `pname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品名称',
  1574. `spec_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '规格型号',
  1575. `remark` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  1576. `supplier_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
  1577. `supplier_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
  1578. PRIMARY KEY (`id`) USING BTREE
  1579. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
  1580. CREATE TABLE `t_b_storage_out` (
  1581. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1582. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  1583. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  1584. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  1585. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  1586. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  1587. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  1588. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  1589. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  1590. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  1591. `warehousename` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点名称',
  1592. `outdate` datetime(0) NULL DEFAULT NULL COMMENT '出库日期',
  1593. `warehouseid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点',
  1594. `deptid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  1595. `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属项目',
  1596. `user` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料人',
  1597. `status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '提交状态',
  1598. `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程id',
  1599. `step_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审批当前阶段',
  1600. `remark` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  1601. PRIMARY KEY (`id`) USING BTREE
  1602. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
  1603. CREATE TABLE `t_b_storage_out_detail` (
  1604. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1605. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  1606. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  1607. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  1608. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  1609. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  1610. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  1611. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  1612. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  1613. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  1614. `goods_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品',
  1615. `pname` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品名称',
  1616. `spec_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '规格型号',
  1617. `pnumber` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品编码',
  1618. `measure_unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '计量单位',
  1619. `quantity_out` double NULL DEFAULT NULL COMMENT '出库数量',
  1620. `warehouseid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '仓库id',
  1621. `base_unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '基本计量单位',
  1622. `conversion` double NULL DEFAULT NULL COMMENT '换算率',
  1623. `quantity_out_base` double NULL DEFAULT NULL COMMENT '基本单位数量',
  1624. `outid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '出库单id',
  1625. `remark` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  1626. `categorycode` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品分类编码',
  1627. `categoryname` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品分类',
  1628. PRIMARY KEY (`id`) USING BTREE
  1629. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
  1630. CREATE TABLE `t_b_onhand` (
  1631. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'id',
  1632. `warehouse_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '仓库id',
  1633. `goods_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品id',
  1634. `measure_unit` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
  1635. `quantity` double NULL DEFAULT NULL COMMENT '数量',
  1636. `remark` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  1637. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '制单人',
  1638. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '制单人',
  1639. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '制单日期',
  1640. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '修改人',
  1641. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '修改人',
  1642. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '修改日期',
  1643. `spec_type` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '规格型号',
  1644. PRIMARY KEY (`id`) USING BTREE,
  1645. INDEX `warehouse`(`warehouse_id`) USING BTREE,
  1646. INDEX `wareandgoods`(`warehouse_id`, `goods_id`) USING BTREE
  1647. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '现存量表' ROW_FORMAT = Compact;
  1648. INSERT INTO `t_s_timetask`(`ID`, `CREATE_BY`, `CREATE_DATE`, `CREATE_NAME`, `CRON_EXPRESSION`, `IS_EFFECT`, `IS_START`, `TASK_DESCRIBE`, `TASK_ID`, `UPDATE_BY`, `UPDATE_DATE`, `UPDATE_NAME`, `CLASS_NAME`, `RUN_SERVER_IP`, `RUN_SERVER`) VALUES ('31222222641238170164a17a10981116', 'admin', '2018-07-16 13:05:21', '管理员', '0 0 9 1 * ? *', '0', '0', '每月1日9:00 提醒采购部上月未提交物料领用单的领料点', 'noStorageOutAlert', 'admin', '2018-08-08 15:25:29', '管理员', 'cn.com.lzt.storage.timetask.NoStorageOutAlert', '127.0.0.1', '127.0.0.1:8080/hgl');
  1649. INSERT INTO `t_s_timetask`(`ID`, `CREATE_BY`, `CREATE_DATE`, `CREATE_NAME`, `CRON_EXPRESSION`, `IS_EFFECT`, `IS_START`, `TASK_DESCRIBE`, `TASK_ID`, `UPDATE_BY`, `UPDATE_DATE`, `UPDATE_NAME`, `CLASS_NAME`, `RUN_SERVER_IP`, `RUN_SERVER`) VALUES ('31222222641238170164a17a16541116', 'admin', '2018-07-16 13:05:21', '管理员', '0 0 9 10 * ? *', '0', '0', '单月10日9:00 提醒采购部未完成全部入库的领料点', 'noStorageInAlert', 'admin', '2018-08-08 15:25:29', '管理员', 'cn.com.lzt.storage.timetask.NoStorageInAlert', '127.0.0.1', '127.0.0.1:8080/hgl');
  1650. #绿色通道签报 start
  1651. CREATE TABLE `t_bus_activiti_green` (
  1652. `id` varchar(36) NOT NULL,
  1653. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  1654. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  1655. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1656. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  1657. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  1658. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1659. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  1660. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  1661. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  1662. `create_depart` varchar(32) DEFAULT NULL COMMENT '部门',
  1663. `content` longtext COMMENT '签报内容',
  1664. `proc_inst_id` varchar(64) DEFAULT NULL,
  1665. `step_name` varchar(50) DEFAULT NULL,
  1666. PRIMARY KEY (`id`)
  1667. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1668. CREATE TABLE `t_bus_activiti_green_detail` (
  1669. `id` varchar(36) NOT NULL,
  1670. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  1671. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  1672. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1673. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  1674. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  1675. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1676. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  1677. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  1678. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  1679. `green_id` varchar(32) DEFAULT NULL COMMENT '主表id',
  1680. `depart` varchar(32) DEFAULT NULL COMMENT '处理部门',
  1681. `descn` longtext COMMENT '任务说明',
  1682. `end_time` datetime DEFAULT NULL COMMENT '截止时间',
  1683. PRIMARY KEY (`id`)
  1684. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1685. INSERT INTO `t_s_type` VALUES ('402881e56d3effb1016d3f4d7dc80003','green','绿色通道',NULL,'402889fe47eddd340147ede15c070001','2019-09-17 20:58:26','管理员'),('402881e56d48765f016d48789c8c0002','green','绿色通道签报',NULL,'4028819b65a8b81c0165a9182bee0015','2019-09-19 15:42:07','管理员');
  1686. INSERT INTO `t_s_function` (`ID`,`functioniframe`,`functionlevel`,`functionname`,`functionorder`,`functionurl`,`parentfunctionid`,`iconid`,`desk_iconid`,`functiontype`,`function_icon_style`,`create_by`,`create_name`,`update_by`,`update_date`,`create_date`,`update_name`) VALUES ('402881e56dc9460b016dc94749800001',NULL,0,'签报管理','61','',NULL,'8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-10-14 15:59:15',NULL);
  1687. INSERT INTO `t_s_function` (`ID`,`functioniframe`,`functionlevel`,`functionname`,`functionorder`,`functionurl`,`parentfunctionid`,`iconid`,`desk_iconid`,`functiontype`,`function_icon_style`,`create_by`,`create_name`,`update_by`,`update_date`,`create_date`,`update_name`) VALUES ('402881e56dc9460b016dc947bd800003',NULL,1,'绿色通道','1','tBusActivitiGreenController.do?list','402881e56dc9460b016dc94749800001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-10-14 15:59:45',NULL);
  1688. INSERT INTO `p_activiti_task` VALUES ('402881e56d48765f016d487992410004','管理员','admin','2019-09-19 15:43:10',NULL,NULL,NULL,'A06A01','A06','1','绿色通道签报','402881e56d3effb1016d3f548a990005','绿色通道签报',1,'day','offline','pc','#','00000000610f6b0d01610f6e02430005','定时任务管理员',10,'com.xcgl.activititask.util.impl.GreenActivitiTaskHandler',0,'green','not_check');
  1689. INSERT INTO `t_p_process` VALUES ('402881e56d3effb1016d3f548a990005','green',NULL,'绿色通道签报',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1568725112704\" name=\"绿色通道签报\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n \r\n <activiti:executionListener id=\"402881e56c035875016c03a921af0032\" event=\"end\" class=\"cn.com.lzt.workflow.listener.task.ActivitiTaskListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1568725129983\" name=\"项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1568725172327\" name=\"总经办\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <userTask id=\"task1568725255249\" name=\"总经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <userTask id=\"task1568725336046\" name=\"总经办指派任务\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <userTask id=\"task1568725430991\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <sequenceFlow id=\"flow1568725309497\" name=\"\" sourceRef=\"start1\" targetRef=\"task1568725129983\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1568725313259\" name=\"通过\" sourceRef=\"task1568725129983\" targetRef=\"task1568725172327\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1568725315294\" name=\"通过\" sourceRef=\"task1568725172327\" targetRef=\"task1568725255249\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1568725362849\" name=\"通过\" sourceRef=\"task1568725255249\" targetRef=\"task1568725336046\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1568725381566\" name=\"通过\" sourceRef=\"task1568725336046\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1568725460993\" name=\"驳回\" sourceRef=\"task1568725172327\" targetRef=\"task1568725430991\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1568725481447\" name=\"驳回\" sourceRef=\"task1568725255249\" targetRef=\"task1568725430991\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1568725491859\" name=\"驳回\" sourceRef=\"task1568725129983\" targetRef=\"task1568725430991\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1568789569140\" name=\"\" sourceRef=\"task1568725430991\" targetRef=\"task1568725129983\">\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1568725112704\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1568725112704\" id=\"BPMNPlane_process1568725112704\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"377\" y=\"29\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"377\" y=\"603\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1568725129983\" id=\"BPMNShape_task1568725129983\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"347\" y=\"116\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1568725172327\" id=\"BPMNShape_task1568725172327\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"347\" y=\"246\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1568725255249\" id=\"BPMNShape_task1568725255249\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"347\" y=\"369\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1568725336046\" id=\"BPMNShape_task1568725336046\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"347\" y=\"491\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1568725430991\" id=\"BPMNShape_task1568725430991\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"168\" y=\"246\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1568725309497\" id=\"BPMNEdge_flow1568725309497\">\r\n <omgdi:waypoint x=\"392\" y=\"59\" />\r\n <omgdi:waypoint x=\"392\" y=\"111\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1568725313259\" id=\"BPMNEdge_flow1568725313259\">\r\n <omgdi:waypoint x=\"392\" y=\"171\" />\r\n <omgdi:waypoint x=\"392\" y=\"241\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1568725315294\" id=\"BPMNEdge_flow1568725315294\">\r\n <omgdi:waypoint x=\"392\" y=\"301\" />\r\n <omgdi:waypoint x=\"392\" y=\"364\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1568725362849\" id=\"BPMNEdge_flow1568725362849\">\r\n <omgdi:waypoint x=\"392\" y=\"424\" />\r\n <omgdi:waypoint x=\"392\" y=\"486\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1568725381566\" id=\"BPMNEdge_flow1568725381566\">\r\n <omgdi:waypoint x=\"392\" y=\"546\" />\r\n <omgdi:waypoint x=\"392\" y=\"603\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1568725460993\" id=\"BPMNEdge_flow1568725460993\">\r\n <omgdi:waypoint x=\"342\" y=\"271\" />\r\n <omgdi:waypoint x=\"263\" y=\"271\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1568725481447\" id=\"BPMNEdge_flow1568725481447\">\r\n <omgdi:waypoint x=\"342\" y=\"394\" />\r\n <omgdi:waypoint x=\"213\" y=\"394\" />\r\n <omgdi:waypoint x=\"213\" y=\"301\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1568725491859\" id=\"BPMNEdge_flow1568725491859\">\r\n <omgdi:waypoint x=\"342\" y=\"141\" />\r\n <omgdi:waypoint x=\"302\" y=\"141\" />\r\n <omgdi:waypoint x=\"302\" y=\"271\" />\r\n <omgdi:waypoint x=\"263\" y=\"271\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1568789569140\" id=\"BPMNEdge_flow1568789569140\">\r\n <omgdi:waypoint x=\"213\" y=\"241\" />\r\n <omgdi:waypoint x=\"213\" y=\"141\" />\r\n <omgdi:waypoint x=\"342\" y=\"141\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-09-19 15:43:41','admin','管理员','2019-09-17 21:06:08','admin','process1568725112704',1,'0',NULL);
  1690. INSERT INTO `t_p_processnode` VALUES ('402881e56d3effb1016d3f548ab90006',NULL,'402881e56d3effb1016d3f548a990005','task1568725129983','项目经理','tBusActivitiGreenController.do?goView&flag=3',' tBusActivitiGreenController.do?goViewMobile&flag=3',NULL,'402881e56d3effb1016d3f599bb0000b','no','0'),('402881e56d3effb1016d3f548ac60007',NULL,'402881e56d3effb1016d3f548a990005','task1568725172327','总经办','tBusActivitiGreenController.do?goView&flag=3',' tBusActivitiGreenController.do?goViewMobile&flag=3',NULL,'402881e56d3effb1016d3f599bb0000b','no','0'),('402881e56d3effb1016d3f548ad10008',NULL,'402881e56d3effb1016d3f548a990005','task1568725255249','总经理','tBusActivitiGreenController.do?goView&flag=3',' tBusActivitiGreenController.do?goViewMobile&flag=3',NULL,'402881e56d3effb1016d3f599bb0000b','no','0'),('402881e56d3effb1016d3f548adb0009',NULL,'402881e56d3effb1016d3f548a990005','task1568725336046','总经办指派任务','tBusActivitiGreenController.do?goView&flag=10','tBusActivitiGreenController.do?goViewMobile&flag=10',NULL,'402881e56d3effb1016d3f5aea1a0011','no','0'),('402881e56d3effb1016d3f548ae8000a',NULL,'402881e56d3effb1016d3f548a990005','task1568725430991','制单人重填','tBusActivitiGreenController.do?goView&flag=1','tBusActivitiGreenController.do?goViewMobile&flag=1',NULL,'402881e56d3effb1016d3f59f5f6000d','no','0');
  1691. INSERT INTO `t_p_processnode_config` VALUES ('402881e56d3effb1016d3f599bb0000b','green','审批','tBusActivitiGreenController.do?goView&flag=3',' tBusActivitiGreenController.do?goViewMobile&flag=3'),('402881e56d3effb1016d3f5aea1a0011','green','分配任务','tBusActivitiGreenController.do?goView&flag=10','tBusActivitiGreenController.do?goViewMobile&flag=10'),('402881e56d3effb1016d3f59f5f6000d','green','制单人重填','tBusActivitiGreenController.do?goView&flag=1','tBusActivitiGreenController.do?goViewMobile&flag=1');
  1692. INSERT INTO `t_s_busconfig` VALUES ('402881e56d3f7094016d3fa9bf9c000b',NULL,'online','','t_bus_activiti_green','402881e56d3effb1016d3f548a990005','绿色通道','formdeal','绿色通道','绿色通道','402881e56d3effb1016d3f5c44910013');
  1693. INSERT INTO `t_process_busconfig` VALUES ('402881e56d3effb1016d3f5c44910013','绿色通道','绿色通道','绿色通道','t_bus_activiti_green','green');
  1694. #绿色通道签报 end
  1695. #工程物料、服装管理
  1696. INSERT INTO `t_p_flowcondition`(`id`, `create_name`, `create_by`, `create_date`, `update_name`, `update_by`, `update_date`, `sys_org_code`, `sys_company_code`, `process_type`, `flow_text`, `flow_condition`) VALUES ('000000006d67312d016d6736f2260003', '管理员', 'admin', '2019-09-25 14:58:37', NULL, NULL, NULL, 'A06A01', 'A06', 'default', '申购单含有工程物料', '${flowconditionUtil.hasGongchengGoods(id) == 1}');
  1697. INSERT INTO `t_p_flowcondition`(`id`, `create_name`, `create_by`, `create_date`, `update_name`, `update_by`, `update_date`, `sys_org_code`, `sys_company_code`, `process_type`, `flow_text`, `flow_condition`) VALUES ('000000006d67312d016d6737a97c0005', '管理员', 'admin', '2019-09-25 14:59:24', '管理员', 'admin', '2019-09-25 14:59:39', 'A06A01', 'A06', 'default', '申购单不含工程物料', '${flowconditionUtil.hasGongchengGoods(id) == 0}');
  1698. INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('402886ac6db328cf016db34748cf002c', 'applyreason', '申请原因', '2019-10-10 09:27:36', '管理员');
  1699. INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8e5d74c001a', 'clothingtype', '服装款式', '2019-10-08 09:04:58', '管理员');
  1700. INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('8aa501826d701610016d70b4adb70044', 'usingstatus', '使用状态', '2019-09-27 11:12:32', '管理员');
  1701. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402886ac6db328cf016db3482d1b0032', '新人进入稳定期', '新人进入稳定期', NULL, '402886ac6db328cf016db34748cf002c', '2019-10-10 09:28:35', '管理员');
  1702. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402886ac6db328cf016db347e8cc0030', '到期', '到期', NULL, '402886ac6db328cf016db34748cf002c', '2019-10-10 09:28:17', '管理员');
  1703. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402886ac6db328cf016db347bb0d002e', '破损', '破损', NULL, '402886ac6db328cf016db34748cf002c', '2019-10-10 09:28:06', '管理员');
  1704. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402886ac6bd328cf016db347bb0d002e', '补领', '补领', NULL, '402886ac6db328cf016db34748cf002c', '2019-10-10 09:28:06', '管理员');
  1705. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da90892016da910566c0010', 'ding', '顶', NULL, 'ff80808166106df50166137889ae0244', '2019-10-08 09:51:23', '管理员');
  1706. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da90892016da91012a5000e', 'shuang', '双', NULL, 'ff80808166106df50166137889ae0244', '2019-10-08 09:51:06', '管理员');
  1707. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da90892016da90e1ef7000c', 'jian', '件', NULL, 'ff80808166106df50166137889ae0244', '2019-10-08 09:48:58', '管理员');
  1708. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8e9f6a10039', 'qt', '其他', NULL, '402882c06da8a9ed016da8e5d74c001a', '2019-10-08 09:09:28', '管理员');
  1709. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8e9bce80037', 'yh', '养护', NULL, '402882c06da8a9ed016da8e5d74c001a', '2019-10-08 09:09:14', '管理员');
  1710. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8e958130035', 'sg', '宿管', NULL, '402882c06da8a9ed016da8e5d74c001a', '2019-10-08 09:08:48', '管理员');
  1711. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8e922390033', 'bgsm', '办公室男', NULL, '402882c06da8a9ed016da8e5d74c001a', '2019-10-08 09:08:34', '管理员');
  1712. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8e8ec490031', 'bgsf', '办公室女', NULL, '402882c06da8a9ed016da8e5d74c001a', '2019-10-08 09:08:20', '管理员');
  1713. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8e891ff002f', 'hwm', '会务男', NULL, '402882c06da8a9ed016da8e5d74c001a', '2019-10-08 09:07:57', '管理员');
  1714. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8e86547002d', 'hwf', '会务女', NULL, '402882c06da8a9ed016da8e5d74c001a', '2019-10-08 09:07:46', '管理员');
  1715. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8e81ff7002b', 'gc', '工程', NULL, '402882c06da8a9ed016da8e5d74c001a', '2019-10-08 09:07:28', '管理员');
  1716. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8e7fc7d0029', 'bj', '保洁', NULL, '402882c06da8a9ed016da8e5d74c001a', '2019-10-08 09:07:19', '管理员');
  1717. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8e7d38e0027', 'tb', '特保', NULL, '402882c06da8a9ed016da8e5d74c001a', '2019-10-08 09:07:08', '管理员');
  1718. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8e74e530022', 'pbf', '普保女', NULL, '402882c06da8a9ed016da8e5d74c001a', '2019-10-08 09:06:34', '管理员');
  1719. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8e6210d001c', 'pbm', '普保男', NULL, '402882c06da8a9ed016da8e5d74c001a', NULL, NULL);
  1720. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8ea314a003b', 'dzgzf', '定制工作服', NULL, '402882c06da8a9ed016da8e5d74c001a', NULL, NULL);
  1721. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('8aa501826d701610016d70b549c0004a', '9', '已停用', NULL, '8aa501826d701610016d70b4adb70044', '2019-09-27 11:13:12', '管理员');
  1722. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('8aa501826d701610016d70b519a10048', '0', '闲置中', NULL, '8aa501826d701610016d70b4adb70044', '2019-09-27 11:13:00', '管理员');
  1723. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('8aa501826d701610016d70b4f5230046', '1', '使用中', NULL, '8aa501826d701610016d70b4adb70044', '2019-09-27 11:12:50', '管理员');
  1724. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028860b6db85ba5016db86821ad0001', 'clothingapply', '服装申领', NULL, '402889fe47eddd340147ede15c070001', NULL, NULL);
  1725. INSERT INTO `t_p_listener`(`id`, `listenereven`, `listenertype`, `listenervalue`, `listenername`, `listenerstate`, `typeid`, `processtype`) VALUES ('4028860b6db85ba5016db86919860004', 'end', 'javaClass', 'cn.com.lzt.common.listener.execution.ClothingApplyAuditEndListener', '服装申领结束监听', 1, 1, 'clothingapply');
  1726. CREATE TABLE `t_b_clothing` (
  1727. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1728. `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装名',
  1729. `code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装编码',
  1730. `type` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '款式',
  1731. `unit` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
  1732. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  1733. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  1734. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  1735. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  1736. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  1737. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  1738. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  1739. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  1740. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  1741. PRIMARY KEY (`id`) USING BTREE
  1742. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
  1743. CREATE TABLE `t_b_clothing_apply` (
  1744. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1745. `warehouseid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点',
  1746. `warehousename` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点',
  1747. `applydate` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请日期',
  1748. `departid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '组织机构',
  1749. `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
  1750. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  1751. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  1752. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  1753. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  1754. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  1755. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  1756. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  1757. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  1758. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  1759. `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程id',
  1760. `step_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审批阶段',
  1761. PRIMARY KEY (`id`) USING BTREE
  1762. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
  1763. CREATE TABLE `t_b_clothing_apply_detail` (
  1764. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1765. `applyid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请单id',
  1766. `userid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '员工',
  1767. `realname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '员工姓名',
  1768. `clothingid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装',
  1769. `clothingname` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装名称',
  1770. `type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装类型',
  1771. `quantity` int(11) NULL DEFAULT NULL COMMENT '数量',
  1772. `unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
  1773. `entrydate` datetime(0) NULL DEFAULT NULL COMMENT '入职日期',
  1774. `lastdate` datetime(0) NULL DEFAULT NULL COMMENT '上次申领日期',
  1775. `startdate` datetime(0) NULL DEFAULT NULL COMMENT '启用日期',
  1776. `applyreason` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请原因',
  1777. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  1778. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  1779. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  1780. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  1781. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  1782. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  1783. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  1784. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  1785. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  1786. PRIMARY KEY (`id`) USING BTREE
  1787. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
  1788. CREATE TABLE `t_b_clothing_onhand` (
  1789. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1790. `warehousename` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点名称',
  1791. `warehouseid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点id',
  1792. `clothingid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装id',
  1793. `clothingname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装名称',
  1794. `type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '款式',
  1795. `unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
  1796. `quantity` int(11) NULL DEFAULT NULL COMMENT '数量',
  1797. `usingstatus` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '使用状态',
  1798. `startdate` datetime(0) NULL DEFAULT NULL COMMENT '启用日期',
  1799. `exchangedate` datetime(0) NULL DEFAULT NULL COMMENT '预计更换日期',
  1800. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  1801. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  1802. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  1803. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  1804. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  1805. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  1806. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  1807. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  1808. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  1809. PRIMARY KEY (`id`) USING BTREE
  1810. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
  1811. CREATE TABLE `t_b_clothing_user` (
  1812. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1813. `clothingname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装名称',
  1814. `clothingid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装',
  1815. `userid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户',
  1816. `type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装类型',
  1817. `unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '计量单位',
  1818. `quantity` int(11) NULL DEFAULT NULL COMMENT '数量',
  1819. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  1820. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  1821. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  1822. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  1823. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  1824. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  1825. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  1826. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  1827. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  1828. `startdate` datetime(0) NULL DEFAULT NULL COMMENT '启用日期',
  1829. `warehouseid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  1830. `warehousename` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  1831. `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '1,使用中;0,已归还;9,已更换',
  1832. `sourcetype` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '1,领用申请;2,发放录入;3,归还 4,初始化',
  1833. `quantitystoped` int(10) NULL DEFAULT NULL COMMENT '停用数量数量',
  1834. `quantitykeeping` int(10) NULL DEFAULT NULL COMMENT '使用中数量',
  1835. `returndate` datetime(0) NULL DEFAULT NULL COMMENT '归还、更换日期',
  1836. PRIMARY KEY (`id`) USING BTREE
  1837. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
  1838. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402886ac6db4ce1f016db4cf8aba0001', NULL, 1, '服装领用查询', '40', 'clothingApplyController.do?listQry', 'ff80808166106df501661380b5fa0632', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-10-10 16:36:03', NULL);
  1839. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402886ac6db328cf016db34a1f090034', NULL, 1, '服装领用', '60', 'clothingApplyController.do?list', 'ff80808166106df50166137f135205c0', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-10-10 09:30:42', NULL);
  1840. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402882c06da90892016da90a72750004', NULL, 1, '项目服装存量', '50', 'clothingOnhandController.do?list', 'ff80808166106df501661380b5fa0632', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-10-08 09:44:57', NULL);
  1841. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402882c06da90892016da9098f680002', NULL, 1, '服装档案', '50', 'clothingController.do?list', 'ff80808166106df50166137ffa4c0605', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-10-08 09:43:59', NULL);
  1842. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402886f26d045621016d04666d520002', NULL, 1, '外包项目执行情况表', '50', 'contractReportsController.do?contractService4FinanceDeptRpt', '402882f0699a210a01699a23ff6f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-09-06 10:28:05', NULL);
  1843. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402884fc6cf6557c016cf659631d0005', NULL, 1, '物料领用查询', '17', 'storageOutController.do?listQry', 'ff80808166106df501661380b5fa0632', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-09-03 16:59:09', NULL);
  1844. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402884fc6cf6557c016cf658980c0002', NULL, 1, '采购单核对查询', '16', 'storageInController.do?listQry', 'ff80808166106df501661380b5fa0632', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-09-03 16:58:36', '2019-09-03 16:58:17', '管理员');
  1845. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('297e2dac6cf498b2016cf4e483360043', NULL, 1, '物料领用', '55', 'storageOutController.do?list', 'ff80808166106df50166137f135205c0', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-09-03 16:24:27', '2019-09-03 10:11:52', '管理员');
  1846. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402885046cf0dc02016cf0dd25b50001', NULL, 1, '现存量', '55', 'onhandController.do?list', 'ff80808166106df501661380b5fa0632', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-09-02 15:25:21', NULL);
  1847. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402880e46cead868016ceadb18f60001', NULL, 1, '采购单核对', '50', 'storageInController.do?list', 'ff80808166106df50166137f135205c0', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-09-01 11:25:23', NULL);
  1848. ##薪资体系sql
  1849. ##基本工资策略
  1850. DROP TABLE IF EXISTS `t_bus_base_wagestrategy`;
  1851. CREATE TABLE `t_bus_base_wagestrategy` (
  1852. `id` varchar(36) NOT NULL,
  1853. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  1854. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  1855. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1856. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  1857. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  1858. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1859. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  1860. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  1861. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  1862. `zone` varchar(36) DEFAULT NULL COMMENT '区域',
  1863. `money` double NOT NULL COMMENT '基本工资金额',
  1864. `description` varchar(200) DEFAULT NULL COMMENT '备注',
  1865. PRIMARY KEY (`id`)
  1866. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1867. ##-- ----------------------------
  1868. ##-- Records of t_bus_base_wagestrategy 2019年基本工资公司级
  1869. ##-- ----------------------------
  1870. INSERT INTO `t_bus_base_wagestrategy` VALUES ('402880056ddce685016ddce855a50001', '管理员', 'admin', '2019-10-18 11:27:57', null, null, null, 'A06A01', 'A06', '1', '', '2480', '公司2019年最低基本工资');
  1871. ##岗位津贴
  1872. ALTER TABLE `t_bus_post`
  1873. ADD COLUMN `money` double(16, 2) DEFAULT 0.00 COMMENT '岗位津贴';
  1874. ##1级职务津贴
  1875. ALTER TABLE `t_bus_wagestrategy`
  1876. ADD COLUMN `levelonesubsidy` double(16, 2) DEFAULT 0.00 COMMENT '1级职务津贴';
  1877. ALTER TABLE `t_bus_wagestrategy`
  1878. ADD COLUMN `leveltwosubsidy` double(16, 2) DEFAULT 0.00 COMMENT '2级职务津贴';
  1879. ALTER TABLE `t_bus_wagestrategy`
  1880. ADD COLUMN `levelthreesubsidy` double(16, 2) DEFAULT 0.00 COMMENT '3级职务津贴';
  1881. ALTER TABLE `t_bus_wagestrategy`
  1882. ADD COLUMN `zone` VARCHAR(36) NULL DEFAULT NULL COMMENT '区域';
  1883. ALTER TABLE `t_bus_wagestrategy`
  1884. ADD COLUMN `project` VARCHAR(36) NULL DEFAULT NULL COMMENT '项目';
  1885. ALTER TABLE `t_bus_wagestrategy`
  1886. ADD COLUMN `trafficsubsidy` double(16, 2) DEFAULT 0.00 COMMENT '交通补贴';
  1887. #餐费补贴
  1888. ALTER TABLE `t_bus_meals_subsidy`
  1889. ADD COLUMN `project` VARCHAR(36) NULL DEFAULT NULL COMMENT '项目';
  1890. ##公司级人才津贴
  1891. DROP TABLE IF EXISTS `t_bus_talent_subsidy_strategy`;
  1892. CREATE TABLE `t_bus_talent_subsidy_strategy` (
  1893. `id` varchar(36) NOT NULL,
  1894. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  1895. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  1896. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1897. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  1898. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  1899. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1900. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  1901. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  1902. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  1903. `factor` varchar(32) NOT NULL COMMENT '人才素质要素',
  1904. `money` double NOT NULL DEFAULT '0' COMMENT '默认金额',
  1905. `description` varchar(200) DEFAULT NULL COMMENT '说明',
  1906. `delete_flag` varchar(1) DEFAULT 0 COMMENT '逻辑删除标识',
  1907. PRIMARY KEY (`id`)
  1908. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1909. ##员工级人才津贴
  1910. DROP TABLE IF EXISTS `t_bus_user_talent_subsidy`;
  1911. CREATE TABLE `t_bus_user_talent_subsidy` (
  1912. `id` varchar(36) NOT NULL,
  1913. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  1914. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  1915. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1916. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  1917. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  1918. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1919. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  1920. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  1921. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  1922. `talent_strategy_id` varchar(36) NOT NULL COMMENT '公司级人才津贴设置',
  1923. `user_id` varchar(36) NOT NULL COMMENT '用户id',
  1924. `money` double NOT NULL DEFAULT '-1' COMMENT '员工级津贴金额',
  1925. `description` varchar(200) DEFAULT NULL COMMENT '说明',
  1926. `delete_flag` varchar(1) DEFAULT 0 COMMENT '逻辑删除标识',
  1927. PRIMARY KEY (`id`),
  1928. KEY `user_idi` (`user_id`)
  1929. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1930. ##缴金补贴策略
  1931. DROP TABLE IF EXISTS `t_bus_jiaojin_subsidy_strategy`;
  1932. CREATE TABLE `t_bus_jiaojin_subsidy_strategy` (
  1933. `id` varchar(36) NOT NULL,
  1934. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  1935. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  1936. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1937. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  1938. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  1939. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1940. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  1941. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  1942. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  1943. `name` varchar(100) NOT NULL COMMENT '名称',
  1944. `type` varchar(32) NOT NULL COMMENT '类型',
  1945. `refer` varchar(36) DEFAULT NULL COMMENT '引用对象',
  1946. `money` double DEFAULT NULL COMMENT '补贴金额',
  1947. `description` varchar(200) DEFAULT NULL COMMENT '说明',
  1948. PRIMARY KEY (`id`)
  1949. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1950. INSERT INTO `t_bus_jiaojin_subsidy_strategy` VALUES ('jj11111111111111111111', null, null, null, null, null, null, null, null, '1', '缴多少补多少(默认)', '0', null, null, '大多数一线员工,缴多少补多少(默认)');
  1951. INSERT INTO `t_bus_jiaojin_subsidy_strategy` VALUES ('jj22222222222222222222', null, null, null, null, null, null, null, null, '1', '无补贴', '1', null, null, '大多数管理处无缴金补贴');
  1952. #入职 平调 离职修改 开始
  1953. INSERT INTO `t_s_function` VALUES ('402881e56dd1f887016dd22d862a000d',NULL,1,'入职申请','1','userActivitiController.do?list','402881e56dc9460b016dc94749800001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-10-16 09:27:42',NULL),('402881e56dd1f887016dd22e2c470010',NULL,1,'调动申请','4','activitiSamelevelTransferController.do?list','402881e56dc9460b016dc94749800001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-10-16 09:29:28','2019-10-16 09:28:24','管理员'),('402881e56dd1f887016dd22e9a900012',NULL,1,'员工离职','10','activitiLeaveController.do?list','402881e56dc9460b016dc94749800001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-10-16 09:29:52','2019-10-16 09:28:53','管理员'),('402881e56dd1f887016dd22ed77e0014',NULL,1,'离职申请','7','activitiLeaveController.do?goUpdate&selfSubmit=1','402881e56dc9460b016dc94749800001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-10-16 09:29:38','2019-10-16 09:29:08','管理员');
  1954. INSERT INTO `t_p_flowcondition` VALUES ('402881e56da9f48e016daa18aabd0001','管理员','admin','2019-10-08 14:40:06',NULL,NULL,NULL,'A06A01','A06',NULL,'一线员工(职务)','${flowconditionUtil.deutiesType(BPM_FORM_KEY,id) == 1}'),('402881e56da9f48e016daa1a17000003','管理员','admin','2019-10-08 14:41:40','管理员','admin','2019-10-08 15:00:52','A06A01','A06',NULL,'部门专员(职务)','${flowconditionUtil.deutiesType(BPM_FORM_KEY,id) == 2}'),('402881e56da9f48e016daa1c09120005','管理员','admin','2019-10-08 14:43:47','管理员','admin','2019-10-08 14:44:31','A06A01','A06',NULL,'项目经理/部门经理(职务)','${flowconditionUtil.deutiesType(BPM_FORM_KEY,id) == 4}'),('402881e56da9f48e016daa1fc961000c','管理员','admin','2019-10-08 14:47:53',NULL,NULL,NULL,'A06A01','A06',NULL,'编制外','${flowconditionUtil.isOverNeedNum(BPM_FORM_KEY,id)}'),('402881e56da9f48e016daa1ff8b3000e','管理员','admin','2019-10-08 14:48:05',NULL,NULL,NULL,'A06A01','A06',NULL,'编制内','${!flowconditionUtil.isOverNeedNum(BPM_FORM_KEY,id)}'),('402881e56da9f48e016daa2bff830011','管理员','admin','2019-10-08 15:01:13','管理员','admin','2019-10-08 15:01:27','A06A01','A06',NULL,'项目主管及以上(职务)','${flowconditionUtil.deutiesType(BPM_FORM_KEY,id) == 3}');
  1955. #入职
  1956. delete from `t_p_processnode` where processid='402881e56c035875016c039570050028';
  1957. delete from `t_p_process` where id='402881e56c035875016c039570050028';
  1958. INSERT INTO `t_p_process` VALUES ('402881e56c035875016c039570050028','user_add',NULL,'员工入职',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1563428199466\" name=\"员工入职\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402881e56c0ddc27016c0ddedd9d0002\" event=\"end\" class=\"cn.com.lzt.useractiviti.workflow.listener.UserAddListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402881e56c035875016c03a921af0032\" event=\"end\" class=\"cn.com.lzt.workflow.listener.task.ActivitiTaskListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1563428462368\" name=\"项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1563715534675\" name=\"人事经理\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRJL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1563715685947\" name=\"总经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564708799720\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <userTask id=\"task1564710460811\" name=\"项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564710530195\" name=\"项目管理部编制管理专员\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_XMBGWFZR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564710549960\" name=\"人事专员\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRZL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1570519079062\" name=\"人事经理\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRJL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1570519103439\" name=\"人事分管副总\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_RSFZ\')}\" >\r\n </userTask>\r\n <userTask id=\"task1570519354442\" name=\"部门经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'GUARD\')}\" >\r\n </userTask>\r\n <userTask id=\"task1570519640328\" name=\"人事分管副总\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_RSFZ\')}\" >\r\n </userTask>\r\n <userTask id=\"task1570520325229\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <exclusiveGateway id=\"exclusiveGateway1564708784527\" name=\"驳回节点\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1564710266029\" name=\"exclusiveGateway1564710266029\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1564710368182\" name=\"exclusiveGateway1564710368182\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1564708816907\" name=\"exclusiveGateway1564708816907\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1570519276178\" name=\"exclusiveGateway1570519276178\">\r\n </exclusiveGateway>\r\n <sequenceFlow id=\"flow1564710277479\" name=\"\" sourceRef=\"start1\" targetRef=\"exclusiveGateway1564710266029\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564710403422\" name=\"\" sourceRef=\"exclusiveGateway1564710368182\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570518353126\" name=\"一线员工\" sourceRef=\"exclusiveGateway1564708816907\" targetRef=\"task1564710460811\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.deutiesType(BPM_FORM_KEY,id) == 1}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570518382741\" name=\"\" sourceRef=\"exclusiveGateway1564710266029\" targetRef=\"exclusiveGateway1564708816907\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570518638572\" name=\"通过\" sourceRef=\"task1564710460811\" targetRef=\"exclusiveGateway1564708784527\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570518641412\" name=\"编制内\" sourceRef=\"exclusiveGateway1564708784527\" targetRef=\"task1564710549960\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${!flowconditionUtil.isOverNeedNum(BPM_FORM_KEY,id)}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570518675001\" name=\"编制外\" sourceRef=\"exclusiveGateway1564708784527\" targetRef=\"task1564710530195\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isOverNeedNum(BPM_FORM_KEY,id)}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570518897363\" name=\"通过\" sourceRef=\"task1564710530195\" targetRef=\"task1564710549960\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570518914563\" name=\"通过\" sourceRef=\"task1564710549960\" targetRef=\"exclusiveGateway1564710368182\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570518938167\" name=\"项目主管及以上\" sourceRef=\"exclusiveGateway1564708816907\" targetRef=\"task1563428462368\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.deutiesType(BPM_FORM_KEY,id) == 3}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570519098550\" name=\"通过\" sourceRef=\"task1563428462368\" targetRef=\"task1570519079062\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570519222876\" name=\"通过\" sourceRef=\"task1570519079062\" targetRef=\"task1570519103439\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570519279633\" name=\"\" sourceRef=\"exclusiveGateway1564710266029\" targetRef=\"exclusiveGateway1570519276178\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570519363244\" name=\"部门专员\" sourceRef=\"exclusiveGateway1570519276178\" targetRef=\"task1570519354442\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.deutiesType(BPM_FORM_KEY,id) == 2}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570519454110\" name=\"通过\" sourceRef=\"task1570519354442\" targetRef=\"task1570519079062\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570519484841\" name=\"项目经理/部门经理\" sourceRef=\"exclusiveGateway1570519276178\" targetRef=\"task1563715534675\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.deutiesType(BPM_FORM_KEY,id) == 4}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570519599965\" name=\"\" sourceRef=\"task1563715685947\" targetRef=\"exclusiveGateway1564710368182\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570519621627\" name=\"通过\" sourceRef=\"task1570519103439\" targetRef=\"exclusiveGateway1564710368182\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570519643628\" name=\"\" sourceRef=\"task1563715534675\" targetRef=\"task1570519640328\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570519647574\" name=\"\" sourceRef=\"task1570519640328\" targetRef=\"task1563715685947\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570520135809\" name=\"驳回\" sourceRef=\"task1564710460811\" targetRef=\"task1564708799720\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570520145134\" name=\"\" sourceRef=\"task1564708799720\" targetRef=\"exclusiveGateway1564710266029\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570520157227\" name=\"驳回\" sourceRef=\"task1564710530195\" targetRef=\"task1564708799720\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570520163049\" name=\"驳回\" sourceRef=\"task1564710549960\" targetRef=\"task1564708799720\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570520168577\" name=\"驳回\" sourceRef=\"task1570519103439\" targetRef=\"task1564708799720\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570520175386\" name=\"驳回\" sourceRef=\"task1570519079062\" targetRef=\"task1564708799720\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570520182685\" name=\"驳回\" sourceRef=\"task1563428462368\" targetRef=\"task1564708799720\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570520334995\" name=\"驳回\" sourceRef=\"task1570519354442\" targetRef=\"task1570520325229\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570520343499\" name=\"驳回\" sourceRef=\"task1563715534675\" targetRef=\"task1570520325229\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570520355461\" name=\"驳回\" sourceRef=\"task1570519640328\" targetRef=\"task1570520325229\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570520359998\" name=\"驳回\" sourceRef=\"task1563715685947\" targetRef=\"task1570520325229\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570520382209\" name=\"\" sourceRef=\"task1570520325229\" targetRef=\"exclusiveGateway1564710266029\">\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1563428199466\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1563428199466\" id=\"BPMNPlane_process1563428199466\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"505\" y=\"14\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"547\" y=\"700\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1563428462368\" id=\"BPMNShape_task1563428462368\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"476\" y=\"202\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1563715534675\" id=\"BPMNShape_task1563715534675\">\r\n <omgdc:Bounds height=\"52\" width=\"92\" x=\"975\" y=\"219\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1563715685947\" id=\"BPMNShape_task1563715685947\">\r\n <omgdc:Bounds height=\"56\" width=\"90\" x=\"975\" y=\"516\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564708799720\" id=\"BPMNShape_task1564708799720\">\r\n <omgdc:Bounds height=\"50\" width=\"96\" x=\"334\" y=\"392\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564710460811\" id=\"BPMNShape_task1564710460811\">\r\n <omgdc:Bounds height=\"52\" width=\"91\" x=\"208\" y=\"208\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564710530195\" id=\"BPMNShape_task1564710530195\">\r\n <omgdc:Bounds height=\"63\" width=\"93\" x=\"95\" y=\"404\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564710549960\" id=\"BPMNShape_task1564710549960\">\r\n <omgdc:Bounds height=\"55\" width=\"94\" x=\"208\" y=\"495\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1570519079062\" id=\"BPMNShape_task1570519079062\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"476\" y=\"329\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1570519103439\" id=\"BPMNShape_task1570519103439\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"476\" y=\"448\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1570519354442\" id=\"BPMNShape_task1570519354442\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"738\" y=\"195\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1570519640328\" id=\"BPMNShape_task1570519640328\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"975\" y=\"361\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1570520325229\" id=\"BPMNShape_task1570520325229\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"827\" y=\"459\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1564708784527\" id=\"BPMNShape_exclusiveGateway1564708784527\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"233\" y=\"333\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1564710266029\" id=\"BPMNShape_exclusiveGateway1564710266029\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"500\" y=\"92\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1564710368182\" id=\"BPMNShape_exclusiveGateway1564710368182\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"501\" y=\"616\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1564708816907\" id=\"BPMNShape_exclusiveGateway1564708816907\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"371\" y=\"147\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1570519276178\" id=\"BPMNShape_exclusiveGateway1570519276178\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"851\" y=\"142\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710277479\" id=\"BPMNEdge_flow1564710277479\">\r\n <omgdi:waypoint x=\"520\" y=\"44\" />\r\n <omgdi:waypoint x=\"520\" y=\"92\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564710403422\" id=\"BPMNEdge_flow1564710403422\">\r\n <omgdi:waypoint x=\"521\" y=\"656\" />\r\n <omgdi:waypoint x=\"521\" y=\"678\" />\r\n <omgdi:waypoint x=\"562\" y=\"678\" />\r\n <omgdi:waypoint x=\"562\" y=\"700\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570518353126\" id=\"BPMNEdge_flow1570518353126\">\r\n <omgdi:waypoint x=\"371\" y=\"167\" />\r\n <omgdi:waypoint x=\"253\" y=\"167\" />\r\n <omgdi:waypoint x=\"253\" y=\"203\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570518382741\" id=\"BPMNEdge_flow1570518382741\">\r\n <omgdi:waypoint x=\"500\" y=\"112\" />\r\n <omgdi:waypoint x=\"391\" y=\"112\" />\r\n <omgdi:waypoint x=\"391\" y=\"147\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570518638572\" id=\"BPMNEdge_flow1570518638572\">\r\n <omgdi:waypoint x=\"253\" y=\"265\" />\r\n <omgdi:waypoint x=\"253\" y=\"299\" />\r\n <omgdi:waypoint x=\"253\" y=\"299\" />\r\n <omgdi:waypoint x=\"253\" y=\"333\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570518641412\" id=\"BPMNEdge_flow1570518641412\">\r\n <omgdi:waypoint x=\"253\" y=\"373\" />\r\n <omgdi:waypoint x=\"253\" y=\"431\" />\r\n <omgdi:waypoint x=\"255\" y=\"431\" />\r\n <omgdi:waypoint x=\"255\" y=\"490\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570518675001\" id=\"BPMNEdge_flow1570518675001\">\r\n <omgdi:waypoint x=\"233\" y=\"353\" />\r\n <omgdi:waypoint x=\"141\" y=\"353\" />\r\n <omgdi:waypoint x=\"141\" y=\"399\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570518897363\" id=\"BPMNEdge_flow1570518897363\">\r\n <omgdi:waypoint x=\"141\" y=\"472\" />\r\n <omgdi:waypoint x=\"141\" y=\"481\" />\r\n <omgdi:waypoint x=\"255\" y=\"481\" />\r\n <omgdi:waypoint x=\"255\" y=\"490\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570518914563\" id=\"BPMNEdge_flow1570518914563\">\r\n <omgdi:waypoint x=\"255\" y=\"555\" />\r\n <omgdi:waypoint x=\"255\" y=\"636\" />\r\n <omgdi:waypoint x=\"501\" y=\"636\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570518938167\" id=\"BPMNEdge_flow1570518938167\">\r\n <omgdi:waypoint x=\"411\" y=\"167\" />\r\n <omgdi:waypoint x=\"521\" y=\"167\" />\r\n <omgdi:waypoint x=\"521\" y=\"197\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570519098550\" id=\"BPMNEdge_flow1570519098550\">\r\n <omgdi:waypoint x=\"521\" y=\"257\" />\r\n <omgdi:waypoint x=\"521\" y=\"324\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570519222876\" id=\"BPMNEdge_flow1570519222876\">\r\n <omgdi:waypoint x=\"521\" y=\"384\" />\r\n <omgdi:waypoint x=\"521\" y=\"443\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570519279633\" id=\"BPMNEdge_flow1570519279633\">\r\n <omgdi:waypoint x=\"540\" y=\"112\" />\r\n <omgdi:waypoint x=\"871\" y=\"112\" />\r\n <omgdi:waypoint x=\"871\" y=\"142\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570519363244\" id=\"BPMNEdge_flow1570519363244\">\r\n <omgdi:waypoint x=\"851\" y=\"162\" />\r\n <omgdi:waypoint x=\"783\" y=\"162\" />\r\n <omgdi:waypoint x=\"783\" y=\"190\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570519454110\" id=\"BPMNEdge_flow1570519454110\">\r\n <omgdi:waypoint x=\"783\" y=\"250\" />\r\n <omgdi:waypoint x=\"783\" y=\"354\" />\r\n <omgdi:waypoint x=\"571\" y=\"354\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570519484841\" id=\"BPMNEdge_flow1570519484841\">\r\n <omgdi:waypoint x=\"891\" y=\"162\" />\r\n <omgdi:waypoint x=\"1021\" y=\"162\" />\r\n <omgdi:waypoint x=\"1021\" y=\"214\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570519599965\" id=\"BPMNEdge_flow1570519599965\">\r\n <omgdi:waypoint x=\"1020\" y=\"577\" />\r\n <omgdi:waypoint x=\"1020\" y=\"636\" />\r\n <omgdi:waypoint x=\"541\" y=\"636\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570519621627\" id=\"BPMNEdge_flow1570519621627\">\r\n <omgdi:waypoint x=\"521\" y=\"503\" />\r\n <omgdi:waypoint x=\"521\" y=\"616\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570519643628\" id=\"BPMNEdge_flow1570519643628\">\r\n <omgdi:waypoint x=\"1021\" y=\"276\" />\r\n <omgdi:waypoint x=\"1021\" y=\"316\" />\r\n <omgdi:waypoint x=\"1020\" y=\"316\" />\r\n <omgdi:waypoint x=\"1020\" y=\"356\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570519647574\" id=\"BPMNEdge_flow1570519647574\">\r\n <omgdi:waypoint x=\"1020\" y=\"416\" />\r\n <omgdi:waypoint x=\"1020\" y=\"511\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570520135809\" id=\"BPMNEdge_flow1570520135809\">\r\n <omgdi:waypoint x=\"304\" y=\"234\" />\r\n <omgdi:waypoint x=\"316\" y=\"234\" />\r\n <omgdi:waypoint x=\"316\" y=\"417\" />\r\n <omgdi:waypoint x=\"329\" y=\"417\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570520145134\" id=\"BPMNEdge_flow1570520145134\">\r\n <omgdi:waypoint x=\"382\" y=\"387\" />\r\n <omgdi:waypoint x=\"382\" y=\"72\" />\r\n <omgdi:waypoint x=\"520\" y=\"72\" />\r\n <omgdi:waypoint x=\"520\" y=\"92\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570520157227\" id=\"BPMNEdge_flow1570520157227\">\r\n <omgdi:waypoint x=\"193\" y=\"435\" />\r\n <omgdi:waypoint x=\"261\" y=\"435\" />\r\n <omgdi:waypoint x=\"261\" y=\"417\" />\r\n <omgdi:waypoint x=\"329\" y=\"417\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570520163049\" id=\"BPMNEdge_flow1570520163049\">\r\n <omgdi:waypoint x=\"307\" y=\"522\" />\r\n <omgdi:waypoint x=\"382\" y=\"522\" />\r\n <omgdi:waypoint x=\"382\" y=\"447\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570520168577\" id=\"BPMNEdge_flow1570520168577\">\r\n <omgdi:waypoint x=\"471\" y=\"473\" />\r\n <omgdi:waypoint x=\"453\" y=\"473\" />\r\n <omgdi:waypoint x=\"453\" y=\"417\" />\r\n <omgdi:waypoint x=\"435\" y=\"417\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570520175386\" id=\"BPMNEdge_flow1570520175386\">\r\n <omgdi:waypoint x=\"471\" y=\"354\" />\r\n <omgdi:waypoint x=\"453\" y=\"354\" />\r\n <omgdi:waypoint x=\"453\" y=\"417\" />\r\n <omgdi:waypoint x=\"435\" y=\"417\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570520182685\" id=\"BPMNEdge_flow1570520182685\">\r\n <omgdi:waypoint x=\"471\" y=\"227\" />\r\n <omgdi:waypoint x=\"453\" y=\"227\" />\r\n <omgdi:waypoint x=\"453\" y=\"417\" />\r\n <omgdi:waypoint x=\"435\" y=\"417\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570520334995\" id=\"BPMNEdge_flow1570520334995\">\r\n <omgdi:waypoint x=\"833\" y=\"220\" />\r\n <omgdi:waypoint x=\"872\" y=\"220\" />\r\n <omgdi:waypoint x=\"872\" y=\"454\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570520343499\" id=\"BPMNEdge_flow1570520343499\">\r\n <omgdi:waypoint x=\"970\" y=\"245\" />\r\n <omgdi:waypoint x=\"872\" y=\"245\" />\r\n <omgdi:waypoint x=\"872\" y=\"454\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570520355461\" id=\"BPMNEdge_flow1570520355461\">\r\n <omgdi:waypoint x=\"970\" y=\"386\" />\r\n <omgdi:waypoint x=\"872\" y=\"386\" />\r\n <omgdi:waypoint x=\"872\" y=\"454\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570520359998\" id=\"BPMNEdge_flow1570520359998\">\r\n <omgdi:waypoint x=\"970\" y=\"544\" />\r\n <omgdi:waypoint x=\"946\" y=\"544\" />\r\n <omgdi:waypoint x=\"946\" y=\"484\" />\r\n <omgdi:waypoint x=\"922\" y=\"484\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570520382209\" id=\"BPMNEdge_flow1570520382209\">\r\n <omgdi:waypoint x=\"822\" y=\"484\" />\r\n <omgdi:waypoint x=\"671\" y=\"484\" />\r\n <omgdi:waypoint x=\"671\" y=\"72\" />\r\n <omgdi:waypoint x=\"520\" y=\"72\" />\r\n <omgdi:waypoint x=\"520\" y=\"92\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-10-28 18:16:35','admin','管理员','2019-07-18 13:37:01','admin','process1563428199466',1,'0',NULL);
  1959. INSERT INTO `t_p_processnode` VALUES ('402881e56c035875016c03999857002f',NULL,'402881e56c035875016c039570050028','task1563428462368','项目经理','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56c148251016c14b87b570001',NULL,'402881e56c035875016c039570050028','task1563715534675','人事经理','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56c148251016c14b87b680002',NULL,'402881e56c035875016c039570050028','task1563715685947','总经理','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56c4d997d016c4fec48d00019',NULL,'402881e56c035875016c039570050028','task1564708799720','制单人重填','userActivitiController.do?goView&flag=1','userActivitiController.do?goViewMobile&flag=1',NULL,'402881e56c501ea5016c502714e20002','no','0'),('402881e56c4d997d016c50039bfe001e',NULL,'402881e56c035875016c039570050028','task1564710460811','项目经理','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56c4d997d016c500503b5001f',NULL,'402881e56c035875016c039570050028','task1564710530195','项目管理部编制管理专员','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56c4d997d016c500503be0020',NULL,'402881e56c035875016c039570050028','task1564710549960','人事专员','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56da9f48e016daa3d9c5c0014',NULL,'402881e56c035875016c039570050028','task1570519079062','人事经理','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56da9f48e016daa3d9c9b0015',NULL,'402881e56c035875016c039570050028','task1570519103439','人事分管副总','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56da9f48e016daa4130cb0016',NULL,'402881e56c035875016c039570050028','task1570519354442','部门经理','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56da9f48e016daa444dee0017',NULL,'402881e56c035875016c039570050028','task1570519640328','人事分管副总','userActivitiController.do?goView','userActivitiController.do?goViewMobile',NULL,'402881e56c035875016c03973481002c','no','0'),('402881e56da9f48e016daa4f45080018',NULL,'402881e56c035875016c039570050028','task1570520325229','制单人重填','userActivitiController.do?goView&flag=1','userActivitiController.do?goViewMobile&flag=1',NULL,'402881e56c501ea5016c502714e20002','no','0');
  1960. #平调
  1961. delete from `t_p_processnode` where processid='402881e56c4b2a04016c4c3aefc0000f';
  1962. delete from `t_p_process` where id='402881e56c4b2a04016c4c3aefc0000f';
  1963. INSERT INTO `t_p_process` VALUES ('402881e56c4b2a04016c4c3aefc0000f','samelevel_transfer_new',NULL,'人事平调流程',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1564646973707\" name=\"人事平调流程\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402881e56c4b2a04016c4c3c26e50011\" event=\"end\" class=\"cn.com.lzt.useractiviti.workflow.listener.SamelevelTransferListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402881e56c035875016c03a921af0032\" event=\"end\" class=\"cn.com.lzt.workflow.listener.task.ActivitiTaskListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1564646993364\" name=\"项目负责人\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'CREATE_SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564800725710\" name=\"调出方内勤\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'NQ\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564800954669\" name=\"调出方项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564801208482\" name=\"人事岗位编制管理专员\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_RSGWFZR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564801254395\" name=\"项目管理部岗位编制专员\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_XMBGWFZR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1564813703465\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <exclusiveGateway id=\"exclusiveGateway1570522613904\" name=\"exclusiveGateway1570522613904\">\r\n </exclusiveGateway>\r\n <sequenceFlow id=\"flow1564647013992\" name=\"\" sourceRef=\"start1\" targetRef=\"task1564646993364\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564801113806\" name=\"通过\" sourceRef=\"task1564646993364\" targetRef=\"task1564800725710\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564801134757\" name=\"通过\" sourceRef=\"task1564800725710\" targetRef=\"task1564800954669\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564801302817\" name=\"通过\" sourceRef=\"task1564800954669\" targetRef=\"exclusiveGateway1570522613904\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564801304605\" name=\"通过\" sourceRef=\"task1564801208482\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564801308342\" name=\"通过\" sourceRef=\"task1564801254395\" targetRef=\"task1564801208482\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564813759936\" name=\"驳回\" sourceRef=\"task1564646993364\" targetRef=\"task1564813703465\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564813774360\" name=\"驳回\" sourceRef=\"task1564800725710\" targetRef=\"task1564813703465\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564813781175\" name=\"驳回\" sourceRef=\"task1564800954669\" targetRef=\"task1564813703465\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564813792167\" name=\"驳回\" sourceRef=\"task1564801208482\" targetRef=\"task1564813703465\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564813798652\" name=\"驳回\" sourceRef=\"task1564801254395\" targetRef=\"task1564813703465\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1564813814405\" name=\"\" sourceRef=\"task1564813703465\" targetRef=\"task1564646993364\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570522676913\" name=\"编制内\" sourceRef=\"exclusiveGateway1570522613904\" targetRef=\"task1564801208482\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${!flowconditionUtil.isOverNeedNum(BPM_FORM_KEY,id)}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570522718764\" name=\"编制外\" sourceRef=\"exclusiveGateway1570522613904\" targetRef=\"task1564801254395\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isOverNeedNum(BPM_FORM_KEY,id)}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1564646973707\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1564646973707\" id=\"BPMNPlane_process1564646973707\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"245\" y=\"31\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"269\" y=\"346\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564646993364\" id=\"BPMNShape_task1564646993364\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"510\" y=\"21\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564800725710\" id=\"BPMNShape_task1564800725710\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"766\" y=\"21\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564800954669\" id=\"BPMNShape_task1564800954669\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"766\" y=\"154\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564801208482\" id=\"BPMNShape_task1564801208482\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"510\" y=\"479\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564801254395\" id=\"BPMNShape_task1564801254395\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"608\" y=\"330\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1564813703465\" id=\"BPMNShape_task1564813703465\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"510\" y=\"181\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1570522613904\" id=\"BPMNShape_exclusiveGateway1570522613904\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"791\" y=\"335\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564647013992\" id=\"BPMNEdge_flow1564647013992\">\r\n <omgdi:waypoint x=\"275\" y=\"46\" />\r\n <omgdi:waypoint x=\"505\" y=\"46\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564801113806\" id=\"BPMNEdge_flow1564801113806\">\r\n <omgdi:waypoint x=\"605\" y=\"46\" />\r\n <omgdi:waypoint x=\"761\" y=\"46\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564801134757\" id=\"BPMNEdge_flow1564801134757\">\r\n <omgdi:waypoint x=\"811\" y=\"76\" />\r\n <omgdi:waypoint x=\"811\" y=\"149\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564801302817\" id=\"BPMNEdge_flow1564801302817\">\r\n <omgdi:waypoint x=\"811\" y=\"209\" />\r\n <omgdi:waypoint x=\"811\" y=\"335\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564801304605\" id=\"BPMNEdge_flow1564801304605\">\r\n <omgdi:waypoint x=\"505\" y=\"504\" />\r\n <omgdi:waypoint x=\"402\" y=\"504\" />\r\n <omgdi:waypoint x=\"402\" y=\"361\" />\r\n <omgdi:waypoint x=\"299\" y=\"361\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564801308342\" id=\"BPMNEdge_flow1564801308342\">\r\n <omgdi:waypoint x=\"653\" y=\"385\" />\r\n <omgdi:waypoint x=\"653\" y=\"504\" />\r\n <omgdi:waypoint x=\"605\" y=\"504\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564813759936\" id=\"BPMNEdge_flow1564813759936\">\r\n <omgdi:waypoint x=\"555\" y=\"76\" />\r\n <omgdi:waypoint x=\"555\" y=\"176\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564813774360\" id=\"BPMNEdge_flow1564813774360\">\r\n <omgdi:waypoint x=\"761\" y=\"46\" />\r\n <omgdi:waypoint x=\"683\" y=\"46\" />\r\n <omgdi:waypoint x=\"683\" y=\"206\" />\r\n <omgdi:waypoint x=\"605\" y=\"206\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564813781175\" id=\"BPMNEdge_flow1564813781175\">\r\n <omgdi:waypoint x=\"761\" y=\"179\" />\r\n <omgdi:waypoint x=\"683\" y=\"179\" />\r\n <omgdi:waypoint x=\"683\" y=\"206\" />\r\n <omgdi:waypoint x=\"605\" y=\"206\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564813792167\" id=\"BPMNEdge_flow1564813792167\">\r\n <omgdi:waypoint x=\"555\" y=\"474\" />\r\n <omgdi:waypoint x=\"555\" y=\"236\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564813798652\" id=\"BPMNEdge_flow1564813798652\">\r\n <omgdi:waypoint x=\"653\" y=\"325\" />\r\n <omgdi:waypoint x=\"653\" y=\"280\" />\r\n <omgdi:waypoint x=\"555\" y=\"280\" />\r\n <omgdi:waypoint x=\"555\" y=\"236\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1564813814405\" id=\"BPMNEdge_flow1564813814405\">\r\n <omgdi:waypoint x=\"505\" y=\"206\" />\r\n <omgdi:waypoint x=\"485\" y=\"206\" />\r\n <omgdi:waypoint x=\"485\" y=\"46\" />\r\n <omgdi:waypoint x=\"505\" y=\"46\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570522676913\" id=\"BPMNEdge_flow1570522676913\">\r\n <omgdi:waypoint x=\"811\" y=\"375\" />\r\n <omgdi:waypoint x=\"811\" y=\"504\" />\r\n <omgdi:waypoint x=\"605\" y=\"504\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570522718764\" id=\"BPMNEdge_flow1570522718764\">\r\n <omgdi:waypoint x=\"791\" y=\"355\" />\r\n <omgdi:waypoint x=\"703\" y=\"355\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-10-28 18:04:32','admin','管理员','2019-08-01 16:10:27','admin','process1564646973707',1,'0',NULL);
  1964. INSERT INTO `t_p_processnode` VALUES ('402881e56c4b2a04016c4c3aefd20010',NULL,'402881e56c4b2a04016c4c3aefc0000f','task1564646993364','项目负责人','activitiSamelevelTransferController.do?goView','activitiSamelevelTransferController.do?goViewMobile',NULL,'402881e56c4b2a04016c4c3fe7300015','no','0'),('402881e56c549664016c556d3fc50001',NULL,'402881e56c4b2a04016c4c3aefc0000f','task1564800725710','调出方内勤','activitiSamelevelTransferController.do?goView&flag=2','activitiSamelevelTransferController.do?goViewMobile&flag=2',NULL,'402881e56c5622c8016c563e8ceb0007','no','0'),('402881e56c549664016c556d3fd70002',NULL,'402881e56c4b2a04016c4c3aefc0000f','task1564800954669','调出方项目经理','activitiSamelevelTransferController.do?goView&flag=3','activitiSamelevelTransferController.do?goViewMobile&flag=3',NULL,'402881e56c5622c8016c563f76a40009','no','0'),('402881e56c549664016c556d3fe30003',NULL,'402881e56c4b2a04016c4c3aefc0000f','task1564801208482','人事岗位编制管理专员','activitiSamelevelTransferController.do?goView&flag=5','activitiSamelevelTransferController.do?goViewMobile&flag=5',NULL,'402881e56c5622c8016c573d904e0040','no','0'),('402881e56c549664016c556d3fed0004',NULL,'402881e56c4b2a04016c4c3aefc0000f','task1564801254395','项目管理部岗位编制专员','activitiSamelevelTransferController.do?goView&flag=4','activitiSamelevelTransferController.do?goViewMobile&flag=4',NULL,'402881e56c5622c8016c56408078000c','no','0'),('402881e56c5622c8016c562bfe320001',NULL,'402881e56c4b2a04016c4c3aefc0000f','task1564813703465','制单人重填','activitiSamelevelTransferController.do?goView&flag=1','activitiSamelevelTransferController.do?goViewMobile&flag=1',NULL,'402881e56c5622c8016c562dbb2d0003','no','0');
  1965. #离职
  1966. delete from `t_p_processnode` where processid='402881e56c606a67016c61f68d04000e';
  1967. delete from `t_p_process` where id='402881e56c606a67016c61f68d04000e';
  1968. INSERT INTO `t_p_process` VALUES ('402881e56c606a67016c61f68d04000e','leave_new',NULL,'人事离职流程',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1565011606797\" name=\"人事离职流程\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402881e56c606a67016c620166680014\" event=\"end\" class=\"cn.com.lzt.useractiviti.workflow.listener.UserLeaveListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402881e56c035875016c03a921af0032\" event=\"end\" class=\"cn.com.lzt.workflow.listener.task.ActivitiTaskListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1565087266814\" name=\"总经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <userTask id=\"task1565092516369\" name=\"人事经理\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRJL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1565092636758\" name=\"人事专员(面谈)\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRZL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1565100847455\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <userTask id=\"task1570523794289\" name=\"项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1570523827391\" name=\"项目经理(面谈)\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1570524061576\" name=\"部门经理(面谈)\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'GUARD\')}\" >\r\n </userTask>\r\n <userTask id=\"task1570524145751\" name=\"人事经理(面谈)\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRJL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1570524246973\" name=\"人事分管副总\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_RSFZ\')}\" >\r\n </userTask>\r\n <userTask id=\"task1570524365817\" name=\"项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1570524380011\" name=\"人事经理\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRJL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1570524926006\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <exclusiveGateway id=\"exclusiveGateway1565071395836\" name=\"exclusiveGateway1565071395836\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1565071643451\" name=\"exclusiveGateway1565071643451\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1565087181266\" name=\"exclusiveGateway1565087181266\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1565087460965\" name=\"exclusiveGateway1565087460965\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1565088081352\" name=\"exclusiveGateway1565088081352\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1565092601803\" name=\"exclusiveGateway1565092601803\">\r\n </exclusiveGateway>\r\n <sequenceFlow id=\"flow1565087048345\" name=\"\" sourceRef=\"exclusiveGateway1565071643451\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565087644289\" name=\"\" sourceRef=\"start1\" targetRef=\"exclusiveGateway1565071395836\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565092542765\" name=\"通过\" sourceRef=\"task1565092516369\" targetRef=\"exclusiveGateway1565071643451\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565093446198\" name=\"通过\" sourceRef=\"task1565092636758\" targetRef=\"exclusiveGateway1565071643451\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570523678842\" name=\"主动离职\" sourceRef=\"exclusiveGateway1565071395836\" targetRef=\"exclusiveGateway1565087460965\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.leaveType(BPM_FORM_KEY,id) == 1}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570523737567\" name=\"\" sourceRef=\"exclusiveGateway1565087460965\" targetRef=\"exclusiveGateway1565092601803\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570523739269\" name=\"\" sourceRef=\"exclusiveGateway1565087460965\" targetRef=\"exclusiveGateway1565087181266\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570523812826\" name=\"一线员工\" sourceRef=\"exclusiveGateway1565092601803\" targetRef=\"task1570523794289\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.deutiesType(BPM_FORM_KEY,id) == 1}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570523829282\" name=\"主管以上\" sourceRef=\"exclusiveGateway1565092601803\" targetRef=\"task1570523827391\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.deutiesType(BPM_FORM_KEY,id) == 3}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570523917323\" name=\"通过\" sourceRef=\"task1570523794289\" targetRef=\"task1565092636758\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524039009\" name=\"通过\" sourceRef=\"task1570523827391\" targetRef=\"task1565092516369\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524079184\" name=\"部门专员\" sourceRef=\"exclusiveGateway1565087181266\" targetRef=\"task1570524061576\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.deutiesType(BPM_FORM_KEY,id) == 2}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524099941\" name=\"通过\" sourceRef=\"task1570524061576\" targetRef=\"task1565092516369\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524151420\" name=\"经理\" sourceRef=\"exclusiveGateway1565087181266\" targetRef=\"task1570524145751\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.deutiesType(BPM_FORM_KEY,id) == 4}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524258929\" name=\"\" sourceRef=\"task1570524145751\" targetRef=\"task1570524246973\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524263561\" name=\"通过\" sourceRef=\"task1570524246973\" targetRef=\"task1565087266814\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1565087299715\" name=\"通过\" sourceRef=\"task1565087266814\" targetRef=\"exclusiveGateway1565071643451\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524312690\" name=\"辞退\" sourceRef=\"exclusiveGateway1565071395836\" targetRef=\"exclusiveGateway1565088081352\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.leaveType(BPM_FORM_KEY,id) == 0}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524422520\" name=\"一线员工\" sourceRef=\"exclusiveGateway1565088081352\" targetRef=\"task1570524365817\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524425344\" name=\"通过\" sourceRef=\"task1570524365817\" targetRef=\"task1570524380011\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524429114\" name=\"通过\" sourceRef=\"task1570524380011\" targetRef=\"exclusiveGateway1565071643451\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524846052\" name=\"驳回\" sourceRef=\"task1570523794289\" targetRef=\"task1565100847455\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524848197\" name=\"驳回\" sourceRef=\"task1565092636758\" targetRef=\"task1565100847455\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524851054\" name=\"驳回\" sourceRef=\"task1570523827391\" targetRef=\"task1565100847455\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524852759\" name=\"驳回\" sourceRef=\"task1565092516369\" targetRef=\"task1565100847455\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524855287\" name=\"驳回\" sourceRef=\"task1570524061576\" targetRef=\"task1565100847455\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524869686\" name=\"\" sourceRef=\"task1565100847455\" targetRef=\"exclusiveGateway1565071395836\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524943248\" name=\"驳回\" sourceRef=\"task1570524145751\" targetRef=\"task1570524926006\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524949723\" name=\"驳回\" sourceRef=\"task1570524246973\" targetRef=\"task1570524926006\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524954243\" name=\"驳回\" sourceRef=\"task1565087266814\" targetRef=\"task1570524926006\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524960145\" name=\"驳回\" sourceRef=\"task1570524380011\" targetRef=\"task1570524926006\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524964923\" name=\"驳回\" sourceRef=\"task1570524365817\" targetRef=\"task1570524926006\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1570524979695\" name=\"\" sourceRef=\"task1570524926006\" targetRef=\"exclusiveGateway1565071395836\">\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1565011606797\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1565011606797\" id=\"BPMNPlane_process1565011606797\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"638\" y=\"6\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"639\" y=\"904\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1565087266814\" id=\"BPMNShape_task1565087266814\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"700\" y=\"677\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1565092516369\" id=\"BPMNShape_task1565092516369\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"399\" y=\"675\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1565092636758\" id=\"BPMNShape_task1565092636758\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"147\" y=\"518\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1565100847455\" id=\"BPMNShape_task1565100847455\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"276\" y=\"440\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1570523794289\" id=\"BPMNShape_task1570523794289\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"147\" y=\"343\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1570523827391\" id=\"BPMNShape_task1570523827391\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"399\" y=\"345\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1570524061576\" id=\"BPMNShape_task1570524061576\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"527\" y=\"440\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1570524145751\" id=\"BPMNShape_task1570524145751\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"700\" y=\"336\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1570524246973\" id=\"BPMNShape_task1570524246973\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"700\" y=\"495\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1570524365817\" id=\"BPMNShape_task1570524365817\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"936\" y=\"329\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1570524380011\" id=\"BPMNShape_task1570524380011\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"936\" y=\"480\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1570524926006\" id=\"BPMNShape_task1570524926006\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"819\" y=\"440\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565071395836\" id=\"BPMNShape_exclusiveGateway1565071395836\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"633\" y=\"96\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565071643451\" id=\"BPMNShape_exclusiveGateway1565071643451\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"634\" y=\"794\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565087181266\" id=\"BPMNShape_exclusiveGateway1565087181266\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"659\" y=\"243\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565087460965\" id=\"BPMNShape_exclusiveGateway1565087460965\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"450\" y=\"166\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565088081352\" id=\"BPMNShape_exclusiveGateway1565088081352\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"961\" y=\"160\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1565092601803\" id=\"BPMNShape_exclusiveGateway1565092601803\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"334\" y=\"247\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565087048345\" id=\"BPMNEdge_flow1565087048345\">\r\n <omgdi:waypoint x=\"654\" y=\"834\" />\r\n <omgdi:waypoint x=\"654\" y=\"904\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565087644289\" id=\"BPMNEdge_flow1565087644289\">\r\n <omgdi:waypoint x=\"653\" y=\"36\" />\r\n <omgdi:waypoint x=\"653\" y=\"96\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565092542765\" id=\"BPMNEdge_flow1565092542765\">\r\n <omgdi:waypoint x=\"444\" y=\"730\" />\r\n <omgdi:waypoint x=\"444\" y=\"814\" />\r\n <omgdi:waypoint x=\"634\" y=\"814\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565093446198\" id=\"BPMNEdge_flow1565093446198\">\r\n <omgdi:waypoint x=\"192\" y=\"573\" />\r\n <omgdi:waypoint x=\"192\" y=\"814\" />\r\n <omgdi:waypoint x=\"634\" y=\"814\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570523678842\" id=\"BPMNEdge_flow1570523678842\">\r\n <omgdi:waypoint x=\"633\" y=\"116\" />\r\n <omgdi:waypoint x=\"470\" y=\"116\" />\r\n <omgdi:waypoint x=\"470\" y=\"166\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570523737567\" id=\"BPMNEdge_flow1570523737567\">\r\n <omgdi:waypoint x=\"450\" y=\"186\" />\r\n <omgdi:waypoint x=\"354\" y=\"186\" />\r\n <omgdi:waypoint x=\"354\" y=\"247\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570523739269\" id=\"BPMNEdge_flow1570523739269\">\r\n <omgdi:waypoint x=\"490\" y=\"186\" />\r\n <omgdi:waypoint x=\"679\" y=\"186\" />\r\n <omgdi:waypoint x=\"679\" y=\"243\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570523812826\" id=\"BPMNEdge_flow1570523812826\">\r\n <omgdi:waypoint x=\"334\" y=\"267\" />\r\n <omgdi:waypoint x=\"192\" y=\"267\" />\r\n <omgdi:waypoint x=\"192\" y=\"338\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570523829282\" id=\"BPMNEdge_flow1570523829282\">\r\n <omgdi:waypoint x=\"374\" y=\"267\" />\r\n <omgdi:waypoint x=\"444\" y=\"267\" />\r\n <omgdi:waypoint x=\"444\" y=\"340\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570523917323\" id=\"BPMNEdge_flow1570523917323\">\r\n <omgdi:waypoint x=\"192\" y=\"398\" />\r\n <omgdi:waypoint x=\"192\" y=\"513\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524039009\" id=\"BPMNEdge_flow1570524039009\">\r\n <omgdi:waypoint x=\"444\" y=\"400\" />\r\n <omgdi:waypoint x=\"444\" y=\"670\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524079184\" id=\"BPMNEdge_flow1570524079184\">\r\n <omgdi:waypoint x=\"659\" y=\"263\" />\r\n <omgdi:waypoint x=\"572\" y=\"263\" />\r\n <omgdi:waypoint x=\"572\" y=\"435\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524099941\" id=\"BPMNEdge_flow1570524099941\">\r\n <omgdi:waypoint x=\"572\" y=\"495\" />\r\n <omgdi:waypoint x=\"572\" y=\"700\" />\r\n <omgdi:waypoint x=\"494\" y=\"700\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524151420\" id=\"BPMNEdge_flow1570524151420\">\r\n <omgdi:waypoint x=\"699\" y=\"263\" />\r\n <omgdi:waypoint x=\"745\" y=\"263\" />\r\n <omgdi:waypoint x=\"745\" y=\"331\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524258929\" id=\"BPMNEdge_flow1570524258929\">\r\n <omgdi:waypoint x=\"745\" y=\"391\" />\r\n <omgdi:waypoint x=\"745\" y=\"490\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524263561\" id=\"BPMNEdge_flow1570524263561\">\r\n <omgdi:waypoint x=\"745\" y=\"550\" />\r\n <omgdi:waypoint x=\"745\" y=\"672\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1565087299715\" id=\"BPMNEdge_flow1565087299715\">\r\n <omgdi:waypoint x=\"745\" y=\"732\" />\r\n <omgdi:waypoint x=\"745\" y=\"814\" />\r\n <omgdi:waypoint x=\"674\" y=\"814\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524312690\" id=\"BPMNEdge_flow1570524312690\">\r\n <omgdi:waypoint x=\"673\" y=\"116\" />\r\n <omgdi:waypoint x=\"981\" y=\"116\" />\r\n <omgdi:waypoint x=\"981\" y=\"160\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524422520\" id=\"BPMNEdge_flow1570524422520\">\r\n <omgdi:waypoint x=\"981\" y=\"200\" />\r\n <omgdi:waypoint x=\"981\" y=\"324\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524425344\" id=\"BPMNEdge_flow1570524425344\">\r\n <omgdi:waypoint x=\"981\" y=\"384\" />\r\n <omgdi:waypoint x=\"981\" y=\"475\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524429114\" id=\"BPMNEdge_flow1570524429114\">\r\n <omgdi:waypoint x=\"981\" y=\"535\" />\r\n <omgdi:waypoint x=\"981\" y=\"814\" />\r\n <omgdi:waypoint x=\"674\" y=\"814\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524846052\" id=\"BPMNEdge_flow1570524846052\">\r\n <omgdi:waypoint x=\"242\" y=\"368\" />\r\n <omgdi:waypoint x=\"256\" y=\"368\" />\r\n <omgdi:waypoint x=\"256\" y=\"465\" />\r\n <omgdi:waypoint x=\"271\" y=\"465\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524848197\" id=\"BPMNEdge_flow1570524848197\">\r\n <omgdi:waypoint x=\"242\" y=\"543\" />\r\n <omgdi:waypoint x=\"256\" y=\"543\" />\r\n <omgdi:waypoint x=\"256\" y=\"465\" />\r\n <omgdi:waypoint x=\"271\" y=\"465\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524851054\" id=\"BPMNEdge_flow1570524851054\">\r\n <omgdi:waypoint x=\"394\" y=\"370\" />\r\n <omgdi:waypoint x=\"382\" y=\"370\" />\r\n <omgdi:waypoint x=\"382\" y=\"465\" />\r\n <omgdi:waypoint x=\"371\" y=\"465\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524852759\" id=\"BPMNEdge_flow1570524852759\">\r\n <omgdi:waypoint x=\"394\" y=\"700\" />\r\n <omgdi:waypoint x=\"382\" y=\"700\" />\r\n <omgdi:waypoint x=\"382\" y=\"465\" />\r\n <omgdi:waypoint x=\"371\" y=\"465\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524855287\" id=\"BPMNEdge_flow1570524855287\">\r\n <omgdi:waypoint x=\"522\" y=\"465\" />\r\n <omgdi:waypoint x=\"371\" y=\"465\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524869686\" id=\"BPMNEdge_flow1570524869686\">\r\n <omgdi:waypoint x=\"321\" y=\"435\" />\r\n <omgdi:waypoint x=\"321\" y=\"76\" />\r\n <omgdi:waypoint x=\"653\" y=\"76\" />\r\n <omgdi:waypoint x=\"653\" y=\"96\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524943248\" id=\"BPMNEdge_flow1570524943248\">\r\n <omgdi:waypoint x=\"795\" y=\"361\" />\r\n <omgdi:waypoint x=\"804\" y=\"361\" />\r\n <omgdi:waypoint x=\"804\" y=\"465\" />\r\n <omgdi:waypoint x=\"814\" y=\"465\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524949723\" id=\"BPMNEdge_flow1570524949723\">\r\n <omgdi:waypoint x=\"795\" y=\"520\" />\r\n <omgdi:waypoint x=\"864\" y=\"520\" />\r\n <omgdi:waypoint x=\"864\" y=\"495\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524954243\" id=\"BPMNEdge_flow1570524954243\">\r\n <omgdi:waypoint x=\"795\" y=\"702\" />\r\n <omgdi:waypoint x=\"864\" y=\"702\" />\r\n <omgdi:waypoint x=\"864\" y=\"495\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524960145\" id=\"BPMNEdge_flow1570524960145\">\r\n <omgdi:waypoint x=\"931\" y=\"505\" />\r\n <omgdi:waypoint x=\"864\" y=\"505\" />\r\n <omgdi:waypoint x=\"864\" y=\"495\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524964923\" id=\"BPMNEdge_flow1570524964923\">\r\n <omgdi:waypoint x=\"931\" y=\"354\" />\r\n <omgdi:waypoint x=\"922\" y=\"354\" />\r\n <omgdi:waypoint x=\"922\" y=\"465\" />\r\n <omgdi:waypoint x=\"914\" y=\"465\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1570524979695\" id=\"BPMNEdge_flow1570524979695\">\r\n <omgdi:waypoint x=\"864\" y=\"435\" />\r\n <omgdi:waypoint x=\"864\" y=\"76\" />\r\n <omgdi:waypoint x=\"653\" y=\"76\" />\r\n <omgdi:waypoint x=\"653\" y=\"96\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-10-28 18:06:04','admin','管理员','2019-08-05 21:27:24','admin','process1565011606797',1,'0',NULL);
  1969. INSERT INTO `t_p_processnode` VALUES ('402881e56c64f299016c6678d0ae000e',NULL,'402881e56c606a67016c61f68d04000e','task1565087266814','总经理','activitiLeaveController.do?goView&flag=11','activitiLeaveController.do?goViewMobile&flag=11',NULL,'402881e56c64f299016c6717e4c40016','no','0'),('402881e56c64f299016c66d12ef50010',NULL,'402881e56c606a67016c61f68d04000e','task1565092516369','人事经理','activitiLeaveController.do?goView&flag=11','activitiLeaveController.do?goViewMobile&flag=11',NULL,'402881e56c64f299016c6717e4c40016','no','0'),('402881e56c64f299016c66d12efe0011',NULL,'402881e56c606a67016c61f68d04000e','task1565092636758','人事专员(面谈)','activitiLeaveController.do?goView&flag=10','activitiLeaveController.do?goViewMobile&flag=10',NULL,'402881e56c606a67016c61ff8dbf0012','no','0'),('402881e56c64f299016c674b6d410027',NULL,'402881e56c606a67016c61f68d04000e','task1565100847455','制单人重填','activitiLeaveController.do?goView&flage=false','activitiLeaveController.do?goViewMobile&flage=false',NULL,'402881e56c62229f016c623ee50e0009','no','0'),('402881e56da9f48e016daa882f090019',NULL,'402881e56c606a67016c61f68d04000e','task1570523794289','项目经理','activitiLeaveController.do?goView&flag=9','activitiLeaveController.do?goViewMobile&flag=9',NULL,'402881e56c64f299016c67179c460014','no','0'),('402881e56da9f48e016daa882f12001a',NULL,'402881e56c606a67016c61f68d04000e','task1570523827391','项目经理(面谈)','activitiLeaveController.do?goView&flag=10','activitiLeaveController.do?goViewMobile&flag=10',NULL,'402881e56c606a67016c61ff8dbf0012','no','0'),('402881e56da9f48e016daa882f1a001b',NULL,'402881e56c606a67016c61f68d04000e','task1570524061576','部门经理(面谈)','activitiLeaveController.do?goView&flag=10','activitiLeaveController.do?goViewMobile&flag=10',NULL,'402881e56c606a67016c61ff8dbf0012','no','0'),('402881e56da9f48e016daa89bb3e001c',NULL,'402881e56c606a67016c61f68d04000e','task1570524145751','人事经理(面谈)','activitiLeaveController.do?goView&flag=10','activitiLeaveController.do?goViewMobile&flag=10',NULL,'402881e56c606a67016c61ff8dbf0012','no','0'),('402881e56da9f48e016daa8acbc5001d',NULL,'402881e56c606a67016c61f68d04000e','task1570524246973','人事分管副总','activitiLeaveController.do?goView&flag=11','activitiLeaveController.do?goViewMobile&flag=11',NULL,'402881e56c64f299016c6717e4c40016','no','0'),('402881e56da9f48e016daa8d6fb1001e',NULL,'402881e56c606a67016c61f68d04000e','task1570524365817','项目经理','activitiLeaveController.do?goView&flag=9','activitiLeaveController.do?goViewMobile&flag=9',NULL,'402881e56c64f299016c67179c460014','no','0'),('402881e56da9f48e016daa8d6fbb001f',NULL,'402881e56c606a67016c61f68d04000e','task1570524380011','人事经理','activitiLeaveController.do?goView&flag=9','activitiLeaveController.do?goViewMobile&flag=9',NULL,'402881e56c64f299016c67179c460014','no','0'),('402881e56da9f48e016daa9591ba0020',NULL,'402881e56c606a67016c61f68d04000e','task1570524926006','制单人重填','activitiLeaveController.do?goView&flage=false','activitiLeaveController.do?goViewMobile&flage=false',NULL,'402881e56c62229f016c623ee50e0009','no','0');
  1970. #入职 平调 离职修改 结束
  1971. #加班申请开始
  1972. INSERT INTO `t_s_typegroup` VALUES ('402880ed6dc34e94016dc360655b0010','overtime_compensate','加班补偿方式','2019-10-13 12:28:58','管理员');
  1973. INSERT INTO `t_s_type` VALUES ('402880ed6dc34e94016dc35f4b29000e','overtime','加班申请',NULL,'402889fe47eddd340147ede15c070001','2019-10-13 12:27:45','管理员'),('402880ed6dc34e94016dc3610a200012','exchange','调休',NULL,'402880ed6dc34e94016dc360655b0010','2019-10-13 12:29:40','管理员'),('402880ed6dc34e94016dc3613dee0014','money','加班费',NULL,'402880ed6dc34e94016dc360655b0010','2019-10-13 12:29:53','管理员');
  1974. INSERT INTO `t_s_function` VALUES ('402881e56dd1f887016dd22ae3e50007',NULL,1,'加班申请','13','tBusActivitiOvertimeController.do?list','402881e56dc9460b016dc94749800001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-10-16 09:30:05','2019-10-16 09:24:49','管理员');
  1975. ALTER TABLE `t_s_role` CHANGE COLUMN `rolecode` `rolecode` VARCHAR(255) NULL DEFAULT NULL COMMENT '角色编码' ;
  1976. #增加自定义处理人 组织机构负责人
  1977. INSERT INTO `t_p_process_handlemode` VALUES ('402880ed6e02896b016e02a6c35f000b','管理员','admin','2019-10-25 19:21:54','管理员','admin','2019-10-25 19:36:18','A06A01','A06',NULL,'组织机构负责人','DEPART_MANAGER',NULL);
  1978. CREATE TABLE `t_bus_activiti_overtime` (
  1979. `id` varchar(36) NOT NULL,
  1980. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  1981. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  1982. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  1983. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  1984. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  1985. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  1986. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  1987. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  1988. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  1989. `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '流程id',
  1990. `step_name` varchar(32) DEFAULT NULL COMMENT '流程名',
  1991. `reason` longtext COMMENT '加班原因',
  1992. `total_hour` double DEFAULT NULL COMMENT '总时长',
  1993. `total_money` double DEFAULT NULL COMMENT '总金额',
  1994. `user_ids` varchar(2000) DEFAULT NULL COMMENT '保存加班用户id',
  1995. `real_names` varchar(2000) DEFAULT NULL,
  1996. `depart_id` varchar(45) DEFAULT NULL,
  1997. `dep_name` varchar(255) DEFAULT NULL,
  1998. `month` varchar(45) DEFAULT NULL COMMENT '加班年月',
  1999. PRIMARY KEY (`id`),
  2000. KEY `create_by` (`create_by`),
  2001. KEY `dep` (`depart_id`,`month`)
  2002. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2003. CREATE TABLE `t_bus_activiti_overtime_detail` (
  2004. `id` varchar(36) NOT NULL,
  2005. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2006. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2007. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2008. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2009. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2010. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2011. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2012. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2013. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2014. `overtime_id` varchar(32) DEFAULT NULL COMMENT '加班主表id',
  2015. `userid` varchar(32) DEFAULT NULL COMMENT '加班员工',
  2016. `real_name` varchar(255) DEFAULT NULL,
  2017. `start_time` datetime DEFAULT NULL COMMENT '加班开始时间',
  2018. `end_time` datetime DEFAULT NULL COMMENT '加班结束时间',
  2019. `hour` double DEFAULT NULL COMMENT '加班时长',
  2020. `compensate` varchar(32) DEFAULT NULL COMMENT '补偿方式',
  2021. `money` decimal(10,2) DEFAULT NULL COMMENT '加班费',
  2022. `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  2023. PRIMARY KEY (`id`),
  2024. KEY `overtimeid` (`overtime_id`)
  2025. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2026. INSERT INTO `t_p_listener` VALUES ('402881e56ddd56a9016dddc9bfe30020','end','javaClass','cn.com.lzt.useractiviti.workflow.listener.OvertimeListener','加班申请结束',1,1,'overtime');
  2027. INSERT INTO `t_p_process` VALUES ('402880ed6dc78a3b016dc7bce45e0002','overtime',NULL,'人事加班申请',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1571013599225\" name=\"人事加班申请\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402881e56ddd56a9016dddc9bfe30020\" event=\"end\" class=\"cn.com.lzt.useractiviti.workflow.listener.OvertimeListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1571013716077\" name=\"项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'DEPART_MANAGER\')}\" >\r\n </userTask>\r\n <userTask id=\"task1571013998674\" name=\"项目管理部加班负责人\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_XMGLBJBFZ\')}\" >\r\n </userTask>\r\n <userTask id=\"task1571014046969\" name=\"加班申请分管副总\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_RSFZ\')}\" >\r\n </userTask>\r\n <userTask id=\"task1571014085657\" name=\"总经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <userTask id=\"task1571014154241\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <sequenceFlow id=\"flow1571014117200\" name=\"\" sourceRef=\"start1\" targetRef=\"task1571013716077\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571014119681\" name=\"通过\" sourceRef=\"task1571013716077\" targetRef=\"task1571013998674\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571014121441\" name=\"通过\" sourceRef=\"task1571013998674\" targetRef=\"task1571014046969\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571014123472\" name=\"通过\" sourceRef=\"task1571014046969\" targetRef=\"task1571014085657\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571014124993\" name=\"通过\" sourceRef=\"task1571014085657\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571018443846\" name=\"驳回\" sourceRef=\"task1571013716077\" targetRef=\"task1571014154241\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571018453543\" name=\"驳回\" sourceRef=\"task1571013998674\" targetRef=\"task1571014154241\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571018466422\" name=\"驳回\" sourceRef=\"task1571014046969\" targetRef=\"task1571014154241\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571018536981\" name=\"驳回\" sourceRef=\"task1571014085657\" targetRef=\"task1571014154241\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571018552294\" name=\"提交\" sourceRef=\"task1571014154241\" targetRef=\"task1571013716077\">\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1571013599225\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1571013599225\" id=\"BPMNPlane_process1571013599225\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"200\" y=\"50\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"200\" y=\"401\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571013716077\" id=\"BPMNShape_task1571013716077\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"367\" y=\"40\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571013998674\" id=\"BPMNShape_task1571013998674\">\r\n <omgdc:Bounds height=\"61\" width=\"96\" x=\"572\" y=\"35\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571014046969\" id=\"BPMNShape_task1571014046969\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"575\" y=\"391\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571014085657\" id=\"BPMNShape_task1571014085657\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"367\" y=\"391\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571014154241\" id=\"BPMNShape_task1571014154241\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"367\" y=\"206\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571014117200\" id=\"BPMNEdge_flow1571014117200\">\r\n <omgdi:waypoint x=\"230\" y=\"65\" />\r\n <omgdi:waypoint x=\"362\" y=\"65\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571014119681\" id=\"BPMNEdge_flow1571014119681\">\r\n <omgdi:waypoint x=\"462\" y=\"65\" />\r\n <omgdi:waypoint x=\"514\" y=\"65\" />\r\n <omgdi:waypoint x=\"514\" y=\"65\" />\r\n <omgdi:waypoint x=\"567\" y=\"65\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571014121441\" id=\"BPMNEdge_flow1571014121441\">\r\n <omgdi:waypoint x=\"673\" y=\"65\" />\r\n <omgdi:waypoint x=\"693\" y=\"65\" />\r\n <omgdi:waypoint x=\"693\" y=\"416\" />\r\n <omgdi:waypoint x=\"670\" y=\"416\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571014123472\" id=\"BPMNEdge_flow1571014123472\">\r\n <omgdi:waypoint x=\"570\" y=\"416\" />\r\n <omgdi:waypoint x=\"462\" y=\"416\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571014124993\" id=\"BPMNEdge_flow1571014124993\">\r\n <omgdi:waypoint x=\"362\" y=\"416\" />\r\n <omgdi:waypoint x=\"230\" y=\"416\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571018443846\" id=\"BPMNEdge_flow1571018443846\">\r\n <omgdi:waypoint x=\"412\" y=\"95\" />\r\n <omgdi:waypoint x=\"412\" y=\"201\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571018453543\" id=\"BPMNEdge_flow1571018453543\">\r\n <omgdi:waypoint x=\"620\" y=\"101\" />\r\n <omgdi:waypoint x=\"620\" y=\"231\" />\r\n <omgdi:waypoint x=\"462\" y=\"231\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571018466422\" id=\"BPMNEdge_flow1571018466422\">\r\n <omgdi:waypoint x=\"620\" y=\"386\" />\r\n <omgdi:waypoint x=\"620\" y=\"231\" />\r\n <omgdi:waypoint x=\"462\" y=\"231\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571018536981\" id=\"BPMNEdge_flow1571018536981\">\r\n <omgdi:waypoint x=\"412\" y=\"386\" />\r\n <omgdi:waypoint x=\"412\" y=\"261\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571018552294\" id=\"BPMNEdge_flow1571018552294\">\r\n <omgdi:waypoint x=\"362\" y=\"231\" />\r\n <omgdi:waypoint x=\"342\" y=\"231\" />\r\n <omgdi:waypoint x=\"342\" y=\"65\" />\r\n <omgdi:waypoint x=\"362\" y=\"65\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-10-30 21:03:01','admin','管理员','2019-10-14 08:48:28','admin','process1571013599225',1,'0',NULL);
  2028. INSERT INTO `t_p_processnode` VALUES ('402880ed6dc78a3b016dc7bce4720003',NULL,'402880ed6dc78a3b016dc7bce45e0002','task1571013716077','项目经理','tBusActivitiOvertimeController.do?goView&flag=2','tBusActivitiOvertimeController.do?goViewMobile&flag=2',NULL,'402880ed6dc78a3b016dc7c27888000c','no','0'),('402880ed6dc78a3b016dc7bce47d0004',NULL,'402880ed6dc78a3b016dc7bce45e0002','task1571013998674','项目管理部加班负责人','tBusActivitiOvertimeController.do?goView&flag=2','tBusActivitiOvertimeController.do?goViewMobile&flag=2',NULL,'402880ed6dc78a3b016dc7c27888000c','no','0'),('402880ed6dc78a3b016dc7bce4860005',NULL,'402880ed6dc78a3b016dc7bce45e0002','task1571014046969','加班申请分管副总','tBusActivitiOvertimeController.do?goView&flag=2','tBusActivitiOvertimeController.do?goViewMobile&flag=2',NULL,'402880ed6dc78a3b016dc7c27888000c','no','0'),('402880ed6dc78a3b016dc7bce4920006',NULL,'402880ed6dc78a3b016dc7bce45e0002','task1571014085657','总经理','tBusActivitiOvertimeController.do?goView&flag=2','tBusActivitiOvertimeController.do?goViewMobile&flag=2',NULL,'402880ed6dc78a3b016dc7c27888000c','no','0'),('402880ed6dc78a3b016dc7bf7e430007',NULL,'402880ed6dc78a3b016dc7bce45e0002','task1571014154241','制单人重填','tBusActivitiOvertimeController.do?goView&flag=1','tBusActivitiOvertimeController.do?goViewMobile&flag=1',NULL,'402880ed6dc78a3b016dc7c23d99000a','no','0');
  2029. INSERT INTO `t_p_processnode_config` VALUES ('402880ed6dc78a3b016dc7c27888000c','overtime','审批','tBusActivitiOvertimeController.do?goView&flag=2','tBusActivitiOvertimeController.do?goViewMobile&flag=2'),('402880ed6dc78a3b016dc7c23d99000a','overtime','制单人重填','tBusActivitiOvertimeController.do?goView&flag=1','tBusActivitiOvertimeController.do?goViewMobile&flag=1');
  2030. INSERT INTO `t_s_busconfig` VALUES ('402880ed6dc7df57016dc7e16cd20002',NULL,'online','','t_bus_activiti_overtime','402880ed6dc78a3b016dc7bce45e0002','人事加班申请','formdeal','人事加班申请','人事加班申请','402880ed6dc78a3b016dc7c045ba0008');
  2031. INSERT INTO `t_process_busconfig` VALUES ('402880ed6dc78a3b016dc7c045ba0008','人事加班申请','人事加班申请','人事加班申请','t_bus_activiti_overtime','overtime');
  2032. #加班申请结束
  2033. #调休签报开始
  2034. INSERT INTO `t_s_type` VALUES ('402880ed6dedda8b016dee10f5ab000e','exchange','调休签报',NULL,'402889fe47eddd340147ede15c070001','2019-10-21 19:25:52','管理员');
  2035. INSERT INTO `t_s_function` VALUES ('402880ed6ded2240016dedd392510021',NULL,1,'调休签报','23','tBusActivitiExchangeController.do?list','402881e56dc9460b016dc94749800001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-10-21 18:18:49',NULL);
  2036. INSERT INTO `t_p_listener` (`id`,`listenereven`,`listenertype`,`listenervalue`,`listenername`,`listenerstate`,`typeid`,`processtype`) VALUES ('402880ed6ded2240016dedd28f5d001f','end','javaClass','cn.com.lzt.workflow.listener.task.BusinessProcessEndListener','业务结束监听',1,1,NULL);
  2037. INSERT INTO `t_p_flowcondition` VALUES ('402880ed6dedda8b016dee1dccb10019','管理员','admin','2019-10-21 19:39:53','管理员','admin','2019-10-21 19:59:12','A06A01','A06','exchange','调休时长>7天','${flowconditionUtil.getExchangeDays(id)>7}'),('402880ed6dedda8b016dee1f1bfa001c','管理员','admin','2019-10-21 19:41:19','管理员','admin','2019-10-21 19:59:30','A06A01','A06','exchange','调休时长<=7天','${flowconditionUtil.getExchangeDays(id)<=7}');
  2038. CREATE TABLE `t_bus_activiti_exchange` (
  2039. `id` varchar(36) NOT NULL COMMENT 'id',
  2040. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2041. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2042. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2043. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2044. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2045. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2046. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2047. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2048. `bpm_status` varchar(32) DEFAULT NULL COMMENT '流程状态',
  2049. `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '流程id',
  2050. `step_name` varchar(32) DEFAULT NULL COMMENT '流程名',
  2051. `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
  2052. `real_name` varchar(255) DEFAULT NULL COMMENT '员工姓名',
  2053. `depart_id` varchar(32) DEFAULT NULL COMMENT '部门id',
  2054. `dep_name` varchar(255) DEFAULT NULL COMMENT '部门名',
  2055. `start_time` datetime DEFAULT NULL COMMENT '调休开始时间',
  2056. `end_time` datetime DEFAULT NULL COMMENT '调休结束时间',
  2057. `exchange_time` double DEFAULT NULL COMMENT '调休时长',
  2058. `remark` text COMMENT '备注',
  2059. `exchange_user_count` int(11) DEFAULT NULL COMMENT '调休人数',
  2060. `month` varchar(45) DEFAULT NULL COMMENT '调休年月',
  2061. PRIMARY KEY (`id`),
  2062. KEY `create_by` (`create_by`)
  2063. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2064. INSERT INTO `t_p_process` VALUES ('402880ed6dedda8b016dee1903f40015','exchange',NULL,'调休签报',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1571657668352\" name=\"调休签报\">\r\n <documentation>调休签报</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402880ed6ded2240016dedd28f5d001f\" event=\"end\" class=\"cn.com.lzt.workflow.listener.task.BusinessProcessEndListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1571657701829\" name=\"项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1571657704052\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <userTask id=\"task1571657705867\" name=\"人事分管副总\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_RSFZ\')}\" >\r\n </userTask>\r\n <exclusiveGateway id=\"exclusiveGateway1571657709245\" name=\"exclusiveGateway1571657709245\">\r\n </exclusiveGateway>\r\n <sequenceFlow id=\"flow1571657711259\" name=\"\" sourceRef=\"start1\" targetRef=\"exclusiveGateway1571657709245\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571657735850\" name=\"小于7天\" sourceRef=\"exclusiveGateway1571657709245\" targetRef=\"task1571657701829\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.getExchangeDays(id)<=7}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571657737762\" name=\"大于7天\" sourceRef=\"exclusiveGateway1571657709245\" targetRef=\"task1571657705867\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.getExchangeDays(id)>7}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571657803868\" name=\"通过\" sourceRef=\"task1571657701829\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571657805914\" name=\"通过\" sourceRef=\"task1571657705867\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571657815068\" name=\"驳回\" sourceRef=\"task1571657701829\" targetRef=\"task1571657704052\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571657827435\" name=\"驳回\" sourceRef=\"task1571657705867\" targetRef=\"task1571657704052\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571657866524\" name=\"提交\" sourceRef=\"task1571657704052\" targetRef=\"exclusiveGateway1571657709245\">\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1571657668352\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1571657668352\" id=\"BPMNPlane_process1571657668352\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"293\" y=\"36\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"290\" y=\"409\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571657701829\" id=\"BPMNShape_task1571657701829\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"56\" y=\"231\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571657704052\" id=\"BPMNShape_task1571657704052\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"263\" y=\"231\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571657705867\" id=\"BPMNShape_task1571657705867\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"468\" y=\"230\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1571657709245\" id=\"BPMNShape_exclusiveGateway1571657709245\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"288\" y=\"125\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571657711259\" id=\"BPMNEdge_flow1571657711259\">\r\n <omgdi:waypoint x=\"308\" y=\"66\" />\r\n <omgdi:waypoint x=\"308\" y=\"125\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571657735850\" id=\"BPMNEdge_flow1571657735850\">\r\n <omgdi:waypoint x=\"288\" y=\"145\" />\r\n <omgdi:waypoint x=\"101\" y=\"145\" />\r\n <omgdi:waypoint x=\"101\" y=\"226\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571657737762\" id=\"BPMNEdge_flow1571657737762\">\r\n <omgdi:waypoint x=\"328\" y=\"145\" />\r\n <omgdi:waypoint x=\"513\" y=\"145\" />\r\n <omgdi:waypoint x=\"513\" y=\"225\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571657803868\" id=\"BPMNEdge_flow1571657803868\">\r\n <omgdi:waypoint x=\"101\" y=\"286\" />\r\n <omgdi:waypoint x=\"101\" y=\"424\" />\r\n <omgdi:waypoint x=\"290\" y=\"424\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571657805914\" id=\"BPMNEdge_flow1571657805914\">\r\n <omgdi:waypoint x=\"513\" y=\"285\" />\r\n <omgdi:waypoint x=\"513\" y=\"424\" />\r\n <omgdi:waypoint x=\"320\" y=\"424\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571657815068\" id=\"BPMNEdge_flow1571657815068\">\r\n <omgdi:waypoint x=\"151\" y=\"256\" />\r\n <omgdi:waypoint x=\"258\" y=\"256\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571657827435\" id=\"BPMNEdge_flow1571657827435\">\r\n <omgdi:waypoint x=\"463\" y=\"255\" />\r\n <omgdi:waypoint x=\"410\" y=\"255\" />\r\n <omgdi:waypoint x=\"410\" y=\"256\" />\r\n <omgdi:waypoint x=\"358\" y=\"256\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571657866524\" id=\"BPMNEdge_flow1571657866524\">\r\n <omgdi:waypoint x=\"308\" y=\"226\" />\r\n <omgdi:waypoint x=\"308\" y=\"165\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-10-30 15:39:51','admin','管理员','2019-10-21 19:34:40','admin','process1571657668352',1,'0',NULL);
  2065. INSERT INTO `t_p_processnode` VALUES ('402880ed6dedda8b016dee198b2b0016',NULL,'402880ed6dedda8b016dee1903f40015','task1571657701829','项目经理','tBusActivitiExchangeController.do?goView&flag=2','tBusActivitiExchangeController.do?goViewMobile&flag=2',NULL,'402880ed6dee228e016dee323daa000b','no','0'),('402880ed6dedda8b016dee198b340017',NULL,'402880ed6dedda8b016dee1903f40015','task1571657704052','制单人重填','tBusActivitiExchangeController.do?goView&flag=1','tBusActivitiExchangeController.do?goViewMobile&flag=1',NULL,'402880ed6dee228e016dee31f3180009','no','0'),('402880ed6dedda8b016dee198b3d0018',NULL,'402880ed6dedda8b016dee1903f40015','task1571657705867','人事分管副总','tBusActivitiExchangeController.do?goView&flag=2','tBusActivitiExchangeController.do?goViewMobile&flag=2',NULL,'402880ed6dee228e016dee323daa000b','no','0');
  2066. INSERT INTO `t_p_processnode_config` VALUES ('402880ed6dee228e016dee323daa000b','exchange','审批','tBusActivitiExchangeController.do?goView&flag=2','tBusActivitiExchangeController.do?goViewMobile&flag=2'),('402880ed6dee228e016dee31f3180009','exchange','制单人重填','tBusActivitiExchangeController.do?goView&flag=1','tBusActivitiExchangeController.do?goViewMobile&flag=1');
  2067. INSERT INTO `t_s_busconfig` VALUES ('402880ed6dee350f016dee3663720001',NULL,'online','','t_bus_activiti_exchange','402880ed6dedda8b016dee1903f40015','调休签报','formdeal','调休签报','调休签报','402880ed6dee228e016dee30b4310007');
  2068. INSERT INTO `t_process_busconfig` VALUES ('402880ed6dee228e016dee30b4310007','调休签报','调休签报','调休签报','t_bus_activiti_exchange','exchange');
  2069. #调休签报结束
  2070. #调休账户开始
  2071. INSERT INTO `t_s_function` VALUES ('402880ed6e15a5d4016e15e6cd7b0005',NULL,1,'调休账户管理','10','tBExchangeAccountController.do?list','4028e4a55ec173a1015ec1b44f270036','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-10-29 13:04:38',NULL);
  2072. CREATE TABLE `t_b_exchange_account` (
  2073. `id` varchar(36) NOT NULL,
  2074. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2075. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2076. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2077. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2078. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2079. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2080. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2081. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2082. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2083. `userid` varchar(32) DEFAULT NULL COMMENT '人员',
  2084. `year` varchar(32) DEFAULT NULL COMMENT '年度',
  2085. `hours` double DEFAULT NULL COMMENT '倒休小时',
  2086. PRIMARY KEY (`id`),
  2087. UNIQUE KEY `user` (`userid`,`year`),
  2088. KEY `year` (`year`)
  2089. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2090. CREATE TABLE `t_b_exchange_account_log` (
  2091. `id` varchar(36) NOT NULL COMMENT 'id',
  2092. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2093. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2094. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2095. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2096. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2097. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2098. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2099. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2100. `bpm_status` varchar(32) DEFAULT NULL COMMENT '流程状态',
  2101. `exchange_account_id` varchar(32) DEFAULT NULL COMMENT '账户id',
  2102. `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
  2103. `year` varchar(32) DEFAULT NULL COMMENT '年份',
  2104. `change` double DEFAULT NULL COMMENT '变化',
  2105. `balance` double DEFAULT NULL COMMENT '变化后余额',
  2106. `remark` varchar(255) DEFAULT NULL,
  2107. `source_type` varchar(255) DEFAULT NULL COMMENT '来源类型',
  2108. `source_id` varchar(45) DEFAULT NULL COMMENT '来源id',
  2109. PRIMARY KEY (`id`),
  2110. KEY `accountid` (`exchange_account_id`),
  2111. KEY `user` (`userid`,`year`)
  2112. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2113. #调休账户结束
  2114. #休假申请调整菜单
  2115. INSERT INTO `t_s_function` VALUES ('402880ed6ded2240016ded3333760007',NULL,1,'休假申请','20','holidayController.do?list','402881e56dc9460b016dc94749800001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-10-21 15:23:39',NULL);
  2116. #加班预算开始
  2117. INSERT INTO `t_s_function` VALUES ('402881e56dd36b9a016dd3c981840017',NULL,1,'加班预算','7','tBOvertimeBudgetController.do?list','4028e4a55ec173a1015ec1b58580003c','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-10-16 16:57:42',NULL);
  2118. INSERT INTO `t_s_typegroup` VALUES ('402880ed6e928cb1016e929455c70002','overtime_budget_type','加班预算类型','2019-11-22 18:07:05','管理员');
  2119. INSERT INTO `t_s_type` VALUES ('402880ed6e928cb1016e9294dcad0004','code1','项目加班费预算',NULL,'402880ed6e928cb1016e929455c70002','2019-11-22 18:07:40','管理员'),('402880ed6e928cb1016e92950ce00006','code2','国定加班费用预算',NULL,'402880ed6e928cb1016e929455c70002','2019-11-22 18:07:52','管理员'),('402880ed6e928cb1016e9295362a0008','code3','值班预算',NULL,'402880ed6e928cb1016e929455c70002','2019-11-22 18:08:03','管理员'),('402880ed6e928cb1016e92956598000a','code4','国定值班预算',NULL,'402880ed6e928cb1016e929455c70002','2019-11-22 18:08:15','管理员');
  2120. drop table if exists t_b_overtime_budget;
  2121. CREATE TABLE `t_b_overtime_budget` (
  2122. `id` varchar(36) NOT NULL COMMENT 'id',
  2123. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2124. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2125. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2126. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2127. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2128. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2129. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2130. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2131. `bpm_status` varchar(32) DEFAULT NULL COMMENT '流程状态',
  2132. `depart_id` varchar(32) NOT NULL COMMENT '项目id',
  2133. `dep_name` varchar(255) DEFAULT NULL,
  2134. `budget` double NULL COMMENT '预算',
  2135. `years` int(11) NOT NULL COMMENT '年度',
  2136. `left_budget` double DEFAULT NULL COMMENT '剩余',
  2137. `month1` decimal(10,2) DEFAULT NULL COMMENT '月份',
  2138. `month2` decimal(10,2) DEFAULT NULL,
  2139. `month3` decimal(10,2) DEFAULT NULL,
  2140. `month4` decimal(10,2) DEFAULT NULL,
  2141. `month5` decimal(10,2) DEFAULT NULL,
  2142. `month6` decimal(10,2) DEFAULT NULL,
  2143. `month7` decimal(10,2) DEFAULT NULL,
  2144. `month8` decimal(10,2) DEFAULT NULL,
  2145. `month9` decimal(10,2) DEFAULT NULL,
  2146. `month10` decimal(10,2) DEFAULT NULL,
  2147. `month11` decimal(10,2) DEFAULT NULL,
  2148. `month12` decimal(10,2) DEFAULT NULL,
  2149. `budget_type` varchar(45) DEFAULT NULL,
  2150. PRIMARY KEY (`id`),
  2151. UNIQUE KEY `dep_post` (`depart_id`,`years`,`budget_type`)
  2152. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2153. #加班预算结束
  2154. #薪资调整开始
  2155. INSERT INTO `t_s_type` VALUES ('402880ed6df1bae9016df1beae480001','wage_change','薪资调整',NULL,'402889fe47eddd340147ede15c070001','2019-10-22 12:34:29','管理员'),('402880ed6dfdfd5c016dfe163d790019','wage_change','薪资调整签报',NULL,'4028819b65a8b81c0165a9182bee0015','2019-10-24 22:05:33','管理员');
  2156. INSERT INTO `t_s_function` VALUES ('402880ed6ded2240016dedd42b4a0023',NULL,1,'薪资调整签报','26','tBusActivitiWageChangeController.do?list','402881e56dc9460b016dc94749800001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-10-22 13:28:43','2019-10-21 18:19:28','管理员');
  2157. INSERT INTO `p_activiti_task` VALUES ('402880ed6dfdfd5c016dfe182b72001b','管理员','admin','2019-10-24 22:07:40','管理员','admin','2019-10-24 22:14:53','A06A01','A06','1','请到薪酬系统调整${real_name}工资','402880ed6df1ef0e016df1fe8898000b','薪资调整',30,'day','offline','pc','#','ff8080815fdeab1f015ffb95145a00b9','人事助理',99,'com.xcgl.activititask.util.impl.UserActivitiTaskHandler',0,'wage_change','not_check');
  2158. CREATE TABLE `t_bus_activiti_wage_change` (
  2159. `id` varchar(36) NOT NULL,
  2160. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2161. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2162. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2163. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2164. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2165. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2166. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2167. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2168. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2169. `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '流程id',
  2170. `step_name` varchar(32) DEFAULT NULL COMMENT '流程名',
  2171. `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
  2172. `real_name` varchar(255) DEFAULT NULL COMMENT '员工姓名',
  2173. `depart_id` varchar(32) DEFAULT NULL COMMENT '项目id',
  2174. `dep_name` varchar(255) DEFAULT NULL COMMENT '项目名',
  2175. `remark` longtext COMMENT '薪资调整说明',
  2176. PRIMARY KEY (`id`),
  2177. KEY `create_by` (`create_by`)
  2178. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2179. update t_p_flowcondition set process_type=null where id='402881e56c4d997d016c4ff9036f001a';
  2180. update t_p_flowcondition set process_type=null where id='402881e56c4d997d016c4ff940ae001c';
  2181. INSERT INTO `t_p_process` VALUES ('402880ed6df1ef0e016df1fe8898000b','wage_change',NULL,'薪资调整',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1571722845487\" name=\"薪资调整\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402881e56c035875016c03a921af0032\" event=\"end\" class=\"cn.com.lzt.workflow.listener.task.ActivitiTaskListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1571722867331\" name=\"项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1571722922667\" name=\"部门经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'GUARD\')}\" >\r\n </userTask>\r\n <userTask id=\"task1571722944563\" name=\"项目管理部负责人\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_XMGLFZR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1571722954578\" name=\"人力资源部经理\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_HRJL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1571722961843\" name=\"薪资调整分管副总\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_RSFZ\')}\" >\r\n </userTask>\r\n <userTask id=\"task1571723057537\" name=\"总经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <userTask id=\"task1571723076689\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <exclusiveGateway id=\"exclusiveGateway1571722884029\" name=\"exclusiveGateway1571722884029\">\r\n </exclusiveGateway>\r\n <sequenceFlow id=\"flow1571722907659\" name=\"\" sourceRef=\"start1\" targetRef=\"exclusiveGateway1571722884029\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571722911403\" name=\"项目人员\" sourceRef=\"exclusiveGateway1571722884029\" targetRef=\"task1571722867331\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.projectUserType(BPM_FORM_KEY,id) == 1}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571722925020\" name=\"职能部门人员\" sourceRef=\"exclusiveGateway1571722884029\" targetRef=\"task1571722922667\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.projectUserType(BPM_FORM_KEY,id) == 0}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571722946674\" name=\"通过\" sourceRef=\"task1571722867331\" targetRef=\"task1571722944563\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571722956721\" name=\"通过\" sourceRef=\"task1571722944563\" targetRef=\"task1571722954578\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571723009833\" name=\"通过\" sourceRef=\"task1571722922667\" targetRef=\"task1571722954578\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571723033673\" name=\"通过\" sourceRef=\"task1571722954578\" targetRef=\"task1571722961843\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571727056349\" name=\"通过\" sourceRef=\"task1571722961843\" targetRef=\"task1571723057537\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571727165972\" name=\"通过\" sourceRef=\"task1571723057537\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571727240760\" name=\"驳回\" sourceRef=\"task1571722867331\" targetRef=\"task1571723076689\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571727249589\" name=\"驳回\" sourceRef=\"task1571722944563\" targetRef=\"task1571723076689\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571727256227\" name=\"驳回\" sourceRef=\"task1571722922667\" targetRef=\"task1571723076689\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571727263196\" name=\"驳回\" sourceRef=\"task1571722954578\" targetRef=\"task1571723076689\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571727268227\" name=\"驳回\" sourceRef=\"task1571722961843\" targetRef=\"task1571723076689\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571727274140\" name=\"驳回\" sourceRef=\"task1571723057537\" targetRef=\"task1571723076689\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1571730861382\" name=\"提交\" sourceRef=\"task1571723076689\" targetRef=\"exclusiveGateway1571722884029\">\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1571722845487\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1571722845487\" id=\"BPMNPlane_process1571722845487\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"200\" y=\"50\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"200\" y=\"741\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571722867331\" id=\"BPMNShape_task1571722867331\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"37\" y=\"200\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571722922667\" id=\"BPMNShape_task1571722922667\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"324\" y=\"240\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571722944563\" id=\"BPMNShape_task1571722944563\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"38\" y=\"370\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571722954578\" id=\"BPMNShape_task1571722954578\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"170\" y=\"427\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571722961843\" id=\"BPMNShape_task1571722961843\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"170\" y=\"544\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571723057537\" id=\"BPMNShape_task1571723057537\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"170\" y=\"642\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571723076689\" id=\"BPMNShape_task1571723076689\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"170\" y=\"271\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1571722884029\" id=\"BPMNShape_exclusiveGateway1571722884029\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"195\" y=\"150\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571722907659\" id=\"BPMNEdge_flow1571722907659\">\r\n <omgdi:waypoint x=\"215\" y=\"80\" />\r\n <omgdi:waypoint x=\"215\" y=\"150\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571722911403\" id=\"BPMNEdge_flow1571722911403\">\r\n <omgdi:waypoint x=\"195\" y=\"170\" />\r\n <omgdi:waypoint x=\"82\" y=\"170\" />\r\n <omgdi:waypoint x=\"82\" y=\"195\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571722925020\" id=\"BPMNEdge_flow1571722925020\">\r\n <omgdi:waypoint x=\"235\" y=\"170\" />\r\n <omgdi:waypoint x=\"369\" y=\"170\" />\r\n <omgdi:waypoint x=\"369\" y=\"235\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571722946674\" id=\"BPMNEdge_flow1571722946674\">\r\n <omgdi:waypoint x=\"82\" y=\"255\" />\r\n <omgdi:waypoint x=\"82\" y=\"310\" />\r\n <omgdi:waypoint x=\"83\" y=\"310\" />\r\n <omgdi:waypoint x=\"83\" y=\"365\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571722956721\" id=\"BPMNEdge_flow1571722956721\">\r\n <omgdi:waypoint x=\"83\" y=\"425\" />\r\n <omgdi:waypoint x=\"83\" y=\"452\" />\r\n <omgdi:waypoint x=\"165\" y=\"452\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571723009833\" id=\"BPMNEdge_flow1571723009833\">\r\n <omgdi:waypoint x=\"369\" y=\"295\" />\r\n <omgdi:waypoint x=\"369\" y=\"452\" />\r\n <omgdi:waypoint x=\"265\" y=\"452\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571723033673\" id=\"BPMNEdge_flow1571723033673\">\r\n <omgdi:waypoint x=\"215\" y=\"482\" />\r\n <omgdi:waypoint x=\"215\" y=\"539\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571727056349\" id=\"BPMNEdge_flow1571727056349\">\r\n <omgdi:waypoint x=\"215\" y=\"599\" />\r\n <omgdi:waypoint x=\"215\" y=\"637\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571727165972\" id=\"BPMNEdge_flow1571727165972\">\r\n <omgdi:waypoint x=\"215\" y=\"697\" />\r\n <omgdi:waypoint x=\"215\" y=\"741\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571727240760\" id=\"BPMNEdge_flow1571727240760\">\r\n <omgdi:waypoint x=\"132\" y=\"225\" />\r\n <omgdi:waypoint x=\"148\" y=\"225\" />\r\n <omgdi:waypoint x=\"148\" y=\"296\" />\r\n <omgdi:waypoint x=\"165\" y=\"296\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571727249589\" id=\"BPMNEdge_flow1571727249589\">\r\n <omgdi:waypoint x=\"133\" y=\"395\" />\r\n <omgdi:waypoint x=\"149\" y=\"395\" />\r\n <omgdi:waypoint x=\"149\" y=\"296\" />\r\n <omgdi:waypoint x=\"165\" y=\"296\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571727256227\" id=\"BPMNEdge_flow1571727256227\">\r\n <omgdi:waypoint x=\"319\" y=\"265\" />\r\n <omgdi:waypoint x=\"292\" y=\"265\" />\r\n <omgdi:waypoint x=\"292\" y=\"296\" />\r\n <omgdi:waypoint x=\"265\" y=\"296\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571727263196\" id=\"BPMNEdge_flow1571727263196\">\r\n <omgdi:waypoint x=\"215\" y=\"422\" />\r\n <omgdi:waypoint x=\"215\" y=\"326\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571727268227\" id=\"BPMNEdge_flow1571727268227\">\r\n <omgdi:waypoint x=\"265\" y=\"569\" />\r\n <omgdi:waypoint x=\"285\" y=\"569\" />\r\n <omgdi:waypoint x=\"285\" y=\"296\" />\r\n <omgdi:waypoint x=\"265\" y=\"296\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571727274140\" id=\"BPMNEdge_flow1571727274140\">\r\n <omgdi:waypoint x=\"265\" y=\"667\" />\r\n <omgdi:waypoint x=\"285\" y=\"667\" />\r\n <omgdi:waypoint x=\"285\" y=\"296\" />\r\n <omgdi:waypoint x=\"265\" y=\"296\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1571730861382\" id=\"BPMNEdge_flow1571730861382\">\r\n <omgdi:waypoint x=\"215\" y=\"266\" />\r\n <omgdi:waypoint x=\"215\" y=\"190\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-11-11 11:14:42','admin','管理员','2019-10-22 13:44:13','admin','process1571722845487',1,'0',NULL);
  2182. INSERT INTO `t_p_processnode` VALUES ('402880ed6df1ef0e016df1fe88ad000c',NULL,'402880ed6df1ef0e016df1fe8898000b','task1571722867331','项目经理','tBusActivitiWageChangeController.do?goView&flag=2','tBusActivitiWageChangeController.do?goViewMobile&flag=2',NULL,'402880ed6df1ef0e016df241bbeb0016','no','0'),('402880ed6df1ef0e016df1fe88b7000d',NULL,'402880ed6df1ef0e016df1fe8898000b','task1571722922667','部门经理','tBusActivitiWageChangeController.do?goView&flag=2','tBusActivitiWageChangeController.do?goViewMobile&flag=2',NULL,'402880ed6df1ef0e016df241bbeb0016','no','0'),('402880ed6df1ef0e016df1fe88c1000e',NULL,'402880ed6df1ef0e016df1fe8898000b','task1571722944563','项目管理部负责人','tBusActivitiWageChangeController.do?goView&flag=2','tBusActivitiWageChangeController.do?goViewMobile&flag=2',NULL,'402880ed6df1ef0e016df241bbeb0016','no','0'),('402880ed6df1ef0e016df1fe88ca000f',NULL,'402880ed6df1ef0e016df1fe8898000b','task1571722954578','人力资源部经理','tBusActivitiWageChangeController.do?goView&flag=2','tBusActivitiWageChangeController.do?goViewMobile&flag=2',NULL,'402880ed6df1ef0e016df241bbeb0016','no','0'),('402880ed6df1ef0e016df1fe88d50010',NULL,'402880ed6df1ef0e016df1fe8898000b','task1571722961843','薪资调整分管副总','tBusActivitiWageChangeController.do?goView&flag=2','tBusActivitiWageChangeController.do?goViewMobile&flag=2',NULL,'402880ed6df1ef0e016df241bbeb0016','no','0'),('402880ed6df1ef0e016df1ff32fa0011',NULL,'402880ed6df1ef0e016df1fe8898000b','task1571723057537','总经理','tBusActivitiWageChangeController.do?goView&flag=2','tBusActivitiWageChangeController.do?goViewMobile&flag=2',NULL,'402880ed6df1ef0e016df241bbeb0016','no','0'),('402880ed6df1ef0e016df1ff33070012',NULL,'402880ed6df1ef0e016df1fe8898000b','task1571723076689','制单人重填','tBusActivitiWageChangeController.do?goView&flag=1','tBusActivitiWageChangeController.do?goViewMobile&flag=1',NULL,'402880ed6df1ef0e016df242084b0018','no','0');
  2183. INSERT INTO `t_p_processnode_config` VALUES ('402880ed6df1ef0e016df241bbeb0016','wage_change','审批','tBusActivitiWageChangeController.do?goView&flag=2','tBusActivitiWageChangeController.do?goViewMobile&flag=2'),('402880ed6df1ef0e016df242084b0018','wage_change','制单人重填','tBusActivitiWageChangeController.do?goView&flag=1','tBusActivitiWageChangeController.do?goViewMobile&flag=1');
  2184. INSERT INTO `t_s_busconfig` VALUES ('402880ed6df1ef0e016df242e423001a',NULL,'online','','t_bus_activiti_wage_change','402880ed6df1ef0e016df1fe8898000b','薪资调整','formdeal','薪资调整','薪资调整','402880ed6df1ef0e016df23f9d0c0013');
  2185. INSERT INTO `t_process_busconfig` VALUES ('402880ed6df1ef0e016df23f9d0c0013','薪资调整','薪资调整','薪资调整','t_bus_activiti_wage_change','wage_change');
  2186. #薪资调整结束
  2187. #费用申请签报开始
  2188. INSERT INTO `t_s_typegroup` VALUES ('402880ed6df1ef0e016df2f5d35a0040','finance_subject','财务科目','2019-10-22 18:14:20','管理员'),('402880ed6df1ef0e016df2f5f7e70042','give_way','发放形式','2019-10-22 18:14:29','管理员');
  2189. #审批流类型
  2190. INSERT INTO `t_s_type` VALUES ('402880ed6df1bae9016df1c8dd510003','cost_request','费用申请',NULL,'402889fe47eddd340147ede15c070001','2019-10-22 12:45:36','管理员');
  2191. #财务科目
  2192. INSERT INTO `t_s_type` VALUES ('402880ed6df1ef0e016df2f650ee0044','code1','科目1',NULL,'402880ed6df1ef0e016df2f5d35a0040','2019-10-22 18:14:52','管理员'),('402880ed6df1ef0e016df2f67a710046','code2','科目2',NULL,'402880ed6df1ef0e016df2f5d35a0040','2019-10-22 18:15:03','管理员');
  2193. #发放形式
  2194. INSERT INTO `t_s_type` VALUES ('402880ed6df1ef0e016df2f6dc8f0048','cash','现金',NULL,'402880ed6df1ef0e016df2f5f7e70042','2019-10-22 18:15:28','管理员'),('402880ed6df1ef0e016df2f768f7004a','transfer','转账',NULL,'402880ed6df1ef0e016df2f5f7e70042','2019-10-22 18:16:04','管理员');
  2195. #费用申请签报菜单
  2196. INSERT INTO `t_s_function` VALUES ('402880ed6ded2240016dedd4aec40025',NULL,1,'费用申请签报','31','tBActivitiCostRequestController.do?list','402881e56dc9460b016dc94749800001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-10-22 19:44:01','2019-10-21 18:20:02','管理员');
  2197. #财务管理一级菜单及费用类型管理
  2198. INSERT INTO `t_s_function` VALUES ('402880ed6df1ef0e016df347a7cc0064',NULL,0,'财务管理','62','',NULL,'8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-10-22 19:44:31','2019-10-22 19:43:43','管理员'),('402880ed6df1ef0e016df34865ee0067',NULL,1,'费用类型管理','1','tBCostTypeController.do?list','402880ed6df1ef0e016df347a7cc0064','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-10-22 19:44:31',NULL);
  2199. CREATE TABLE `t_b_cost_type` (
  2200. `id` varchar(36) NOT NULL,
  2201. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2202. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2203. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2204. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2205. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2206. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2207. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2208. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2209. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2210. `code` varchar(255) DEFAULT NULL COMMENT '编号',
  2211. `name` varchar(255) DEFAULT NULL COMMENT '名称',
  2212. `finance_subject` varchar(32) DEFAULT NULL COMMENT '财务科目',
  2213. `paytype` varchar(32) DEFAULT NULL COMMENT '发放形式',
  2214. PRIMARY KEY (`id`)
  2215. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2216. CREATE TABLE `t_b_activiti_cost_request` (
  2217. `id` varchar(36) NOT NULL,
  2218. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2219. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2220. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2221. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2222. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2223. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2224. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2225. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2226. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2227. `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '审批流id',
  2228. `step_name` varchar(32) DEFAULT NULL COMMENT '审批流步骤',
  2229. `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
  2230. `real_name` varchar(255) DEFAULT NULL COMMENT '员工名',
  2231. `depart_id` varchar(32) DEFAULT NULL COMMENT '组织结构id',
  2232. `dep_name` varchar(255) DEFAULT NULL COMMENT '组织机构名称',
  2233. `code` varchar(255) DEFAULT NULL COMMENT '编码',
  2234. `cost_type` varchar(32) DEFAULT NULL COMMENT '费用类型',
  2235. `expect_money` decimal(10,2) DEFAULT NULL COMMENT '预计费用',
  2236. `summary` varchar(255) DEFAULT NULL COMMENT '用途摘要',
  2237. `remark` longtext COMMENT '备注',
  2238. `status` int(11) DEFAULT '0' COMMENT '状态',
  2239. `pay_type` varchar(45) DEFAULT NULL COMMENT ' 报销类型',
  2240. `pay_id` varchar(45) DEFAULT NULL COMMENT '报销id',
  2241. `pay_time` timestamp NULL DEFAULT NULL COMMENT '报销时间',
  2242. `pay_process_end_time` timestamp NULL DEFAULT NULL COMMENT '报销审核通过时间',
  2243. `actual_money` decimal(10,2) DEFAULT '0.00' COMMENT '实际产生金额',
  2244. PRIMARY KEY (`id`),
  2245. KEY `create_name` (`create_name`),
  2246. KEY `create_date` (`create_date`),
  2247. KEY `user` (`userid`,`depart_id`)
  2248. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2249. INSERT INTO `t_p_flowcondition` VALUES ('402880ed6e57cd76016e58529e550001','管理员','admin','2019-11-11 10:37:20',NULL,NULL,NULL,'A06A01','A06',NULL,'项目','${flowconditionUtil.departType(BPM_FORM_KEY,id) ==1 }'),('402880ed6e57cd76016e5852e6390003','管理员','admin','2019-11-11 10:37:38',NULL,NULL,NULL,'A06A01','A06',NULL,'职能部门','${flowconditionUtil.departType(BPM_FORM_KEY,id) ==2 }');
  2250. INSERT INTO `t_p_process` VALUES ('402880ed6df68e8c016df6a20bf2000b','cost_request',NULL,'费用申请',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1571800864498\" name=\"费用申请\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402880ed6ded2240016dedd28f5d001f\" event=\"end\" class=\"cn.com.lzt.workflow.listener.task.BusinessProcessEndListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1571800953040\" name=\"项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'DEPART_MANAGER\')}\" >\r\n </userTask>\r\n <userTask id=\"task1571800979427\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <userTask id=\"task1573454376235\" name=\"项目管理部负责人\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_XMGLFZR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1573454418875\" name=\"部门经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'DEPART_MANAGER\')}\" >\r\n </userTask>\r\n <userTask id=\"task1573454467033\" name=\"财务分管副总\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_CWFZ\')}\" >\r\n </userTask>\r\n <userTask id=\"task1573454657419\" name=\"总经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <exclusiveGateway id=\"exclusiveGateway1573454352996\" name=\"exclusiveGateway1573454352996\">\r\n </exclusiveGateway>\r\n <sequenceFlow id=\"flow1573454363666\" name=\"\" sourceRef=\"start1\" targetRef=\"exclusiveGateway1573454352996\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573454454505\" name=\"项目\" sourceRef=\"exclusiveGateway1573454352996\" targetRef=\"task1571800953040\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.departType(BPM_FORM_KEY,id) ==1 }]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573454456112\" name=\"职能部门\" sourceRef=\"exclusiveGateway1573454352996\" targetRef=\"task1573454418875\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.departType(BPM_FORM_KEY,id) ==2 }]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573454460418\" name=\"通过\" sourceRef=\"task1571800953040\" targetRef=\"task1573454376235\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573454498928\" name=\"通过\" sourceRef=\"task1573454376235\" targetRef=\"task1573454467033\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573454501409\" name=\"通过\" sourceRef=\"task1573454418875\" targetRef=\"task1573454467033\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573454684473\" name=\"通过\" sourceRef=\"task1573454467033\" targetRef=\"task1573454657419\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573454699727\" name=\"通过\" sourceRef=\"task1573454657419\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573454807720\" name=\"驳回\" sourceRef=\"task1571800953040\" targetRef=\"task1571800979427\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573454810224\" name=\"驳回\" sourceRef=\"task1573454376235\" targetRef=\"task1571800979427\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573454821792\" name=\"驳回\" sourceRef=\"task1573454418875\" targetRef=\"task1571800979427\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573454842008\" name=\"驳回\" sourceRef=\"task1573454467033\" targetRef=\"task1571800979427\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573454866959\" name=\"驳回\" sourceRef=\"task1573454657419\" targetRef=\"task1571800979427\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573454912527\" name=\"提交\" sourceRef=\"task1571800979427\" targetRef=\"exclusiveGateway1573454352996\">\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1571800864498\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1571800864498\" id=\"BPMNPlane_process1571800864498\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"200\" y=\"50\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"198\" y=\"624\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571800953040\" id=\"BPMNShape_task1571800953040\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"51\" y=\"214\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571800979427\" id=\"BPMNShape_task1571800979427\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"168\" y=\"261\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573454376235\" id=\"BPMNShape_task1573454376235\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"51\" y=\"319\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573454418875\" id=\"BPMNShape_task1573454418875\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"297\" y=\"212\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573454467033\" id=\"BPMNShape_task1573454467033\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"168\" y=\"401\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573454657419\" id=\"BPMNShape_task1573454657419\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"168\" y=\"508\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1573454352996\" id=\"BPMNShape_exclusiveGateway1573454352996\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"195\" y=\"130\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573454363666\" id=\"BPMNEdge_flow1573454363666\">\r\n <omgdi:waypoint x=\"215\" y=\"80\" />\r\n <omgdi:waypoint x=\"215\" y=\"130\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573454454505\" id=\"BPMNEdge_flow1573454454505\">\r\n <omgdi:waypoint x=\"195\" y=\"150\" />\r\n <omgdi:waypoint x=\"96\" y=\"150\" />\r\n <omgdi:waypoint x=\"96\" y=\"209\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573454456112\" id=\"BPMNEdge_flow1573454456112\">\r\n <omgdi:waypoint x=\"235\" y=\"150\" />\r\n <omgdi:waypoint x=\"342\" y=\"150\" />\r\n <omgdi:waypoint x=\"342\" y=\"207\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573454460418\" id=\"BPMNEdge_flow1573454460418\">\r\n <omgdi:waypoint x=\"96\" y=\"269\" />\r\n <omgdi:waypoint x=\"96\" y=\"314\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573454498928\" id=\"BPMNEdge_flow1573454498928\">\r\n <omgdi:waypoint x=\"96\" y=\"374\" />\r\n <omgdi:waypoint x=\"96\" y=\"426\" />\r\n <omgdi:waypoint x=\"163\" y=\"426\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573454501409\" id=\"BPMNEdge_flow1573454501409\">\r\n <omgdi:waypoint x=\"342\" y=\"267\" />\r\n <omgdi:waypoint x=\"342\" y=\"426\" />\r\n <omgdi:waypoint x=\"263\" y=\"426\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573454684473\" id=\"BPMNEdge_flow1573454684473\">\r\n <omgdi:waypoint x=\"213\" y=\"456\" />\r\n <omgdi:waypoint x=\"213\" y=\"503\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573454699727\" id=\"BPMNEdge_flow1573454699727\">\r\n <omgdi:waypoint x=\"213\" y=\"563\" />\r\n <omgdi:waypoint x=\"213\" y=\"624\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573454807720\" id=\"BPMNEdge_flow1573454807720\">\r\n <omgdi:waypoint x=\"146\" y=\"239\" />\r\n <omgdi:waypoint x=\"154\" y=\"239\" />\r\n <omgdi:waypoint x=\"154\" y=\"286\" />\r\n <omgdi:waypoint x=\"163\" y=\"286\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573454810224\" id=\"BPMNEdge_flow1573454810224\">\r\n <omgdi:waypoint x=\"146\" y=\"344\" />\r\n <omgdi:waypoint x=\"154\" y=\"344\" />\r\n <omgdi:waypoint x=\"154\" y=\"286\" />\r\n <omgdi:waypoint x=\"163\" y=\"286\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573454821792\" id=\"BPMNEdge_flow1573454821792\">\r\n <omgdi:waypoint x=\"292\" y=\"237\" />\r\n <omgdi:waypoint x=\"277\" y=\"237\" />\r\n <omgdi:waypoint x=\"277\" y=\"286\" />\r\n <omgdi:waypoint x=\"263\" y=\"286\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573454842008\" id=\"BPMNEdge_flow1573454842008\">\r\n <omgdi:waypoint x=\"213\" y=\"396\" />\r\n <omgdi:waypoint x=\"213\" y=\"316\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573454866959\" id=\"BPMNEdge_flow1573454866959\">\r\n <omgdi:waypoint x=\"263\" y=\"533\" />\r\n <omgdi:waypoint x=\"283\" y=\"533\" />\r\n <omgdi:waypoint x=\"283\" y=\"286\" />\r\n <omgdi:waypoint x=\"263\" y=\"286\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573454912527\" id=\"BPMNEdge_flow1573454912527\">\r\n <omgdi:waypoint x=\"213\" y=\"256\" />\r\n <omgdi:waypoint x=\"213\" y=\"213\" />\r\n <omgdi:waypoint x=\"215\" y=\"213\" />\r\n <omgdi:waypoint x=\"215\" y=\"170\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-11-11 20:49:34','admin','管理员','2019-10-23 11:21:18','admin','process1571800864498',1,'0',NULL);
  2251. INSERT INTO `t_p_processnode` VALUES ('402880ed6df68e8c016df6a43318000c',NULL,'402880ed6df68e8c016df6a20bf2000b','task1571800953040','项目经理','tBActivitiCostRequestController.do?goView&flag=2','tBActivitiCostRequestController.do?goViewMobile&flag=2',NULL,'402880ed6df68e8c016df6a69a6c0012','no','0'),('402880ed6df68e8c016df6a43322000d',NULL,'402880ed6df68e8c016df6a20bf2000b','task1571800979427','制单人重填','tBActivitiCostRequestController.do?goView&flag=1','tBActivitiCostRequestController.do?goViewMobile&flag=1',NULL,'402880ed6df68e8c016df6a704c40014','no','0'),('402880ed6e5864b2016e5932687a0012',NULL,'402880ed6df68e8c016df6a20bf2000b','task1573454376235','项目管理部负责人','tBActivitiCostRequestController.do?goView&flag=2','tBActivitiCostRequestController.do?goViewMobile&flag=2',NULL,'402880ed6df68e8c016df6a69a6c0012','no','0'),('402880ed6e5864b2016e593268b00013',NULL,'402880ed6df68e8c016df6a20bf2000b','task1573454418875','部门经理','tBActivitiCostRequestController.do?goView&flag=2','tBActivitiCostRequestController.do?goViewMobile&flag=2',NULL,'402880ed6df68e8c016df6a69a6c0012','no','0'),('402880ed6e5864b2016e593268b80014',NULL,'402880ed6df68e8c016df6a20bf2000b','task1573454467033','财务分管副总','tBActivitiCostRequestController.do?goView&flag=2','tBActivitiCostRequestController.do?goViewMobile&flag=2',NULL,'402880ed6df68e8c016df6a69a6c0012','no','0'),('402880ed6e5864b2016e593517550015',NULL,'402880ed6df68e8c016df6a20bf2000b','task1573454657419','总经理','tBActivitiCostRequestController.do?goView&flag=2','tBActivitiCostRequestController.do?goViewMobile&flag=2',NULL,'402880ed6df68e8c016df6a69a6c0012','no','0');
  2252. INSERT INTO `t_p_processnode_config` VALUES ('402880ed6df68e8c016df6a69a6c0012','cost_request','审批','tBActivitiCostRequestController.do?goView&flag=2','tBActivitiCostRequestController.do?goViewMobile&flag=2'),('402880ed6df68e8c016df6a704c40014','cost_request','制单人重填','tBActivitiCostRequestController.do?goView&flag=1','tBActivitiCostRequestController.do?goViewMobile&flag=1');
  2253. INSERT INTO `t_s_busconfig` VALUES ('402880ed6df68e8c016df6a80bde0017',NULL,'online','','t_b_activiti_cost_request','402880ed6df68e8c016df6a20bf2000b','费用申请','formdeal','费用申请','费用申请','402880ed6df68e8c016df6a5a50c0010');
  2254. INSERT INTO `t_process_busconfig` VALUES ('402880ed6df68e8c016df6a5a50c0010','费用申请','费用申请','费用申请','t_b_activiti_cost_request','cost_request');
  2255. #费用申请签报结束
  2256. #临时对公付款开始
  2257. INSERT INTO `t_s_typegroup` VALUES ('402880ed6df8aac4016df8c2f0bc000e','cost_pay_priority','报销紧急程度','2019-10-23 21:16:28','管理员');
  2258. #签报类型
  2259. INSERT INTO `t_s_type` VALUES ('402880ed6df1bae9016df1c9a36a0005','cost_tmp_com_pay','临时付款(公对公)',NULL,'402889fe47eddd340147ede15c070001','2019-10-22 12:46:27','管理员');
  2260. #紧急程度
  2261. INSERT INTO `t_s_type` VALUES ('402880ed6df8aac4016df8c331650010','5','一般',NULL,'402880ed6df8aac4016df8c2f0bc000e','2019-10-23 21:16:45','管理员'),('402880ed6df8aac4016df8c35eef0012','10','紧急',NULL,'402880ed6df8aac4016df8c2f0bc000e','2019-10-23 21:16:56','管理员');
  2262. #菜单
  2263. INSERT INTO `t_s_function` VALUES ('402880ed6ded2240016dedd53f5e0027',NULL,1,'临时付款(对公)签报','35','tBActivitiCostPayTmpCompanyController.do?list','402881e56dc9460b016dc94749800001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-10-23 17:58:19','2019-10-21 18:20:39','管理员');
  2264. CREATE TABLE `t_b_activiti_cost_pay_tmp_company` (
  2265. `id` varchar(36) NOT NULL,
  2266. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2267. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2268. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2269. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2270. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2271. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2272. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2273. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2274. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2275. `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '流程id',
  2276. `step_name` varchar(32) DEFAULT NULL COMMENT '流程名',
  2277. `request_id` varchar(32) DEFAULT NULL COMMENT '申请单',
  2278. `pay_money` decimal(10,2) DEFAULT NULL COMMENT '付款金额',
  2279. `priority` varchar(32) DEFAULT NULL COMMENT '紧急程度',
  2280. `bank_name` varchar(255) DEFAULT NULL COMMENT '对方开户行',
  2281. `bank_user` varchar(255) DEFAULT NULL COMMENT '对方开户名称',
  2282. `bank_num` varchar(255) DEFAULT NULL COMMENT '对方银行账号',
  2283. `contact_user` varchar(255) DEFAULT NULL COMMENT '联系人',
  2284. `contact_way` varchar(255) DEFAULT NULL COMMENT '联系方式',
  2285. `userid` varchar(45) DEFAULT NULL,
  2286. `real_name` varchar(255) DEFAULT NULL,
  2287. `depart_id` varchar(45) DEFAULT NULL,
  2288. `dep_name` varchar(255) DEFAULT NULL,
  2289. `paystatus` varchar(10) DEFAULT '0' COMMENT '0 未支付 1已支付',
  2290. `paydate` timestamp NULL DEFAULT NULL,
  2291. `payOperator` varchar(45) DEFAULT NULL COMMENT '支付操作人员',
  2292. PRIMARY KEY (`id`),
  2293. KEY `requestid` (`request_id`),
  2294. KEY `user` (`create_by`)
  2295. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2296. INSERT INTO `t_p_flowcondition` VALUES ('402880ed6e5864b2016e5971435a0029','管理员','admin','2019-11-11 15:50:25',NULL,NULL,NULL,'A06A01','A06',NULL,'费用超额','${flowconditionUtil.isOverRequestMoney(BPM_FORM_KEY,id)}'),('402880ed6e5864b2016e5971d2fb002b','管理员','admin','2019-11-11 15:51:02',NULL,NULL,NULL,'A06A01','A06',NULL,'费用未超额','${!flowconditionUtil.isOverRequestMoney(BPM_FORM_KEY,id)}');
  2297. INSERT INTO `t_p_process` VALUES ('402880ed6df81c44016df88424f50012','cost_tmp_com_pay',NULL,'临时对公付款',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1571832456859\" name=\"临时对公付款\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402880ed6ded2240016dedd28f5d001f\" event=\"end\" class=\"cn.com.lzt.workflow.listener.task.BusinessProcessEndListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1571832474237\" name=\"项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'DEPART_MANAGER\')}\" >\r\n </userTask>\r\n <userTask id=\"task1571832494082\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <userTask id=\"task1573457634011\" name=\"财务分管副总\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_CWFZ\')}\" >\r\n </userTask>\r\n <userTask id=\"task1573457841387\" name=\"部门经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'DEPART_MANAGER\')}\" >\r\n </userTask>\r\n <userTask id=\"task1573457865393\" name=\"项目管理部负责人\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_XMGLFZR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1573457903640\" name=\"财务分管副总\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_CWFZ\')}\" >\r\n </userTask>\r\n <userTask id=\"task1573457930937\" name=\"总经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <exclusiveGateway id=\"exclusiveGateway1573457579659\" name=\"exclusiveGateway1573457579659\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1573457638229\" name=\"exclusiveGateway1573457638229\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1573458393897\" name=\"exclusiveGateway1573458393897\">\r\n </exclusiveGateway>\r\n <sequenceFlow id=\"flow1573457598938\" name=\"\" sourceRef=\"start1\" targetRef=\"exclusiveGateway1573457579659\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573457640953\" name=\"未超额\" sourceRef=\"exclusiveGateway1573457579659\" targetRef=\"task1573457634011\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${!flowconditionUtil.isOverRequestMoney(BPM_FORM_KEY,id)}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573457806377\" name=\"超额\" sourceRef=\"exclusiveGateway1573457579659\" targetRef=\"exclusiveGateway1573457638229\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isOverRequestMoney(BPM_FORM_KEY,id)}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573457824377\" name=\"项目\" sourceRef=\"exclusiveGateway1573457638229\" targetRef=\"task1571832474237\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.departType(BPM_FORM_KEY,id) ==1 }]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573457846088\" name=\"职能部门\" sourceRef=\"exclusiveGateway1573457638229\" targetRef=\"task1573457841387\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573457884345\" name=\"通过\" sourceRef=\"task1571832474237\" targetRef=\"task1573457865393\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573457928985\" name=\"通过\" sourceRef=\"task1573457865393\" targetRef=\"task1573457903640\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573457952544\" name=\"通过\" sourceRef=\"task1573457903640\" targetRef=\"task1573457930937\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573457961337\" name=\"通过\" sourceRef=\"task1573457930937\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573457969177\" name=\"通过\" sourceRef=\"task1573457841387\" targetRef=\"task1573457903640\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573457997082\" name=\"通过\" sourceRef=\"task1573457634011\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573458041665\" name=\"驳回\" sourceRef=\"task1571832474237\" targetRef=\"exclusiveGateway1573458393897\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573458050935\" name=\"驳回\" sourceRef=\"task1573457865393\" targetRef=\"exclusiveGateway1573458393897\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573458058080\" name=\"驳回\" sourceRef=\"task1573457841387\" targetRef=\"exclusiveGateway1573458393897\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573458066808\" name=\"驳回\" sourceRef=\"task1573457903640\" targetRef=\"exclusiveGateway1573458393897\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573458077560\" name=\"驳回\" sourceRef=\"task1573457930937\" targetRef=\"task1571832494082\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573458083600\" name=\"驳回\" sourceRef=\"task1573457634011\" targetRef=\"task1571832494082\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573458089292\" name=\"提交\" sourceRef=\"task1571832494082\" targetRef=\"exclusiveGateway1573457579659\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573458465087\" name=\"\" sourceRef=\"exclusiveGateway1573458393897\" targetRef=\"task1571832494082\">\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1571832456859\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1571832456859\" id=\"BPMNPlane_process1571832456859\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"478\" y=\"39\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"213\" y=\"725\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571832474237\" id=\"BPMNShape_task1571832474237\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"23\" y=\"292\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571832494082\" id=\"BPMNShape_task1571832494082\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"448\" y=\"287\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573457634011\" id=\"BPMNShape_task1573457634011\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"609\" y=\"287\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573457841387\" id=\"BPMNShape_task1573457841387\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"310\" y=\"346\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573457865393\" id=\"BPMNShape_task1573457865393\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"23\" y=\"411\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573457903640\" id=\"BPMNShape_task1573457903640\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"183\" y=\"496\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573457930937\" id=\"BPMNShape_task1573457930937\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"183\" y=\"616\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1573457579659\" id=\"BPMNShape_exclusiveGateway1573457579659\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"473\" y=\"136\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1573457638229\" id=\"BPMNShape_exclusiveGateway1573457638229\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"196\" y=\"187\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1573458393897\" id=\"BPMNShape_exclusiveGateway1573458393897\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"208\" y=\"309\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573457598938\" id=\"BPMNEdge_flow1573457598938\">\r\n <omgdi:waypoint x=\"493\" y=\"69\" />\r\n <omgdi:waypoint x=\"493\" y=\"136\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573457640953\" id=\"BPMNEdge_flow1573457640953\">\r\n <omgdi:waypoint x=\"513\" y=\"156\" />\r\n <omgdi:waypoint x=\"654\" y=\"156\" />\r\n <omgdi:waypoint x=\"654\" y=\"282\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573457806377\" id=\"BPMNEdge_flow1573457806377\">\r\n <omgdi:waypoint x=\"473\" y=\"156\" />\r\n <omgdi:waypoint x=\"216\" y=\"156\" />\r\n <omgdi:waypoint x=\"216\" y=\"187\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573457824377\" id=\"BPMNEdge_flow1573457824377\">\r\n <omgdi:waypoint x=\"196\" y=\"207\" />\r\n <omgdi:waypoint x=\"68\" y=\"207\" />\r\n <omgdi:waypoint x=\"68\" y=\"287\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573457846088\" id=\"BPMNEdge_flow1573457846088\">\r\n <omgdi:waypoint x=\"236\" y=\"207\" />\r\n <omgdi:waypoint x=\"355\" y=\"207\" />\r\n <omgdi:waypoint x=\"355\" y=\"341\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573457884345\" id=\"BPMNEdge_flow1573457884345\">\r\n <omgdi:waypoint x=\"68\" y=\"347\" />\r\n <omgdi:waypoint x=\"68\" y=\"406\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573457928985\" id=\"BPMNEdge_flow1573457928985\">\r\n <omgdi:waypoint x=\"68\" y=\"466\" />\r\n <omgdi:waypoint x=\"68\" y=\"521\" />\r\n <omgdi:waypoint x=\"178\" y=\"521\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573457952544\" id=\"BPMNEdge_flow1573457952544\">\r\n <omgdi:waypoint x=\"228\" y=\"551\" />\r\n <omgdi:waypoint x=\"228\" y=\"611\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573457961337\" id=\"BPMNEdge_flow1573457961337\">\r\n <omgdi:waypoint x=\"228\" y=\"671\" />\r\n <omgdi:waypoint x=\"228\" y=\"725\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573457969177\" id=\"BPMNEdge_flow1573457969177\">\r\n <omgdi:waypoint x=\"355\" y=\"401\" />\r\n <omgdi:waypoint x=\"355\" y=\"521\" />\r\n <omgdi:waypoint x=\"278\" y=\"521\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573457997082\" id=\"BPMNEdge_flow1573457997082\">\r\n <omgdi:waypoint x=\"654\" y=\"342\" />\r\n <omgdi:waypoint x=\"654\" y=\"740\" />\r\n <omgdi:waypoint x=\"243\" y=\"740\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573458041665\" id=\"BPMNEdge_flow1573458041665\">\r\n <omgdi:waypoint x=\"118\" y=\"317\" />\r\n <omgdi:waypoint x=\"163\" y=\"317\" />\r\n <omgdi:waypoint x=\"163\" y=\"329\" />\r\n <omgdi:waypoint x=\"208\" y=\"329\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573458050935\" id=\"BPMNEdge_flow1573458050935\">\r\n <omgdi:waypoint x=\"118\" y=\"436\" />\r\n <omgdi:waypoint x=\"163\" y=\"436\" />\r\n <omgdi:waypoint x=\"163\" y=\"329\" />\r\n <omgdi:waypoint x=\"208\" y=\"329\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573458058080\" id=\"BPMNEdge_flow1573458058080\">\r\n <omgdi:waypoint x=\"305\" y=\"371\" />\r\n <omgdi:waypoint x=\"276\" y=\"371\" />\r\n <omgdi:waypoint x=\"276\" y=\"329\" />\r\n <omgdi:waypoint x=\"248\" y=\"329\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573458066808\" id=\"BPMNEdge_flow1573458066808\">\r\n <omgdi:waypoint x=\"228\" y=\"491\" />\r\n <omgdi:waypoint x=\"228\" y=\"349\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573458077560\" id=\"BPMNEdge_flow1573458077560\">\r\n <omgdi:waypoint x=\"278\" y=\"641\" />\r\n <omgdi:waypoint x=\"493\" y=\"641\" />\r\n <omgdi:waypoint x=\"493\" y=\"342\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573458083600\" id=\"BPMNEdge_flow1573458083600\">\r\n <omgdi:waypoint x=\"604\" y=\"312\" />\r\n <omgdi:waypoint x=\"543\" y=\"312\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573458089292\" id=\"BPMNEdge_flow1573458089292\">\r\n <omgdi:waypoint x=\"493\" y=\"282\" />\r\n <omgdi:waypoint x=\"493\" y=\"176\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573458465087\" id=\"BPMNEdge_flow1573458465087\">\r\n <omgdi:waypoint x=\"228\" y=\"309\" />\r\n <omgdi:waypoint x=\"228\" y=\"289\" />\r\n <omgdi:waypoint x=\"335\" y=\"289\" />\r\n <omgdi:waypoint x=\"335\" y=\"312\" />\r\n <omgdi:waypoint x=\"443\" y=\"312\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-11-11 20:50:01','admin','管理员','2019-10-23 20:07:53','admin','process1571832456859',1,'0',NULL);
  2298. INSERT INTO `t_p_processnode` VALUES ('402880ed6df81c44016df885160d0013',NULL,'402880ed6df81c44016df88424f50012','task1571832474237','项目经理','tBActivitiCostPayTmpCompanyController.do?goView&flag=2','tBActivitiCostPayTmpCompanyController.do?goViewMobile&flag=2',NULL,'402880ed6df81c44016df889280b0017','no','0'),('402880ed6df81c44016df88516190014',NULL,'402880ed6df81c44016df88424f50012','task1571832494082','制单人重填','tBActivitiCostPayTmpCompanyController.do?goView&flag=1','tBActivitiCostPayTmpCompanyController.do?goViewMobile&flag=1',NULL,'402880ed6df81c44016df88969000019','no','0'),('402880ed6e5864b2016e5966f4f40024',NULL,'402880ed6df81c44016df88424f50012','task1573457634011','财务分管副总','tBActivitiCostPayTmpCompanyController.do?goView&flag=2','tBActivitiCostPayTmpCompanyController.do?goViewMobile&flag=2',NULL,'402880ed6df81c44016df889280b0017','no','0'),('402880ed6e5864b2016e5966f4fc0025',NULL,'402880ed6df81c44016df88424f50012','task1573457841387','部门经理','tBActivitiCostPayTmpCompanyController.do?goView&flag=2','tBActivitiCostPayTmpCompanyController.do?goViewMobile&flag=2',NULL,'402880ed6df81c44016df889280b0017','no','0'),('402880ed6e5864b2016e5966f5030026',NULL,'402880ed6df81c44016df88424f50012','task1573457865393','项目管理部负责人','tBActivitiCostPayTmpCompanyController.do?goView&flag=2','tBActivitiCostPayTmpCompanyController.do?goViewMobile&flag=2',NULL,'402880ed6df81c44016df889280b0017','no','0'),('402880ed6e5864b2016e5966f50b0027',NULL,'402880ed6df81c44016df88424f50012','task1573457903640','财务分管副总','tBActivitiCostPayTmpCompanyController.do?goView&flag=2','tBActivitiCostPayTmpCompanyController.do?goViewMobile&flag=2',NULL,'402880ed6df81c44016df889280b0017','no','0'),('402880ed6e5864b2016e5966f5120028',NULL,'402880ed6df81c44016df88424f50012','task1573457930937','总经理','tBActivitiCostPayTmpCompanyController.do?goView&flag=2','tBActivitiCostPayTmpCompanyController.do?goViewMobile&flag=2',NULL,'402880ed6df81c44016df889280b0017','no','0');
  2299. INSERT INTO `t_p_processnode_config` VALUES ('402880ed6df81c44016df889280b0017','cost_tmp_com_pay','审批','tBActivitiCostPayTmpCompanyController.do?goView&flag=2','tBActivitiCostPayTmpCompanyController.do?goViewMobile&flag=2'),('402880ed6df81c44016df88969000019','cost_tmp_com_pay','制单人重填','tBActivitiCostPayTmpCompanyController.do?goView&flag=1','tBActivitiCostPayTmpCompanyController.do?goViewMobile&flag=1');
  2300. INSERT INTO `t_s_busconfig` VALUES ('402880ed6df81c44016df88a3aec001b',NULL,'online','','t_b_activiti_cost_pay_tmp_company','402880ed6df81c44016df88424f50012','临时付款(公对公)','formdeal','临时付款(公对公)','临时付款(公对公)','402880ed6df81c44016df885fdbf0015');
  2301. INSERT INTO `t_process_busconfig` VALUES ('402880ed6df81c44016df885fdbf0015','临时付款(公对公)','临时付款(公对公)','临时付款(公对公)','t_b_activiti_cost_pay_tmp_company','cost_tmp_com_pay');
  2302. #临时对公付款结束
  2303. #费用报销签报
  2304. INSERT INTO `t_s_type` VALUES ('402880ed6df1bae9016df1ca79c70007','cost_pay','费用报销',NULL,'402889fe47eddd340147ede15c070001','2019-10-22 12:47:22','管理员');
  2305. INSERT INTO `t_s_function` VALUES ('402880ed6ded2240016dedd6332c002b',NULL,1,'费用报销签报','38','tBActivitiCostPayInnerUserController.do?list','402881e56dc9460b016dc94749800001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-10-24 08:34:55','2019-10-21 18:21:41','管理员');
  2306. CREATE TABLE `t_b_activiti_cost_pay_inner_user` (
  2307. `id` varchar(36) NOT NULL,
  2308. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2309. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2310. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2311. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2312. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2313. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2314. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2315. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2316. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2317. `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '流程id',
  2318. `step_name` varchar(32) DEFAULT NULL COMMENT '流程名',
  2319. `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
  2320. `real_name` varchar(255) DEFAULT NULL COMMENT '员工姓名',
  2321. `code` varchar(255) DEFAULT NULL COMMENT '编码',
  2322. `depart_id` varchar(32) DEFAULT NULL COMMENT '组织机构id',
  2323. `dep_name` varchar(255) DEFAULT NULL COMMENT '组织结构',
  2324. `total_expect_money` decimal(10,2) DEFAULT NULL COMMENT '总预计金额',
  2325. `total_pay_money` decimal(10,2) DEFAULT NULL COMMENT '总金额',
  2326. `total_bill_count` int(11) DEFAULT NULL COMMENT '总发票张数',
  2327. `paystatus` varchar(10) DEFAULT '0' COMMENT '0 未支付 1已支付',
  2328. `paydate` timestamp NULL DEFAULT NULL COMMENT '支付时间',
  2329. `payOperator` varchar(45) DEFAULT NULL COMMENT '支付操作人员',
  2330. PRIMARY KEY (`id`),
  2331. KEY `create_by` (`create_by`)
  2332. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2333. CREATE TABLE `t_b_activiti_cost_pay_inner_user_detail` (
  2334. `id` varchar(36) NOT NULL,
  2335. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2336. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2337. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2338. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2339. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2340. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2341. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2342. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2343. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2344. `request_id` varchar(32) DEFAULT NULL COMMENT '费用申请id',
  2345. `request_summary` varchar(255) DEFAULT NULL COMMENT '费用申请摘要',
  2346. `expect_money` decimal(10,2) DEFAULT NULL COMMENT '预计金额',
  2347. `pay_money` decimal(10,2) DEFAULT NULL COMMENT '实际金额',
  2348. `finance_subject` varchar(32) DEFAULT NULL COMMENT '费用类型科目',
  2349. `bill_count` int(11) DEFAULT NULL COMMENT '发票张数',
  2350. `pay_time` datetime DEFAULT NULL COMMENT '支付时间',
  2351. `cost_pay_inner_user_id` varchar(32) DEFAULT NULL COMMENT '外键id',
  2352. PRIMARY KEY (`id`),
  2353. KEY `requestid` (`request_id`),
  2354. KEY `inner_user_id` (`cost_pay_inner_user_id`)
  2355. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2356. INSERT INTO `t_p_process` VALUES ('402880ed6dfbaf9f016dfbb38fdc0008','cost_pay',NULL,'费用报销签报',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1571885893101\" name=\"费用报销签报\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402880ed6ded2240016dedd28f5d001f\" event=\"end\" class=\"cn.com.lzt.workflow.listener.task.BusinessProcessEndListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1571885915666\" name=\"项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'DEPART_MANAGER\')}\" >\r\n </userTask>\r\n <userTask id=\"task1571886445459\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <userTask id=\"task1573475949767\" name=\"财务分管副总\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_CWFZ\')}\" >\r\n </userTask>\r\n <userTask id=\"task1573476042990\" name=\"部门经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'DEPART_MANAGER\')}\" >\r\n </userTask>\r\n <userTask id=\"task1573476114597\" name=\"项目管理部负责人\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_XMGLFZR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1573476158813\" name=\"财务分管副总\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_CWFZ\')}\" >\r\n </userTask>\r\n <userTask id=\"task1573476221479\" name=\"总经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <exclusiveGateway id=\"exclusiveGateway1573475904304\" name=\"exclusiveGateway1573475904304\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1573475930158\" name=\"exclusiveGateway1573475930158\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1573476296110\" name=\"exclusiveGateway1573476296110\">\r\n </exclusiveGateway>\r\n <sequenceFlow id=\"flow1573475913773\" name=\"\" sourceRef=\"start1\" targetRef=\"exclusiveGateway1573475904304\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573475932605\" name=\"超额\" sourceRef=\"exclusiveGateway1573475904304\" targetRef=\"exclusiveGateway1573475930158\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isOverRequestMoney(BPM_FORM_KEY,id)}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573475951196\" name=\"未超额\" sourceRef=\"exclusiveGateway1573475904304\" targetRef=\"task1573475949767\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${!flowconditionUtil.isOverRequestMoney(BPM_FORM_KEY,id)}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476004039\" name=\"项目\" sourceRef=\"exclusiveGateway1573475930158\" targetRef=\"task1571885915666\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.departType(BPM_FORM_KEY,id) ==1 }]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476046357\" name=\"职能部门\" sourceRef=\"exclusiveGateway1573475930158\" targetRef=\"task1573476042990\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.departType(BPM_FORM_KEY,id) ==2 }]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476150621\" name=\"通过\" sourceRef=\"task1571885915666\" targetRef=\"task1573476114597\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476160260\" name=\"通过\" sourceRef=\"task1573476114597\" targetRef=\"task1573476158813\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476211472\" name=\"通过\" sourceRef=\"task1573476042990\" targetRef=\"task1573476158813\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476264932\" name=\"通过\" sourceRef=\"task1573476158813\" targetRef=\"task1573476221479\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476267780\" name=\"通过\" sourceRef=\"task1573476221479\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476286966\" name=\"通过\" sourceRef=\"task1573475949767\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476298069\" name=\"驳回\" sourceRef=\"task1571885915666\" targetRef=\"exclusiveGateway1573476296110\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476300763\" name=\"驳回\" sourceRef=\"task1573476114597\" targetRef=\"exclusiveGateway1573476296110\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476314946\" name=\"驳回\" sourceRef=\"task1573476158813\" targetRef=\"exclusiveGateway1573476296110\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476321156\" name=\"驳回\" sourceRef=\"task1573476221479\" targetRef=\"task1571886445459\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476326068\" name=\"驳回\" sourceRef=\"task1573476042990\" targetRef=\"exclusiveGateway1573476296110\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476330822\" name=\"\" sourceRef=\"exclusiveGateway1573476296110\" targetRef=\"task1571886445459\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476335372\" name=\"驳回\" sourceRef=\"task1573475949767\" targetRef=\"task1571886445459\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573476343430\" name=\"提交\" sourceRef=\"task1571886445459\" targetRef=\"exclusiveGateway1573475904304\">\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1571885893101\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1571885893101\" id=\"BPMNPlane_process1571885893101\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"475\" y=\"33\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"205\" y=\"683\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571885915666\" id=\"BPMNShape_task1571885915666\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"81\" y=\"243\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571886445459\" id=\"BPMNShape_task1571886445459\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"445\" y=\"279\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573475949767\" id=\"BPMNShape_task1573475949767\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"613\" y=\"279\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573476042990\" id=\"BPMNShape_task1573476042990\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"292\" y=\"241\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573476114597\" id=\"BPMNShape_task1573476114597\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"81\" y=\"352\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573476158813\" id=\"BPMNShape_task1573476158813\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"175\" y=\"464\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573476221479\" id=\"BPMNShape_task1573476221479\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"175\" y=\"570\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1573475904304\" id=\"BPMNShape_exclusiveGateway1573475904304\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"470\" y=\"111\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1573475930158\" id=\"BPMNShape_exclusiveGateway1573475930158\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"212\" y=\"151\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1573476296110\" id=\"BPMNShape_exclusiveGateway1573476296110\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"209\" y=\"318\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573475913773\" id=\"BPMNEdge_flow1573475913773\">\r\n <omgdi:waypoint x=\"490\" y=\"63\" />\r\n <omgdi:waypoint x=\"490\" y=\"111\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573475932605\" id=\"BPMNEdge_flow1573475932605\">\r\n <omgdi:waypoint x=\"470\" y=\"131\" />\r\n <omgdi:waypoint x=\"232\" y=\"131\" />\r\n <omgdi:waypoint x=\"232\" y=\"151\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573475951196\" id=\"BPMNEdge_flow1573475951196\">\r\n <omgdi:waypoint x=\"510\" y=\"131\" />\r\n <omgdi:waypoint x=\"658\" y=\"131\" />\r\n <omgdi:waypoint x=\"658\" y=\"274\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476004039\" id=\"BPMNEdge_flow1573476004039\">\r\n <omgdi:waypoint x=\"212\" y=\"171\" />\r\n <omgdi:waypoint x=\"126\" y=\"171\" />\r\n <omgdi:waypoint x=\"126\" y=\"238\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476046357\" id=\"BPMNEdge_flow1573476046357\">\r\n <omgdi:waypoint x=\"252\" y=\"171\" />\r\n <omgdi:waypoint x=\"337\" y=\"171\" />\r\n <omgdi:waypoint x=\"337\" y=\"236\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476150621\" id=\"BPMNEdge_flow1573476150621\">\r\n <omgdi:waypoint x=\"126\" y=\"298\" />\r\n <omgdi:waypoint x=\"126\" y=\"347\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476160260\" id=\"BPMNEdge_flow1573476160260\">\r\n <omgdi:waypoint x=\"126\" y=\"407\" />\r\n <omgdi:waypoint x=\"126\" y=\"489\" />\r\n <omgdi:waypoint x=\"170\" y=\"489\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476211472\" id=\"BPMNEdge_flow1573476211472\">\r\n <omgdi:waypoint x=\"337\" y=\"296\" />\r\n <omgdi:waypoint x=\"337\" y=\"489\" />\r\n <omgdi:waypoint x=\"270\" y=\"489\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476264932\" id=\"BPMNEdge_flow1573476264932\">\r\n <omgdi:waypoint x=\"220\" y=\"519\" />\r\n <omgdi:waypoint x=\"220\" y=\"565\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476267780\" id=\"BPMNEdge_flow1573476267780\">\r\n <omgdi:waypoint x=\"220\" y=\"625\" />\r\n <omgdi:waypoint x=\"220\" y=\"683\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476286966\" id=\"BPMNEdge_flow1573476286966\">\r\n <omgdi:waypoint x=\"658\" y=\"334\" />\r\n <omgdi:waypoint x=\"658\" y=\"698\" />\r\n <omgdi:waypoint x=\"235\" y=\"698\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476298069\" id=\"BPMNEdge_flow1573476298069\">\r\n <omgdi:waypoint x=\"176\" y=\"268\" />\r\n <omgdi:waypoint x=\"192\" y=\"268\" />\r\n <omgdi:waypoint x=\"192\" y=\"338\" />\r\n <omgdi:waypoint x=\"209\" y=\"338\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476300763\" id=\"BPMNEdge_flow1573476300763\">\r\n <omgdi:waypoint x=\"176\" y=\"377\" />\r\n <omgdi:waypoint x=\"192\" y=\"377\" />\r\n <omgdi:waypoint x=\"192\" y=\"338\" />\r\n <omgdi:waypoint x=\"209\" y=\"338\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476314946\" id=\"BPMNEdge_flow1573476314946\">\r\n <omgdi:waypoint x=\"220\" y=\"459\" />\r\n <omgdi:waypoint x=\"220\" y=\"408\" />\r\n <omgdi:waypoint x=\"229\" y=\"408\" />\r\n <omgdi:waypoint x=\"229\" y=\"358\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476321156\" id=\"BPMNEdge_flow1573476321156\">\r\n <omgdi:waypoint x=\"270\" y=\"595\" />\r\n <omgdi:waypoint x=\"490\" y=\"595\" />\r\n <omgdi:waypoint x=\"490\" y=\"334\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476326068\" id=\"BPMNEdge_flow1573476326068\">\r\n <omgdi:waypoint x=\"287\" y=\"266\" />\r\n <omgdi:waypoint x=\"229\" y=\"266\" />\r\n <omgdi:waypoint x=\"229\" y=\"318\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476330822\" id=\"BPMNEdge_flow1573476330822\">\r\n <omgdi:waypoint x=\"249\" y=\"338\" />\r\n <omgdi:waypoint x=\"344\" y=\"338\" />\r\n <omgdi:waypoint x=\"344\" y=\"304\" />\r\n <omgdi:waypoint x=\"440\" y=\"304\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476335372\" id=\"BPMNEdge_flow1573476335372\">\r\n <omgdi:waypoint x=\"608\" y=\"304\" />\r\n <omgdi:waypoint x=\"540\" y=\"304\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573476343430\" id=\"BPMNEdge_flow1573476343430\">\r\n <omgdi:waypoint x=\"490\" y=\"274\" />\r\n <omgdi:waypoint x=\"490\" y=\"151\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-11-11 20:57:49','admin','管理员','2019-10-24 10:58:32','admin','process1571885893101',1,'0',NULL);
  2357. INSERT INTO `t_p_processnode` VALUES ('402880ed6dfbaf9f016dfbbc5d7c0009',NULL,'402880ed6dfbaf9f016dfbb38fdc0008','task1571885915666','项目经理','tBActivitiCostPayInnerUserController.do?goView&flag=2','tBActivitiCostPayInnerUserController.do?goViewMobile&flag=2',NULL,'402880ed6dfbaf9f016dfbbdb1b0000d','no','0'),('402880ed6dfbaf9f016dfbbc5d85000a',NULL,'402880ed6dfbaf9f016dfbb38fdc0008','task1571886445459','制单人重填','tBActivitiCostPayInnerUserController.do?goView&flag=1','tBActivitiCostPayInnerUserController.do?goViewMobile&flag=1',NULL,'402880ed6dfbaf9f016dfbbde4e3000f','no','0'),('402880ed6e59754c016e5a7b4275000f',NULL,'402880ed6dfbaf9f016dfbb38fdc0008','task1573475949767','财务分管副总','tBActivitiCostPayInnerUserController.do?goView&flag=2','tBActivitiCostPayInnerUserController.do?goViewMobile&flag=2',NULL,'402880ed6dfbaf9f016dfbbdb1b0000d','no','0'),('402880ed6e59754c016e5a7b42840010',NULL,'402880ed6dfbaf9f016dfbb38fdc0008','task1573476042990','部门经理','tBActivitiCostPayInnerUserController.do?goView&flag=2','tBActivitiCostPayInnerUserController.do?goViewMobile&flag=2',NULL,'402880ed6dfbaf9f016dfbbdb1b0000d','no','0'),('402880ed6e59754c016e5a8005240011',NULL,'402880ed6dfbaf9f016dfbb38fdc0008','task1573476114597','项目管理部负责人','tBActivitiCostPayInnerUserController.do?goView&flag=2','tBActivitiCostPayInnerUserController.do?goViewMobile&flag=2',NULL,'402880ed6dfbaf9f016dfbbdb1b0000d','no','0'),('402880ed6e59754c016e5a80052b0012',NULL,'402880ed6dfbaf9f016dfbb38fdc0008','task1573476158813','财务分管副总','tBActivitiCostPayInnerUserController.do?goView&flag=2','tBActivitiCostPayInnerUserController.do?goViewMobile&flag=2',NULL,'402880ed6dfbaf9f016dfbbdb1b0000d','no','0'),('402880ed6e59754c016e5a8005340013',NULL,'402880ed6dfbaf9f016dfbb38fdc0008','task1573476221479','总经理','tBActivitiCostPayInnerUserController.do?goView&flag=2','tBActivitiCostPayInnerUserController.do?goViewMobile&flag=2',NULL,'402880ed6dfbaf9f016dfbbdb1b0000d','no','0');
  2358. INSERT INTO `t_p_processnode_config` VALUES ('402880ed6dfbaf9f016dfbbdb1b0000d','cost_pay','审批','tBActivitiCostPayInnerUserController.do?goView&flag=2','tBActivitiCostPayInnerUserController.do?goViewMobile&flag=2'),('402880ed6dfbaf9f016dfbbde4e3000f','cost_pay','制单人重填','tBActivitiCostPayInnerUserController.do?goView&flag=1','tBActivitiCostPayInnerUserController.do?goViewMobile&flag=1');
  2359. INSERT INTO `t_s_busconfig` VALUES ('402880ed6dfbaf9f016dfbbe503c0011',NULL,'online','','t_b_activiti_cost_pay_inner_user','402880ed6dfbaf9f016dfbb38fdc0008','费用报销','formdeal','费用报销','费用报销','402880ed6dfbaf9f016dfbbcdf76000b');
  2360. INSERT INTO `t_process_busconfig` VALUES ('402880ed6dfbaf9f016dfbbcdf76000b','费用报销','费用报销','费用报销','t_b_activiti_cost_pay_inner_user','cost_pay');
  2361. #费用报销签报
  2362. #备用金签报及管理开始
  2363. INSERT INTO `t_s_type` VALUES ('402880ed6df1bae9016df1cb7b100009','cost_imprest','备用金',NULL,'402889fe47eddd340147ede15c070001','2019-10-22 12:48:27','管理员');
  2364. INSERT INTO `t_s_function` VALUES ('402880ed6ded2240016dedd68760002d',NULL,1,'备用金签报','41','tBActivitiCostPettyCashController.do?list','402881e56dc9460b016dc94749800001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-10-24 20:35:17','2019-10-21 18:22:03','管理员');
  2365. CREATE TABLE `t_b_activiti_cost_petty_cash` (
  2366. `id` varchar(36) NOT NULL,
  2367. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2368. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2369. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2370. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2371. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2372. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2373. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2374. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2375. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2376. `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '流程id',
  2377. `step_name` varchar(32) DEFAULT NULL COMMENT '流程名',
  2378. `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
  2379. `real_name` varchar(255) DEFAULT NULL COMMENT '员工姓名',
  2380. `depart_id` varchar(32) DEFAULT NULL COMMENT '组织结构id',
  2381. `dep_name` varchar(255) DEFAULT NULL COMMENT '组织机构',
  2382. `pay_money` double DEFAULT NULL COMMENT '申请金额',
  2383. `bank_name` varchar(255) DEFAULT NULL COMMENT '申请人开户行',
  2384. `bank_user` varchar(255) DEFAULT NULL COMMENT '申请人银行账户',
  2385. `bank_num` varchar(255) DEFAULT NULL COMMENT '银行账号',
  2386. `remark` longtext COMMENT '说明',
  2387. `pay_time` datetime DEFAULT NULL COMMENT '支付时间',
  2388. PRIMARY KEY (`id`),
  2389. KEY `create_by` (`create_by`)
  2390. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2391. CREATE TABLE `t_b_cost_petty_cash_account` (
  2392. `id` varchar(36) NOT NULL,
  2393. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2394. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2395. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2396. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2397. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2398. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2399. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2400. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2401. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2402. `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
  2403. `real_name` varchar(255) DEFAULT NULL,
  2404. `depart_id` varchar(32) DEFAULT NULL COMMENT '部门id',
  2405. `dep_name` varchar(255) DEFAULT NULL,
  2406. `money` decimal(10,2) DEFAULT NULL COMMENT '余额',
  2407. PRIMARY KEY (`id`),
  2408. UNIQUE KEY `user` (`userid`,`depart_id`),
  2409. KEY `dep` (`depart_id`)
  2410. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2411. CREATE TABLE `t_b_cost_petty_cash_account_log` (
  2412. `id` varchar(36) NOT NULL,
  2413. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2414. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2415. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2416. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2417. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2418. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2419. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2420. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2421. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2422. `account_id` varchar(32) DEFAULT NULL COMMENT '账户id',
  2423. `change` decimal(10,2) DEFAULT NULL COMMENT '变化',
  2424. `balance` decimal(10,2) DEFAULT NULL COMMENT '余额',
  2425. `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  2426. `source_type` varchar(255) DEFAULT NULL COMMENT '来源类型',
  2427. `source_id` varchar(32) DEFAULT NULL COMMENT '来源id',
  2428. `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
  2429. `depart_id` varchar(32) DEFAULT NULL COMMENT '部门id',
  2430. PRIMARY KEY (`id`),
  2431. KEY `account_id` (`account_id`),
  2432. KEY `dep_id` (`depart_id`),
  2433. KEY `userid` (`userid`)
  2434. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2435. INSERT INTO `t_p_process` VALUES ('402880ed6dfdd4e4016dfddac1d40005','cost_imprest',NULL,'备用金签报',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1571921939816\" name=\"备用金签报\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402880ed6ded2240016dedd28f5d001f\" event=\"end\" class=\"cn.com.lzt.workflow.listener.task.BusinessProcessEndListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1571921958250\" name=\"项目经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'DEPART_MANAGER\')}\" >\r\n </userTask>\r\n <userTask id=\"task1571921985904\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <exclusiveGateway id=\"exclusiveGateway1573516544591\" name=\"exclusiveGateway1573516544591\">\r\n </exclusiveGateway>\r\n <userTask id=\"task1573516566974\" name=\"部门经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'DEPART_MANAGER\')}\" >\r\n </userTask>\r\n <userTask id=\"task1573516631708\" name=\"项目管理部负责人\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_XMGLFZR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1573516709868\" name=\"财务分管副总\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_CWFZ\')}\" >\r\n </userTask>\r\n <userTask id=\"task1573516756188\" name=\"总经理\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <sequenceFlow id=\"flow1573516549492\" name=\"\" sourceRef=\"start1\" targetRef=\"exclusiveGateway1573516544591\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573516558820\" name=\"项目\" sourceRef=\"exclusiveGateway1573516544591\" targetRef=\"task1571921958250\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.departType(BPM_FORM_KEY,id) ==1 }]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573516569084\" name=\"职能部门\" sourceRef=\"exclusiveGateway1573516544591\" targetRef=\"task1573516566974\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.departType(BPM_FORM_KEY,id) ==2 }]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573516772747\" name=\"通过\" sourceRef=\"task1571921958250\" targetRef=\"task1573516631708\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573516774867\" name=\"通过\" sourceRef=\"task1573516631708\" targetRef=\"task1573516709868\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573516776669\" name=\"通过\" sourceRef=\"task1573516566974\" targetRef=\"task1573516709868\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573516778611\" name=\"通过\" sourceRef=\"task1573516709868\" targetRef=\"task1573516756188\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573516783349\" name=\"通过\" sourceRef=\"task1573516756188\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573516834075\" name=\"驳回\" sourceRef=\"task1571921958250\" targetRef=\"task1571921985904\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573516843883\" name=\"驳回\" sourceRef=\"task1573516631708\" targetRef=\"task1571921985904\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573516853939\" name=\"驳回\" sourceRef=\"task1573516566974\" targetRef=\"task1571921985904\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573516861852\" name=\"驳回\" sourceRef=\"task1573516709868\" targetRef=\"task1571921985904\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573516866084\" name=\"驳回\" sourceRef=\"task1573516756188\" targetRef=\"task1571921985904\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1573516871444\" name=\"提交\" sourceRef=\"task1571921985904\" targetRef=\"exclusiveGateway1573516544591\">\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1571921939816\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1571921939816\" id=\"BPMNPlane_process1571921939816\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"253\" y=\"54\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"253\" y=\"634\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571921958250\" id=\"BPMNShape_task1571921958250\">\r\n <omgdc:Bounds height=\"56\" width=\"90\" x=\"78\" y=\"222\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1571921985904\" id=\"BPMNShape_task1571921985904\">\r\n <omgdc:Bounds height=\"54\" width=\"92\" x=\"222\" y=\"279\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1573516544591\" id=\"BPMNShape_exclusiveGateway1573516544591\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"248\" y=\"125\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573516566974\" id=\"BPMNShape_task1573516566974\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"371\" y=\"211\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573516631708\" id=\"BPMNShape_task1573516631708\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"78\" y=\"332\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573516709868\" id=\"BPMNShape_task1573516709868\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"223\" y=\"416\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1573516756188\" id=\"BPMNShape_task1573516756188\">\r\n <omgdc:Bounds height=\"53\" width=\"90\" x=\"223\" y=\"521\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573516549492\" id=\"BPMNEdge_flow1573516549492\">\r\n <omgdi:waypoint x=\"268\" y=\"84\" />\r\n <omgdi:waypoint x=\"268\" y=\"125\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573516558820\" id=\"BPMNEdge_flow1573516558820\">\r\n <omgdi:waypoint x=\"248\" y=\"145\" />\r\n <omgdi:waypoint x=\"123\" y=\"145\" />\r\n <omgdi:waypoint x=\"123\" y=\"217\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573516569084\" id=\"BPMNEdge_flow1573516569084\">\r\n <omgdi:waypoint x=\"288\" y=\"145\" />\r\n <omgdi:waypoint x=\"416\" y=\"145\" />\r\n <omgdi:waypoint x=\"416\" y=\"206\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573516772747\" id=\"BPMNEdge_flow1573516772747\">\r\n <omgdi:waypoint x=\"123\" y=\"283\" />\r\n <omgdi:waypoint x=\"123\" y=\"327\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573516774867\" id=\"BPMNEdge_flow1573516774867\">\r\n <omgdi:waypoint x=\"123\" y=\"387\" />\r\n <omgdi:waypoint x=\"123\" y=\"441\" />\r\n <omgdi:waypoint x=\"218\" y=\"441\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573516776669\" id=\"BPMNEdge_flow1573516776669\">\r\n <omgdi:waypoint x=\"416\" y=\"266\" />\r\n <omgdi:waypoint x=\"416\" y=\"441\" />\r\n <omgdi:waypoint x=\"318\" y=\"441\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573516778611\" id=\"BPMNEdge_flow1573516778611\">\r\n <omgdi:waypoint x=\"268\" y=\"471\" />\r\n <omgdi:waypoint x=\"268\" y=\"516\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573516783349\" id=\"BPMNEdge_flow1573516783349\">\r\n <omgdi:waypoint x=\"268\" y=\"579\" />\r\n <omgdi:waypoint x=\"268\" y=\"634\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573516834075\" id=\"BPMNEdge_flow1573516834075\">\r\n <omgdi:waypoint x=\"173\" y=\"250\" />\r\n <omgdi:waypoint x=\"195\" y=\"250\" />\r\n <omgdi:waypoint x=\"195\" y=\"306\" />\r\n <omgdi:waypoint x=\"217\" y=\"306\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573516843883\" id=\"BPMNEdge_flow1573516843883\">\r\n <omgdi:waypoint x=\"173\" y=\"357\" />\r\n <omgdi:waypoint x=\"195\" y=\"357\" />\r\n <omgdi:waypoint x=\"195\" y=\"306\" />\r\n <omgdi:waypoint x=\"217\" y=\"306\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573516853939\" id=\"BPMNEdge_flow1573516853939\">\r\n <omgdi:waypoint x=\"366\" y=\"236\" />\r\n <omgdi:waypoint x=\"342\" y=\"236\" />\r\n <omgdi:waypoint x=\"342\" y=\"306\" />\r\n <omgdi:waypoint x=\"319\" y=\"306\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573516861852\" id=\"BPMNEdge_flow1573516861852\">\r\n <omgdi:waypoint x=\"268\" y=\"411\" />\r\n <omgdi:waypoint x=\"268\" y=\"338\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573516866084\" id=\"BPMNEdge_flow1573516866084\">\r\n <omgdi:waypoint x=\"318\" y=\"547\" />\r\n <omgdi:waypoint x=\"339\" y=\"547\" />\r\n <omgdi:waypoint x=\"339\" y=\"306\" />\r\n <omgdi:waypoint x=\"319\" y=\"306\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1573516871444\" id=\"BPMNEdge_flow1573516871444\">\r\n <omgdi:waypoint x=\"268\" y=\"274\" />\r\n <omgdi:waypoint x=\"268\" y=\"165\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-11-12 08:05:00','admin','管理员','2019-10-24 21:00:35','admin','process1571921939816',1,'0',NULL);
  2436. INSERT INTO `t_p_processnode` VALUES ('402880ed6dfdd4e4016dfddac1e80006',NULL,'402880ed6dfdd4e4016dfddac1d40005','task1571921958250','项目经理','tBActivitiCostPettyCashController.do?goView&flag=2','tBActivitiCostPettyCashController.do?goViewMobile&flag=2',NULL,'402880ed6dfdd4e4016dfddcf3b6000a','no','0'),('402880ed6dfdd4e4016dfddac1f40007',NULL,'402880ed6dfdd4e4016dfddac1d40005','task1571921985904','制单人重填','tBActivitiCostPettyCashController.do?goView&flag=1','tBActivitiCostPettyCashController.do?goViewMobile&flag=1',NULL,'402880ed6dfdd4e4016dfddd364c000c','no','0'),('402880ed6e5cb01d016e5ce9637b0001',NULL,'402880ed6dfdd4e4016dfddac1d40005','task1573516566974','部门经理',NULL,NULL,NULL,NULL,NULL,'0'),('402880ed6e5cb01d016e5ce9638b0002',NULL,'402880ed6dfdd4e4016dfddac1d40005','task1573516631708','项目管理部负责人',NULL,NULL,NULL,NULL,NULL,'0'),('402880ed6e5cb01d016e5ce963950003',NULL,'402880ed6dfdd4e4016dfddac1d40005','task1573516709868','财务分管副总',NULL,NULL,NULL,NULL,NULL,'0'),('402880ed6e5cb01d016e5ce963a00004',NULL,'402880ed6dfdd4e4016dfddac1d40005','task1573516756188','总经理',NULL,NULL,NULL,NULL,NULL,'0');
  2437. INSERT INTO `t_p_processnode_config` VALUES ('402880ed6dfdd4e4016dfddcf3b6000a','cost_imprest','审批','tBActivitiCostPettyCashController.do?goView&flag=2','tBActivitiCostPettyCashController.do?goViewMobile&flag=2'),('402880ed6dfdd4e4016dfddd364c000c','cost_imprest','制单人重填','tBActivitiCostPettyCashController.do?goView&flag=1','tBActivitiCostPettyCashController.do?goViewMobile&flag=1');
  2438. INSERT INTO `t_s_busconfig` VALUES ('402880ed6dfdd4e4016dfddd9bf7000e',NULL,'online','','t_b_activiti_cost_petty_cash','402880ed6dfdd4e4016dfddac1d40005','备用金签报','formdeal','备用金签报','备用金签报','402880ed6dfdd4e4016dfddb838a0008');
  2439. INSERT INTO `t_process_busconfig` VALUES ('402880ed6dfdd4e4016dfddb838a0008','备用金签报','备用金签报','备用金签报','t_b_activiti_cost_petty_cash','cost_imprest');
  2440. #备用金签报及管理结束
  2441. ##司龄津贴
  2442. DROP TABLE IF EXISTS `t_bus_comage_subsidy`;
  2443. CREATE TABLE `t_bus_comage_subsidy` (
  2444. `id` varchar(36) NOT NULL,
  2445. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2446. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2447. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2448. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2449. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2450. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2451. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2452. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2453. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2454. `min_years` int(11) NOT NULL DEFAULT '3' COMMENT '最低工作年限',
  2455. `increase` double NOT NULL DEFAULT '10' COMMENT '每年增幅',
  2456. `max` double NOT NULL DEFAULT '500' COMMENT '最高补贴',
  2457. `min` double NOT NULL DEFAULT '10' COMMENT '最低补贴',
  2458. `description` varchar(200) DEFAULT NULL COMMENT '说明',
  2459. PRIMARY KEY (`id`)
  2460. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2461. ##司龄津贴预置数据
  2462. INSERT INTO `t_bus_comage_subsidy` VALUES ('1', null, null, null, null, null, null, null, null, '1', '3', '10', '500', '10', '默认');
  2463. ##其它工作补贴
  2464. DROP TABLE IF EXISTS `t_bus_otherwork_subsidy`;
  2465. CREATE TABLE `t_bus_otherwork_subsidy` (
  2466. `id` varchar(36) NOT NULL,
  2467. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2468. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2469. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2470. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2471. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2472. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2473. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2474. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2475. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2476. `type` varchar(36) NOT NULL COMMENT '类型',
  2477. `name` varchar(200) NOT NULL COMMENT '补贴项',
  2478. `money` double NOT NULL DEFAULT '0' COMMENT '补贴金额',
  2479. `status` varchar(8) NOT NULL DEFAULT '0' COMMENT '状态',
  2480. `delete_flag` varchar(8) NOT NULL DEFAULT '0' COMMENT '删除标志',
  2481. `description` varchar(200) DEFAULT NULL COMMENT '说明',
  2482. PRIMARY KEY (`id`)
  2483. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2484. ##员工其它工作
  2485. DROP TABLE IF EXISTS `t_bus_user_otherwork`;
  2486. CREATE TABLE `t_bus_user_otherwork` (
  2487. `id` varchar(36) NOT NULL,
  2488. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2489. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2490. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2491. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2492. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2493. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2494. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2495. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2496. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2497. `otherwork_subsidy` varchar(36) NOT NULL COMMENT '其它工作补贴',
  2498. `userid` varchar(32) NOT NULL COMMENT '用户',
  2499. `effect_sdate` datetime DEFAULT NULL COMMENT '起始日期',
  2500. `effect_edate` datetime DEFAULT NULL COMMENT '截止日期',
  2501. `delete_flag` varchar(2) NOT NULL DEFAULT '0' COMMENT '删除标志',
  2502. `description` varchar(200) DEFAULT NULL COMMENT '说明',
  2503. PRIMARY KEY (`id`)
  2504. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2505. ##其它工作类型
  2506. INSERT INTO `t_s_typegroup` VALUES ('otherworkaac4016df8c2f0bc000e','otherworktype','其它工作类型','2019-10-23 21:16:28','管理员');
  2507. #其它工作类型
  2508. INSERT INTO `t_s_type` VALUES ('userotherwork016df1c9a36a0005','0','公司兼职工作',NULL,'otherworkaac4016df8c2f0bc000e','2019-10-22 12:46:27','管理员');
  2509. INSERT INTO `t_s_type` VALUES ('userotherwork016df1c9a36a0006','1','其它项目兼职工作',NULL,'otherworkaac4016df8c2f0bc000e','2019-10-22 12:46:27','管理员');
  2510. INSERT INTO `t_s_type` VALUES ('userotherwork016df1c9a36a0007','2','项目内额外工作',NULL,'otherworkaac4016df8c2f0bc000e','2019-10-22 12:46:27','管理员');
  2511. INSERT INTO `t_s_type` VALUES ('userotherwork016df1c9a36a0008','3','其它额外工作',NULL,'otherworkaac4016df8c2f0bc000e','2019-10-22 12:46:27','管理员');
  2512. ## 组织结构增加财务核算编码
  2513. alter table t_s_depart add COLUMN fincode VARCHAR(50);
  2514. #费用年度发生额开始
  2515. INSERT INTO `t_s_function` VALUES ('402880ed6e246203016e24655e900001',NULL,1,'费用年度发生额','3','costYearActualStatisController.do?list','402880ed6df1ef0e016df347a7cc0064','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-11-01 08:37:33',NULL);
  2516. CREATE TABLE `t_b_cost_year_actual_statis` (
  2517. `id` varchar(36) NOT NULL,
  2518. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2519. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2520. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2521. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2522. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2523. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2524. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2525. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2526. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2527. `year` varchar(32) DEFAULT NULL COMMENT '年度',
  2528. `depart_id` varchar(32) DEFAULT NULL COMMENT '组织结构id',
  2529. `dep_name` varchar(255) DEFAULT NULL COMMENT '组织结构',
  2530. `userid` varchar(32) DEFAULT NULL COMMENT '员工id',
  2531. `real_name` varchar(255) DEFAULT NULL COMMENT '员工姓名',
  2532. `total_expect_money` decimal(10,2) DEFAULT NULL COMMENT '总申请额度',
  2533. `total_actual_money` decimal(10,2) DEFAULT NULL COMMENT '总发生额',
  2534. `cost_type_id` varchar(32) DEFAULT NULL COMMENT '类型id',
  2535. PRIMARY KEY (`id`),
  2536. UNIQUE KEY `year_unique` (`year`,`depart_id`,`userid`,`cost_type_id`),
  2537. KEY `realname` (`real_name`),
  2538. KEY `depid` (`depart_id`),
  2539. KEY `costtype` (`cost_type_id`)
  2540. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2541. #费用年度发生额结束
  2542. #报销支付菜单
  2543. INSERT INTO `t_s_function` VALUES ('402880ed6e24df96016e270081de003c',NULL,1,'报销支付','5','tBActivitiCostPayInnerUserController.do?paylist','402880ed6df1ef0e016df347a7cc0064','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-11-01 20:46:15',NULL);
  2544. #报销统计菜单
  2545. INSERT INTO `t_s_function` VALUES ('402880ed6e2c19b8016e2c508e07000d',NULL,1,'报销统计','7','tBActivitiCostPayInnerUserController.do?statislist','402880ed6df1ef0e016df347a7cc0064','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-11-02 21:31:47',NULL);
  2546. #临时对公支付,临时对公统计菜单
  2547. INSERT INTO `t_s_function` VALUES ('402881e56e357779016e357a8aa70001',NULL,1,'临时付款支付','9','tBActivitiCostPayTmpCompanyController.do?paylist','402880ed6df1ef0e016df347a7cc0064','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-11-04 17:49:13','2019-11-04 16:14:14','管理员'),('402881e56e357779016e357ad3200003',NULL,1,'临时付款统计','11','tBActivitiCostPayTmpCompanyController.do?statislist','402880ed6df1ef0e016df347a7cc0064','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-11-04 17:49:20','2019-11-04 16:14:32','管理员');
  2548. #备用金账户菜单
  2549. INSERT INTO `t_s_function` VALUES ('402881e56e36067d016e367314460006',NULL,1,'备用金账户','13','tBCostPettyCashAccountController.do?list','402880ed6df1ef0e016df347a7cc0064','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-11-04 21:27:38','2019-11-04 20:45:42','管理员');
  2550. #项目库添加兼管负责人、现场负责人和现场负责人权值
  2551. ALTER TABLE `t_b_project`
  2552. ADD COLUMN `jianguan_leader` VARCHAR(36) NULL DEFAULT NULL COMMENT '兼管负责人';
  2553. ALTER TABLE `t_b_project`
  2554. ADD COLUMN `xianchang_leader` VARCHAR(36) NULL DEFAULT NULL COMMENT '现场负责人';
  2555. ALTER TABLE `t_b_project`
  2556. ADD COLUMN `jianguan_weight` double NOT NULL DEFAULT '50' COMMENT '兼管负责人权值';
  2557. #项目评定表
  2558. DROP TABLE IF EXISTS `t_bus_project_rating`;
  2559. CREATE TABLE `t_bus_project_rating` (
  2560. `id` varchar(36) NOT NULL,
  2561. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2562. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2563. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2564. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2565. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2566. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2567. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2568. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2569. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  2570. `years` varchar(8) NOT NULL COMMENT '年度',
  2571. `projectId` varchar(36) NOT NULL COMMENT '项目Id,非departId',
  2572. `mark` int(11) NOT NULL COMMENT '分数',
  2573. `bonus` double NOT NULL DEFAULT '0' COMMENT '奖金',
  2574. `description` varchar(100) NOT NULL COMMENT '备注',
  2575. PRIMARY KEY (`id`)
  2576. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2577. ##增加两班倒
  2578. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028e6666f7be7d7015f7bfae132000c', '2bandao', '两班倒(无加班费)', NULL, '4028e4f55f3262cf015f32a21346001a', NULL, NULL);
  2579. INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028edfghf7be7d7015f7bfae132000c', '2bandao_jijiabanfei', '两班倒(计加班费)', NULL, '4028e4f55f3262cf015f32a21346001a', NULL, NULL);
  2580. ##增加职务等级在personnel表
  2581. ALTER TABLE `t_bus_user_personnel`
  2582. ADD COLUMN `dutieslevel` VARCHAR(6) NULL DEFAULT '1' COMMENT '职务等级';
  2583. ##增加新体系工资核算表
  2584. DROP TABLE IF EXISTS `t_bus_user_wage_new`;
  2585. CREATE TABLE `t_bus_user_wage_new` (
  2586. `id` varchar(36) COLLATE utf8_bin NOT NULL COMMENT '主键',
  2587. `userid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '员工id',
  2588. `belong_unitid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '所属单位id',
  2589. `dutiesid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '职务id',
  2590. `monthly` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '工资月度',
  2591. `basic_wage` decimal(16,2) DEFAULT '0.00' COMMENT '基本工资',
  2592. `post_allowance` decimal(16,2) DEFAULT '0.00' COMMENT '岗位津贴',
  2593. `duties_allowance` decimal(16,2) DEFAULT '0.00' COMMENT '职务津贴',
  2594. `dutieslevel_allowance` decimal(16,2) DEFAULT '0.00' COMMENT '等级津贴',
  2595. `talent_allowance` decimal(16,2) DEFAULT '0.00' COMMENT '人才津贴',
  2596. `comyear_allowance` decimal(16,2) DEFAULT '0.00' COMMENT '司龄津贴',
  2597. `certificate_subsidy` decimal(16,2) DEFAULT '0.00' COMMENT '证书补贴',
  2598. `traffic_subsidy` decimal(16,2) DEFAULT '0.00' COMMENT '交通补贴',
  2599. `megathermal_subsidy` decimal(16,2) DEFAULT '0.00' COMMENT '高温补贴',
  2600. `only_child_cost` decimal(16,2) DEFAULT '0.00' COMMENT '独生子女费',
  2601. `other_work_subsidy` decimal(16,2) DEFAULT '0.00' COMMENT '其他工作补贴',
  2602. `xianchang_bonus` decimal(16,2) DEFAULT '0.00' COMMENT '主管项目绩效',
  2603. `jianguan_bonus` decimal(16,2) DEFAULT '0.00' COMMENT '兼管项目绩效',
  2604. `project_performance` decimal(16,2) DEFAULT '0.00' COMMENT '月度奖金',
  2605. `bonus` decimal(16,2) DEFAULT '0.00' COMMENT '奖金',
  2606. `fakuan` decimal(16,2) DEFAULT '0.00' COMMENT '罚款',
  2607. `meals_subsidy_day` decimal(16,2) DEFAULT '0.00' COMMENT '餐补白班津贴',
  2608. `meals_subsidy_night` decimal(16,2) DEFAULT '0.00' COMMENT '餐补夜班津贴',
  2609. `meals_subsidy` decimal(16,2) DEFAULT '0.00' COMMENT '餐费补助',
  2610. `overtimepay_timeout` decimal(16,2) DEFAULT '0.00' COMMENT '加班超时费',
  2611. `overtimepay_fixed` decimal(16,2) DEFAULT '0.00' COMMENT '国定加班费',
  2612. `duty` decimal(16,2) DEFAULT '0.00' COMMENT '值班费',
  2613. `special_overtime` decimal(16,2) DEFAULT '0.00' COMMENT '特殊加班费',
  2614. `sick_leave_debit` decimal(16,2) DEFAULT '0.00' COMMENT '病假扣',
  2615. `thing_leave_debit` decimal(16,2) DEFAULT '0.00' COMMENT '事假扣',
  2616. `daikou_debit` decimal(16,2) DEFAULT '0.00' COMMENT '代扣款',
  2617. `absence_debit` decimal(16,2) DEFAULT '0.00' COMMENT '缺勤扣',
  2618. `payment_subsidy` decimal(16,2) DEFAULT '0.00' COMMENT '缴金补贴',
  2619. `social_security_debit` decimal(16,2) DEFAULT '0.00' COMMENT '个人社保扣除',
  2620. `provident_fund_debit` decimal(16,2) DEFAULT '0.00' COMMENT '个人公积金扣除',
  2621. `pre_tax_mone` decimal(16,2) DEFAULT '0.00' COMMENT '税前合计金额',
  2622. `other_debit` decimal(16,2) DEFAULT '0.00' COMMENT '其他扣除',
  2623. `tax_money` decimal(16,2) DEFAULT '0.00' COMMENT '扣税金额',
  2624. `actual_money` decimal(16,2) DEFAULT '0.00' COMMENT '实发金额',
  2625. `status` varchar(30) COLLATE utf8_bin DEFAULT NULL COMMENT '状态',
  2626. `remark` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '备注说明',
  2627. `reissue` decimal(16,2) DEFAULT '0.00' COMMENT '补发调整',
  2628. `com_provident_fund_debit` decimal(16,2) DEFAULT '0.00' COMMENT '公司公积金扣除',
  2629. `com_social_security_debit` decimal(16,2) DEFAULT NULL,
  2630. `pjt_id` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '项目id',
  2631. `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  2632. `update_date` datetime DEFAULT NULL COMMENT '修改时间',
  2633. `comcost` decimal(16,2) DEFAULT NULL,
  2634. `socialSecurityId` varchar(36) COLLATE utf8_bin DEFAULT NULL,
  2635. `socialSecurityUnit` varchar(36) COLLATE utf8_bin DEFAULT NULL,
  2636. PRIMARY KEY (`id`),
  2637. KEY `userid` (`userid`) USING BTREE,
  2638. KEY `pid` (`pjt_id`) USING BTREE
  2639. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='新体系工资核算表';
  2640. #执行流 增加工作服发放、回收
  2641. INSERT INTO `p_activiti_task` VALUES ('402880ed6e626ea7016e6271a17b0001','管理员','admin','2019-11-13 09:47:24','管理员','admin','2019-11-13 11:38:33','A06A01','A06','1','${realname}入职,完成发放工作服工作','402881e56c035875016c039570050028','员工入职',15,'day','online','pc','clothingController.do?switchTask','ff8080815fdeab1f015ffb9f492400c7','项目内勤',10,'com.xcgl.activititask.util.impl.UserActivitiTaskHandler',0,'user_add','not_check'),('402880ed6e62a285016e62e2c58d0041','管理员','admin','2019-11-13 11:50:59','管理员','admin','2019-11-13 11:54:12','A06A01','A06','1','${realname}离职,完成回收工作服工作','402881e56c606a67016c61f68d04000e','人事离职流程',15,'day','online','pc','clothingUserController.do?list','ff8080815fdeab1f015ffb9f492400c7','项目内勤',10,'com.xcgl.activititask.util.impl.UserActivitiTaskHandler',0,'user_leave','not_check');
  2642. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e687d71016e68822fbe0002', NULL, 0, '功能权限-财务签报', '999', '', NULL, '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, '', 'admin', '管理员', 'admin', '2019-11-14 14:16:20', '2019-11-14 14:03:13', '管理员');
  2643. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e68be5d016e68bfe4e20002', NULL, 0, '功能权限-其他签报', '999', '', NULL, '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, '', 'admin', '管理员', NULL, NULL, '2019-11-14 15:10:37', NULL);
  2644. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e687d71016e688eee2f0010', NULL, 0, '功能权限-人力资源签报', '999', '', NULL, '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, '', 'admin', '管理员', NULL, NULL, '2019-11-14 14:17:08', NULL);
  2645. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e68be5d016e68ca2f05000d', NULL, 1, '休假签报', '5', 'holidayController.do?list', 'ff8080816e687d71016e688eee2f0010', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fas fa-mug-hot', 'admin', '管理员', NULL, NULL, '2019-11-14 15:21:51', NULL);
  2646. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e68be5d016e68c7a5130009', NULL, 1, '离职签报', '4', 'activitiLeaveController.do?list', 'ff8080816e687d71016e688eee2f0010', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fas fa-sign-out-alt', 'admin', '管理员', 'admin', '2019-11-14 15:19:32', '2019-11-14 15:19:05', '管理员');
  2647. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e68be5d016e68c65df90007', NULL, 1, '平调签报', '3', 'activitiSamelevelTransferController.do?list', 'ff8080816e687d71016e688eee2f0010', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fa fa-exchange', 'admin', '管理员', NULL, NULL, '2019-11-14 15:17:41', NULL);
  2648. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e68be5d016e68c43f870004', NULL, 1, '绿色通道签报', '1', 'tBusActivitiGreenController.do?list', 'ff8080816e68be5d016e68bfe4e20002', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fas fa-tty', 'admin', '管理员', 'admin', '2019-11-14 15:15:45', '2019-11-14 15:15:22', '管理员');
  2649. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e687d71016e68924e6a0014', NULL, 1, '员工录用签报', '2', 'userActivitiController.do?list', 'ff8080816e687d71016e688eee2f0010', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fas fa-address-card', 'admin', '管理员', 'admin', '2019-11-14 15:20:13', '2019-11-14 14:20:49', '管理员');
  2650. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e687d71016e68919e030012', NULL, 1, '加班申请', '1', '', 'ff8080816e687d71016e688eee2f0010', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fas fa-user-astronaut', 'admin', '管理员', 'admin', '2019-11-14 14:21:13', '2019-11-14 14:20:04', '管理员');
  2651. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e687d71016e688d0609000d', NULL, 1, '费用报销签报 ', '5', '', 'ff8080816e687d71016e68822fbe0002', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fa fa-cubes', 'admin', '管理员', NULL, NULL, '2019-11-14 14:15:03', NULL);
  2652. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e687d71016e688a5e28000b', NULL, 1, '临时付款(公对公)签报', '4', '', 'ff8080816e687d71016e68822fbe0002', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fa fa-cc-mastercard', 'admin', '管理员', NULL, NULL, '2019-11-14 14:12:09', NULL);
  2653. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e687d71016e6887a4750008', NULL, 1, '合同付款签报', '3', 'contractPaymentController.do?applylist', 'ff8080816e687d71016e68822fbe0002', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fa fa-wpforms', 'admin', '管理员', 'admin', '2019-11-14 14:10:03', '2019-11-14 14:09:10', '管理员');
  2654. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e687d71016e68867ec50006', NULL, 1, '报销签报', '2', '', 'ff8080816e687d71016e68822fbe0002', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fa fa-hand-o-down', 'admin', '管理员', 'admin', '2019-11-14 14:52:25', '2019-11-14 14:07:55', '管理员');
  2655. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e687d71016e688565d70004', NULL, 1, '备用金签报', '1', 'tBActivitiCostPettyCashController.do?list', 'ff8080816e687d71016e68822fbe0002', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fa fa-cny', 'admin', '管理员', NULL, NULL, '2019-11-14 14:06:43', NULL);
  2656. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e6851ab016e685454d70001', NULL, 1, '签报工作台', '0', 'homepageController.do?workflowboard', '402889fe47eddd340147edfa0798002d', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-11-14 13:13:08', NULL);
  2657. #项目处二级部门补填projectid
  2658. update t_s_depart dp inner join(select dep2.org_code as orgcode, dep2.description as name1, dep3.projectid as parentname from t_s_depart dep2
  2659. LEFT JOIN t_s_depart dep3 on dep3.id = dep2.parentdepartid ORDER BY dep2.org_code) temp on dp.org_code = temp.orgcode set dp.projectid= temp.parentname where LENGTH(dp.org_code) = 9;
  2660. #新增glcid管理处id
  2661. ALTER TABLE `t_s_depart`
  2662. ADD COLUMN `glcid` VARCHAR(36) NULL DEFAULT NULL COMMENT '管理处id';
  2663. update t_s_depart dp set dp.glcid = dp.parentdepartid where LENGTH(dp.org_code) = 9;
  2664. update t_s_depart dp set dp.glcid = dp.id where LENGTH(dp.org_code) = 6;
  2665. #调休账户日志增加结算月份
  2666. ALTER TABLE `t_b_exchange_account_log`
  2667. ADD COLUMN `year_month` VARCHAR(45) NULL COMMENT '结算月份' AFTER `source_id`;
  2668. #休假签报备份
  2669. INSERT INTO `t_p_process` VALUES ('ff808081600b019701600bc9ad730003','holiday',NULL,'休假申请流程',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1512026019957\" name=\"休假申请流程\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"ff8080816057f8970160599baa6f0111\" event=\"end\" class=\"cn.com.lzt.common.listener.execution.ProcessTestListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1512027057883\" name=\"总经理审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <userTask id=\"task1512027060010\" name=\"部门经理审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'GUARD\')}\" >\r\n </userTask>\r\n <userTask id=\"task1512027775865\" name=\"总经理审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <userTask id=\"task1512027814846\" name=\"部门经理审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'GUARD\')}\" >\r\n </userTask>\r\n <userTask id=\"task1512027900881\" name=\"申请人\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <userTask id=\"task1512028322273\" name=\"项目经理审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1512028444509\" name=\"项目负责人审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'PERGUARD\')}\" >\r\n </userTask>\r\n <userTask id=\"task1512028581210\" name=\"项目负责人审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'PERGUARD\')}\" >\r\n </userTask>\r\n <userTask id=\"task1512028616848\" name=\"总经理审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <userTask id=\"task1512029408953\" name=\"总经理审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <userTask id=\"task1512029559341\" name=\"申请人\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <userTask id=\"task1512030572138\" name=\"项目经理审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1512030575413\" name=\"项目负责人审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'PERGUARD\')}\" >\r\n </userTask>\r\n <userTask id=\"task1512031259370\" name=\"项目经理审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1512031375983\" name=\"总经理审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <userTask id=\"task1512031432598\" name=\"申请人\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <userTask id=\"task1512031668506\" name=\"项目经理审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIOR\')}\" >\r\n </userTask>\r\n <userTask id=\"task1512031680057\" name=\"区域经理审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'SUPERIORS\')}\" >\r\n </userTask>\r\n <exclusiveGateway id=\"exclusiveGateway1512026149062\" name=\"exclusiveGateway1512026149062\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512026176468\" name=\"exclusiveGateway1512026176468\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512026181953\" name=\"exclusiveGateway1512026181953\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512026183735\" name=\"exclusiveGateway1512026183735\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512026845348\" name=\"exclusiveGateway1512026845348\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512026950769\" name=\"exclusiveGateway1512026950769\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512027316437\" name=\"exclusiveGateway1512027316437\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512027983659\" name=\"exclusiveGateway1512027983659\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512028369532\" name=\"exclusiveGateway1512028369532\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512028371355\" name=\"exclusiveGateway1512028371355\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512028523984\" name=\"exclusiveGateway1512028523984\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512028526479\" name=\"exclusiveGateway1512028526479\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512028697842\" name=\"exclusiveGateway1512028697842\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512029337765\" name=\"exclusiveGateway1512029337765\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512030147786\" name=\"exclusiveGateway1512030147786\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512030808250\" name=\"exclusiveGateway1512030808250\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512030879269\" name=\"exclusiveGateway1512030879269\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512031325046\" name=\"exclusiveGateway1512031325046\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512031522789\" name=\"exclusiveGateway1512031522789\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1512031576281\" name=\"exclusiveGateway1512031576281\">\r\n </exclusiveGateway>\r\n <sequenceFlow id=\"flow1512026168778\" name=\"\" sourceRef=\"start1\" targetRef=\"exclusiveGateway1512026149062\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512026203036\" name=\"直属项目申请\" sourceRef=\"exclusiveGateway1512026149062\" targetRef=\"exclusiveGateway1512026181953\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isorgType(userid) == \'1\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512026213041\" name=\"职能部门申请\" sourceRef=\"exclusiveGateway1512026149062\" targetRef=\"exclusiveGateway1512026176468\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isorgType(userid) == \'3\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512026220065\" name=\"区域项目申请\" sourceRef=\"exclusiveGateway1512026149062\" targetRef=\"exclusiveGateway1512026183735\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isorgType(userid) == \'2\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512026849134\" name=\"不带薪休假\" sourceRef=\"exclusiveGateway1512026176468\" targetRef=\"exclusiveGateway1512026845348\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${holiday_type<=1}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512026955863\" name=\"带薪休假\" sourceRef=\"exclusiveGateway1512026176468\" targetRef=\"exclusiveGateway1512026950769\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${holiday_type>1}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512027087876\" name=\"管理层员工\" sourceRef=\"exclusiveGateway1512026845348\" targetRef=\"task1512027057883\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isRank(userid) == \'5\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512027089831\" name=\"普通员工\" sourceRef=\"exclusiveGateway1512026845348\" targetRef=\"task1512027060010\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isRank(userid) == \'6\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512027322171\" name=\"通过\" sourceRef=\"task1512027060010\" targetRef=\"exclusiveGateway1512027316437\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512027337953\" name=\"大于3天\" sourceRef=\"exclusiveGateway1512027316437\" targetRef=\"task1512027057883\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.countDay(BPM_FORM_KEY,id) >= 3}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512027745626\" name=\"普通员工\" sourceRef=\"exclusiveGateway1512026950769\" targetRef=\"task1512027814846\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isRank(userid) == \'6\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512027777765\" name=\"管理层员工\" sourceRef=\"exclusiveGateway1512026950769\" targetRef=\"task1512027775865\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isRank(userid) == \'5\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512027954838\" name=\"驳回\" sourceRef=\"task1512027057883\" targetRef=\"task1512027900881\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512027962728\" name=\"驳回\" sourceRef=\"task1512027775865\" targetRef=\"task1512027900881\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512027970771\" name=\"驳回\" sourceRef=\"task1512027814846\" targetRef=\"task1512027900881\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512027992879\" name=\"通过\" sourceRef=\"task1512027814846\" targetRef=\"exclusiveGateway1512027983659\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512028001672\" name=\"通过\" sourceRef=\"task1512027775865\" targetRef=\"exclusiveGateway1512027983659\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512028072896\" name=\"通过\" sourceRef=\"task1512027057883\" targetRef=\"exclusiveGateway1512027983659\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512028225903\" name=\"驳回\" sourceRef=\"task1512027060010\" targetRef=\"task1512027900881\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512028240829\" name=\"小于3天\" sourceRef=\"exclusiveGateway1512027316437\" targetRef=\"exclusiveGateway1512027983659\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.countDay(BPM_FORM_KEY,id) < 3}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512028262493\" name=\"重新申请\" sourceRef=\"task1512027900881\" targetRef=\"exclusiveGateway1512026176468\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512028324447\" name=\"不带薪申请\" sourceRef=\"exclusiveGateway1512026181953\" targetRef=\"exclusiveGateway1512028369532\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${holiday_type<=1}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512028406849\" name=\"带薪休假\" sourceRef=\"exclusiveGateway1512026181953\" targetRef=\"exclusiveGateway1512028371355\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${holiday_type>1}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512028435110\" name=\"一线员工申请\" sourceRef=\"exclusiveGateway1512028369532\" targetRef=\"task1512028322273\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isRank(userid) == \'1\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512028446201\" name=\"管理层员工\" sourceRef=\"exclusiveGateway1512028369532\" targetRef=\"task1512028444509\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isRank(userid) == \'2\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512028545163\" name=\"通过\" sourceRef=\"task1512028322273\" targetRef=\"exclusiveGateway1512028523984\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512028564652\" name=\"通过\" sourceRef=\"task1512028444509\" targetRef=\"exclusiveGateway1512028526479\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512028586123\" name=\"大于3天\" sourceRef=\"exclusiveGateway1512028523984\" targetRef=\"task1512028581210\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.countDay(BPM_FORM_KEY,id) >= 3}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512028620969\" name=\"大于3天\" sourceRef=\"exclusiveGateway1512028526479\" targetRef=\"task1512028616848\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.countDay(BPM_FORM_KEY,id) >= 3}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512028786898\" name=\"通过\" sourceRef=\"task1512028581210\" targetRef=\"exclusiveGateway1512028697842\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512029339906\" name=\"通过\" sourceRef=\"task1512028616848\" targetRef=\"exclusiveGateway1512029337765\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512029411274\" name=\"大于30天\" sourceRef=\"exclusiveGateway1512028697842\" targetRef=\"task1512029408953\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.countDay(BPM_FORM_KEY,id) >=30}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512029444289\" name=\"小于30天\" sourceRef=\"exclusiveGateway1512028697842\" targetRef=\"exclusiveGateway1512027983659\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.countDay(BPM_FORM_KEY,id) < 30}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512029484695\" name=\"小于3天\" sourceRef=\"exclusiveGateway1512028523984\" targetRef=\"exclusiveGateway1512027983659\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.countDay(BPM_FORM_KEY,id) < 3}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512029538924\" name=\"通过\" sourceRef=\"task1512029408953\" targetRef=\"exclusiveGateway1512027983659\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512029574610\" name=\"驳回\" sourceRef=\"task1512028322273\" targetRef=\"task1512029559341\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030150600\" name=\"驳回\" sourceRef=\"task1512029408953\" targetRef=\"exclusiveGateway1512030147786\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030154398\" name=\"驳回\" sourceRef=\"task1512028616848\" targetRef=\"exclusiveGateway1512030147786\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030171404\" name=\"驳回\" sourceRef=\"task1512028581210\" targetRef=\"task1512029559341\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030374502\" name=\"驳回\" sourceRef=\"task1512028444509\" targetRef=\"task1512029559341\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030459217\" name=\"\" sourceRef=\"exclusiveGateway1512030147786\" targetRef=\"task1512029559341\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030511163\" name=\"小于3天\" sourceRef=\"exclusiveGateway1512028526479\" targetRef=\"exclusiveGateway1512029337765\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.countDay(BPM_FORM_KEY,id) < 3}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030578574\" name=\"一线员工\" sourceRef=\"exclusiveGateway1512028371355\" targetRef=\"task1512030572138\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isRank(userid) == \'1\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030580818\" name=\"管理层员工\" sourceRef=\"exclusiveGateway1512028371355\" targetRef=\"task1512030575413\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isRank(userid) == \'2\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030676877\" name=\"通过\" sourceRef=\"task1512030572138\" targetRef=\"exclusiveGateway1512029337765\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030694450\" name=\"通过\" sourceRef=\"task1512030575413\" targetRef=\"exclusiveGateway1512029337765\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030730756\" name=\"驳回\" sourceRef=\"task1512030575413\" targetRef=\"task1512029559341\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030764661\" name=\"驳回\" sourceRef=\"task1512030572138\" targetRef=\"task1512029559341\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030783569\" name=\"重新申请\" sourceRef=\"task1512029559341\" targetRef=\"exclusiveGateway1512026181953\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030810412\" name=\"\" sourceRef=\"exclusiveGateway1512029337765\" targetRef=\"exclusiveGateway1512030808250\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030812966\" name=\"\" sourceRef=\"exclusiveGateway1512027983659\" targetRef=\"exclusiveGateway1512030808250\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030817107\" name=\"\" sourceRef=\"exclusiveGateway1512030808250\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512030905522\" name=\"带薪休假\" sourceRef=\"exclusiveGateway1512026183735\" targetRef=\"exclusiveGateway1512030879269\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${holiday_type>1}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512031329673\" name=\"通过\" sourceRef=\"task1512031259370\" targetRef=\"exclusiveGateway1512031325046\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512031447939\" name=\"驳回\" sourceRef=\"task1512031259370\" targetRef=\"task1512031432598\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512031547420\" name=\"小于30天\" sourceRef=\"exclusiveGateway1512031325046\" targetRef=\"exclusiveGateway1512031522789\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.countDay(BPM_FORM_KEY,id) < 30}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512031609390\" name=\"驳回\" sourceRef=\"task1512031375983\" targetRef=\"exclusiveGateway1512031576281\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512031622709\" name=\"\" sourceRef=\"exclusiveGateway1512031576281\" targetRef=\"task1512031432598\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512031640930\" name=\"重新申请\" sourceRef=\"task1512031432598\" targetRef=\"exclusiveGateway1512026183735\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512031769314\" name=\"通过\" sourceRef=\"task1512031375983\" targetRef=\"exclusiveGateway1512031522789\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512031806101\" name=\"一线员工\" sourceRef=\"exclusiveGateway1512030879269\" targetRef=\"task1512031668506\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isRank(userid) == \'3\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512031823716\" name=\"管理层\" sourceRef=\"exclusiveGateway1512030879269\" targetRef=\"task1512031680057\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.isRank(userid) == \'4\'}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512031865948\" name=\"驳回\" sourceRef=\"task1512031668506\" targetRef=\"task1512031432598\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512031877358\" name=\"驳回\" sourceRef=\"task1512031680057\" targetRef=\"exclusiveGateway1512031576281\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512031890648\" name=\"通过\" sourceRef=\"task1512031680057\" targetRef=\"exclusiveGateway1512031522789\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512031904938\" name=\"通过\" sourceRef=\"task1512031668506\" targetRef=\"exclusiveGateway1512031522789\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1512031955318\" name=\"\" sourceRef=\"exclusiveGateway1512031522789\" targetRef=\"exclusiveGateway1512030808250\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1533194075813\" name=\"大于等于30天\" sourceRef=\"exclusiveGateway1512031325046\" targetRef=\"task1512031375983\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.countDay(BPM_FORM_KEY,id) >=30}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1533194308507\" name=\"不带薪休假\" sourceRef=\"exclusiveGateway1512026183735\" targetRef=\"task1512031259370\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${holiday_type<=1}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1512026019957\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1512026019957\" id=\"BPMNPlane_process1512026019957\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"1149\" y=\"13\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"1262\" y=\"1426\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512027057883\" id=\"BPMNShape_task1512027057883\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"63\" y=\"542\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512027060010\" id=\"BPMNShape_task1512027060010\">\r\n <omgdc:Bounds height=\"50\" width=\"105\" x=\"235\" y=\"383\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512027775865\" id=\"BPMNShape_task1512027775865\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"651\" y=\"505\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512027814846\" id=\"BPMNShape_task1512027814846\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"495\" y=\"387\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512027900881\" id=\"BPMNShape_task1512027900881\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"364\" y=\"650\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512028322273\" id=\"BPMNShape_task1512028322273\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"793\" y=\"390\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512028444509\" id=\"BPMNShape_task1512028444509\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"869\" y=\"485\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512028581210\" id=\"BPMNShape_task1512028581210\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"823\" y=\"765\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512028616848\" id=\"BPMNShape_task1512028616848\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"956\" y=\"870\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512029408953\" id=\"BPMNShape_task1512029408953\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"864\" y=\"1075\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512029559341\" id=\"BPMNShape_task1512029559341\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"1089\" y=\"485\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512030572138\" id=\"BPMNShape_task1512030572138\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"1208\" y=\"369\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512030575413\" id=\"BPMNShape_task1512030575413\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"1345\" y=\"485\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512031259370\" id=\"BPMNShape_task1512031259370\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"1425\" y=\"400\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512031375983\" id=\"BPMNShape_task1512031375983\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"1570\" y=\"757\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512031432598\" id=\"BPMNShape_task1512031432598\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"1691\" y=\"400\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512031668506\" id=\"BPMNShape_task1512031668506\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"1845\" y=\"492\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512031680057\" id=\"BPMNShape_task1512031680057\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"1921\" y=\"695\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512026149062\" id=\"BPMNShape_exclusiveGateway1512026149062\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"1144\" y=\"100\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512026176468\" id=\"BPMNShape_exclusiveGateway1512026176468\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"389\" y=\"171\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512026181953\" id=\"BPMNShape_exclusiveGateway1512026181953\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"1061\" y=\"220\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512026183735\" id=\"BPMNShape_exclusiveGateway1512026183735\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"1773\" y=\"227\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512026845348\" id=\"BPMNShape_exclusiveGateway1512026845348\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"188\" y=\"268\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512026950769\" id=\"BPMNShape_exclusiveGateway1512026950769\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"573\" y=\"277\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512027316437\" id=\"BPMNShape_exclusiveGateway1512027316437\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"267\" y=\"547\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512027983659\" id=\"BPMNShape_exclusiveGateway1512027983659\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"676\" y=\"1080\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512028369532\" id=\"BPMNShape_exclusiveGateway1512028369532\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"886\" y=\"278\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512028371355\" id=\"BPMNShape_exclusiveGateway1512028371355\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"1270\" y=\"277\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512028523984\" id=\"BPMNShape_exclusiveGateway1512028523984\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"775\" y=\"509\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512028526479\" id=\"BPMNShape_exclusiveGateway1512028526479\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"981\" y=\"673\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512028697842\" id=\"BPMNShape_exclusiveGateway1512028697842\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"775\" y=\"916\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512029337765\" id=\"BPMNShape_exclusiveGateway1512029337765\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"1256\" y=\"1188\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512030147786\" id=\"BPMNShape_exclusiveGateway1512030147786\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"1114\" y=\"875\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512030808250\" id=\"BPMNShape_exclusiveGateway1512030808250\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"1257\" y=\"1327\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512030879269\" id=\"BPMNShape_exclusiveGateway1512030879269\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"1882\" y=\"339\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512031325046\" id=\"BPMNShape_exclusiveGateway1512031325046\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"1489\" y=\"561\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512031522789\" id=\"BPMNShape_exclusiveGateway1512031522789\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"1519\" y=\"1188\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1512031576281\" id=\"BPMNShape_exclusiveGateway1512031576281\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"1719\" y=\"882\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512026168778\" id=\"BPMNEdge_flow1512026168778\">\r\n <omgdi:waypoint x=\"1164\" y=\"43\" />\r\n <omgdi:waypoint x=\"1164\" y=\"100\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512026203036\" id=\"BPMNEdge_flow1512026203036\">\r\n <omgdi:waypoint x=\"1164\" y=\"140\" />\r\n <omgdi:waypoint x=\"1164\" y=\"180\" />\r\n <omgdi:waypoint x=\"1081\" y=\"180\" />\r\n <omgdi:waypoint x=\"1081\" y=\"220\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512026213041\" id=\"BPMNEdge_flow1512026213041\">\r\n <omgdi:waypoint x=\"1144\" y=\"120\" />\r\n <omgdi:waypoint x=\"409\" y=\"120\" />\r\n <omgdi:waypoint x=\"409\" y=\"171\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512026220065\" id=\"BPMNEdge_flow1512026220065\">\r\n <omgdi:waypoint x=\"1184\" y=\"120\" />\r\n <omgdi:waypoint x=\"1793\" y=\"120\" />\r\n <omgdi:waypoint x=\"1793\" y=\"227\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512026849134\" id=\"BPMNEdge_flow1512026849134\">\r\n <omgdi:waypoint x=\"389\" y=\"191\" />\r\n <omgdi:waypoint x=\"208\" y=\"191\" />\r\n <omgdi:waypoint x=\"208\" y=\"268\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512026955863\" id=\"BPMNEdge_flow1512026955863\">\r\n <omgdi:waypoint x=\"429\" y=\"191\" />\r\n <omgdi:waypoint x=\"593\" y=\"191\" />\r\n <omgdi:waypoint x=\"593\" y=\"277\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512027087876\" id=\"BPMNEdge_flow1512027087876\">\r\n <omgdi:waypoint x=\"188\" y=\"288\" />\r\n <omgdi:waypoint x=\"108\" y=\"288\" />\r\n <omgdi:waypoint x=\"108\" y=\"537\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512027089831\" id=\"BPMNEdge_flow1512027089831\">\r\n <omgdi:waypoint x=\"228\" y=\"288\" />\r\n <omgdi:waypoint x=\"287\" y=\"288\" />\r\n <omgdi:waypoint x=\"287\" y=\"378\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512027322171\" id=\"BPMNEdge_flow1512027322171\">\r\n <omgdi:waypoint x=\"287\" y=\"438\" />\r\n <omgdi:waypoint x=\"287\" y=\"492\" />\r\n <omgdi:waypoint x=\"287\" y=\"492\" />\r\n <omgdi:waypoint x=\"287\" y=\"547\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512027337953\" id=\"BPMNEdge_flow1512027337953\">\r\n <omgdi:waypoint x=\"267\" y=\"567\" />\r\n <omgdi:waypoint x=\"158\" y=\"567\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512027745626\" id=\"BPMNEdge_flow1512027745626\">\r\n <omgdi:waypoint x=\"573\" y=\"297\" />\r\n <omgdi:waypoint x=\"540\" y=\"297\" />\r\n <omgdi:waypoint x=\"540\" y=\"382\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512027777765\" id=\"BPMNEdge_flow1512027777765\">\r\n <omgdi:waypoint x=\"613\" y=\"297\" />\r\n <omgdi:waypoint x=\"696\" y=\"297\" />\r\n <omgdi:waypoint x=\"696\" y=\"500\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512027954838\" id=\"BPMNEdge_flow1512027954838\">\r\n <omgdi:waypoint x=\"108\" y=\"597\" />\r\n <omgdi:waypoint x=\"108\" y=\"675\" />\r\n <omgdi:waypoint x=\"359\" y=\"675\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512027962728\" id=\"BPMNEdge_flow1512027962728\">\r\n <omgdi:waypoint x=\"646\" y=\"530\" />\r\n <omgdi:waypoint x=\"552\" y=\"530\" />\r\n <omgdi:waypoint x=\"552\" y=\"675\" />\r\n <omgdi:waypoint x=\"459\" y=\"675\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512027970771\" id=\"BPMNEdge_flow1512027970771\">\r\n <omgdi:waypoint x=\"490\" y=\"412\" />\r\n <omgdi:waypoint x=\"474\" y=\"412\" />\r\n <omgdi:waypoint x=\"474\" y=\"675\" />\r\n <omgdi:waypoint x=\"459\" y=\"675\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512027992879\" id=\"BPMNEdge_flow1512027992879\">\r\n <omgdi:waypoint x=\"540\" y=\"442\" />\r\n <omgdi:waypoint x=\"540\" y=\"1100\" />\r\n <omgdi:waypoint x=\"676\" y=\"1100\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512028001672\" id=\"BPMNEdge_flow1512028001672\">\r\n <omgdi:waypoint x=\"696\" y=\"560\" />\r\n <omgdi:waypoint x=\"696\" y=\"1080\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512028072896\" id=\"BPMNEdge_flow1512028072896\">\r\n <omgdi:waypoint x=\"58\" y=\"567\" />\r\n <omgdi:waypoint x=\"38\" y=\"567\" />\r\n <omgdi:waypoint x=\"38\" y=\"1100\" />\r\n <omgdi:waypoint x=\"676\" y=\"1100\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512028225903\" id=\"BPMNEdge_flow1512028225903\">\r\n <omgdi:waypoint x=\"345\" y=\"408\" />\r\n <omgdi:waypoint x=\"352\" y=\"408\" />\r\n <omgdi:waypoint x=\"352\" y=\"675\" />\r\n <omgdi:waypoint x=\"359\" y=\"675\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512028240829\" id=\"BPMNEdge_flow1512028240829\">\r\n <omgdi:waypoint x=\"287\" y=\"587\" />\r\n <omgdi:waypoint x=\"287\" y=\"1100\" />\r\n <omgdi:waypoint x=\"676\" y=\"1100\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512028262493\" id=\"BPMNEdge_flow1512028262493\">\r\n <omgdi:waypoint x=\"409\" y=\"645\" />\r\n <omgdi:waypoint x=\"409\" y=\"211\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512028324447\" id=\"BPMNEdge_flow1512028324447\">\r\n <omgdi:waypoint x=\"1061\" y=\"240\" />\r\n <omgdi:waypoint x=\"906\" y=\"240\" />\r\n <omgdi:waypoint x=\"906\" y=\"278\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512028406849\" id=\"BPMNEdge_flow1512028406849\">\r\n <omgdi:waypoint x=\"1101\" y=\"240\" />\r\n <omgdi:waypoint x=\"1290\" y=\"240\" />\r\n <omgdi:waypoint x=\"1290\" y=\"277\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512028435110\" id=\"BPMNEdge_flow1512028435110\">\r\n <omgdi:waypoint x=\"886\" y=\"298\" />\r\n <omgdi:waypoint x=\"838\" y=\"298\" />\r\n <omgdi:waypoint x=\"838\" y=\"385\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512028446201\" id=\"BPMNEdge_flow1512028446201\">\r\n <omgdi:waypoint x=\"926\" y=\"298\" />\r\n <omgdi:waypoint x=\"946\" y=\"298\" />\r\n <omgdi:waypoint x=\"946\" y=\"389\" />\r\n <omgdi:waypoint x=\"914\" y=\"389\" />\r\n <omgdi:waypoint x=\"914\" y=\"480\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512028545163\" id=\"BPMNEdge_flow1512028545163\">\r\n <omgdi:waypoint x=\"838\" y=\"445\" />\r\n <omgdi:waypoint x=\"838\" y=\"477\" />\r\n <omgdi:waypoint x=\"795\" y=\"477\" />\r\n <omgdi:waypoint x=\"795\" y=\"509\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512028564652\" id=\"BPMNEdge_flow1512028564652\">\r\n <omgdi:waypoint x=\"914\" y=\"540\" />\r\n <omgdi:waypoint x=\"914\" y=\"606\" />\r\n <omgdi:waypoint x=\"1001\" y=\"606\" />\r\n <omgdi:waypoint x=\"1001\" y=\"673\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512028586123\" id=\"BPMNEdge_flow1512028586123\">\r\n <omgdi:waypoint x=\"795\" y=\"549\" />\r\n <omgdi:waypoint x=\"795\" y=\"654\" />\r\n <omgdi:waypoint x=\"868\" y=\"654\" />\r\n <omgdi:waypoint x=\"868\" y=\"760\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512028620969\" id=\"BPMNEdge_flow1512028620969\">\r\n <omgdi:waypoint x=\"1001\" y=\"713\" />\r\n <omgdi:waypoint x=\"1001\" y=\"865\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512028786898\" id=\"BPMNEdge_flow1512028786898\">\r\n <omgdi:waypoint x=\"868\" y=\"820\" />\r\n <omgdi:waypoint x=\"868\" y=\"868\" />\r\n <omgdi:waypoint x=\"795\" y=\"868\" />\r\n <omgdi:waypoint x=\"795\" y=\"916\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512029339906\" id=\"BPMNEdge_flow1512029339906\">\r\n <omgdi:waypoint x=\"1001\" y=\"925\" />\r\n <omgdi:waypoint x=\"1001\" y=\"1208\" />\r\n <omgdi:waypoint x=\"1256\" y=\"1208\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512029411274\" id=\"BPMNEdge_flow1512029411274\">\r\n <omgdi:waypoint x=\"795\" y=\"956\" />\r\n <omgdi:waypoint x=\"795\" y=\"1013\" />\r\n <omgdi:waypoint x=\"909\" y=\"1013\" />\r\n <omgdi:waypoint x=\"909\" y=\"1070\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512029444289\" id=\"BPMNEdge_flow1512029444289\">\r\n <omgdi:waypoint x=\"775\" y=\"936\" />\r\n <omgdi:waypoint x=\"745\" y=\"936\" />\r\n <omgdi:waypoint x=\"745\" y=\"1100\" />\r\n <omgdi:waypoint x=\"716\" y=\"1100\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512029484695\" id=\"BPMNEdge_flow1512029484695\">\r\n <omgdi:waypoint x=\"775\" y=\"529\" />\r\n <omgdi:waypoint x=\"745\" y=\"529\" />\r\n <omgdi:waypoint x=\"745\" y=\"1100\" />\r\n <omgdi:waypoint x=\"716\" y=\"1100\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512029538924\" id=\"BPMNEdge_flow1512029538924\">\r\n <omgdi:waypoint x=\"859\" y=\"1100\" />\r\n <omgdi:waypoint x=\"716\" y=\"1100\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512029574610\" id=\"BPMNEdge_flow1512029574610\">\r\n <omgdi:waypoint x=\"888\" y=\"415\" />\r\n <omgdi:waypoint x=\"986\" y=\"415\" />\r\n <omgdi:waypoint x=\"986\" y=\"510\" />\r\n <omgdi:waypoint x=\"1084\" y=\"510\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030150600\" id=\"BPMNEdge_flow1512030150600\">\r\n <omgdi:waypoint x=\"959\" y=\"1100\" />\r\n <omgdi:waypoint x=\"1134\" y=\"1100\" />\r\n <omgdi:waypoint x=\"1134\" y=\"915\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030154398\" id=\"BPMNEdge_flow1512030154398\">\r\n <omgdi:waypoint x=\"1051\" y=\"895\" />\r\n <omgdi:waypoint x=\"1114\" y=\"895\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030171404\" id=\"BPMNEdge_flow1512030171404\">\r\n <omgdi:waypoint x=\"918\" y=\"790\" />\r\n <omgdi:waypoint x=\"1134\" y=\"790\" />\r\n <omgdi:waypoint x=\"1134\" y=\"540\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030374502\" id=\"BPMNEdge_flow1512030374502\">\r\n <omgdi:waypoint x=\"964\" y=\"510\" />\r\n <omgdi:waypoint x=\"1084\" y=\"510\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030459217\" id=\"BPMNEdge_flow1512030459217\">\r\n <omgdi:waypoint x=\"1134\" y=\"875\" />\r\n <omgdi:waypoint x=\"1134\" y=\"540\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030511163\" id=\"BPMNEdge_flow1512030511163\">\r\n <omgdi:waypoint x=\"1021\" y=\"693\" />\r\n <omgdi:waypoint x=\"1276\" y=\"693\" />\r\n <omgdi:waypoint x=\"1276\" y=\"1188\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030578574\" id=\"BPMNEdge_flow1512030578574\">\r\n <omgdi:waypoint x=\"1270\" y=\"297\" />\r\n <omgdi:waypoint x=\"1253\" y=\"297\" />\r\n <omgdi:waypoint x=\"1253\" y=\"364\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030580818\" id=\"BPMNEdge_flow1512030580818\">\r\n <omgdi:waypoint x=\"1310\" y=\"297\" />\r\n <omgdi:waypoint x=\"1390\" y=\"297\" />\r\n <omgdi:waypoint x=\"1390\" y=\"480\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030676877\" id=\"BPMNEdge_flow1512030676877\">\r\n <omgdi:waypoint x=\"1303\" y=\"394\" />\r\n <omgdi:waypoint x=\"1323\" y=\"394\" />\r\n <omgdi:waypoint x=\"1323\" y=\"791\" />\r\n <omgdi:waypoint x=\"1276\" y=\"791\" />\r\n <omgdi:waypoint x=\"1276\" y=\"1188\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030694450\" id=\"BPMNEdge_flow1512030694450\">\r\n <omgdi:waypoint x=\"1390\" y=\"540\" />\r\n <omgdi:waypoint x=\"1390\" y=\"1208\" />\r\n <omgdi:waypoint x=\"1296\" y=\"1208\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030730756\" id=\"BPMNEdge_flow1512030730756\">\r\n <omgdi:waypoint x=\"1340\" y=\"510\" />\r\n <omgdi:waypoint x=\"1184\" y=\"510\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030764661\" id=\"BPMNEdge_flow1512030764661\">\r\n <omgdi:waypoint x=\"1203\" y=\"394\" />\r\n <omgdi:waypoint x=\"1193\" y=\"394\" />\r\n <omgdi:waypoint x=\"1193\" y=\"510\" />\r\n <omgdi:waypoint x=\"1184\" y=\"510\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030783569\" id=\"BPMNEdge_flow1512030783569\">\r\n <omgdi:waypoint x=\"1134\" y=\"480\" />\r\n <omgdi:waypoint x=\"1134\" y=\"370\" />\r\n <omgdi:waypoint x=\"1081\" y=\"370\" />\r\n <omgdi:waypoint x=\"1081\" y=\"260\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030810412\" id=\"BPMNEdge_flow1512030810412\">\r\n <omgdi:waypoint x=\"1276\" y=\"1228\" />\r\n <omgdi:waypoint x=\"1276\" y=\"1277\" />\r\n <omgdi:waypoint x=\"1277\" y=\"1277\" />\r\n <omgdi:waypoint x=\"1277\" y=\"1327\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030812966\" id=\"BPMNEdge_flow1512030812966\">\r\n <omgdi:waypoint x=\"696\" y=\"1120\" />\r\n <omgdi:waypoint x=\"696\" y=\"1347\" />\r\n <omgdi:waypoint x=\"1257\" y=\"1347\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030817107\" id=\"BPMNEdge_flow1512030817107\">\r\n <omgdi:waypoint x=\"1277\" y=\"1367\" />\r\n <omgdi:waypoint x=\"1277\" y=\"1426\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512030905522\" id=\"BPMNEdge_flow1512030905522\">\r\n <omgdi:waypoint x=\"1813\" y=\"247\" />\r\n <omgdi:waypoint x=\"1902\" y=\"247\" />\r\n <omgdi:waypoint x=\"1902\" y=\"339\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512031329673\" id=\"BPMNEdge_flow1512031329673\">\r\n <omgdi:waypoint x=\"1470\" y=\"455\" />\r\n <omgdi:waypoint x=\"1470\" y=\"508\" />\r\n <omgdi:waypoint x=\"1509\" y=\"508\" />\r\n <omgdi:waypoint x=\"1509\" y=\"561\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512031447939\" id=\"BPMNEdge_flow1512031447939\">\r\n <omgdi:waypoint x=\"1520\" y=\"425\" />\r\n <omgdi:waypoint x=\"1686\" y=\"425\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512031547420\" id=\"BPMNEdge_flow1512031547420\">\r\n <omgdi:waypoint x=\"1529\" y=\"581\" />\r\n <omgdi:waypoint x=\"1539\" y=\"581\" />\r\n <omgdi:waypoint x=\"1539\" y=\"1188\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512031609390\" id=\"BPMNEdge_flow1512031609390\">\r\n <omgdi:waypoint x=\"1665\" y=\"782\" />\r\n <omgdi:waypoint x=\"1702\" y=\"782\" />\r\n <omgdi:waypoint x=\"1702\" y=\"942\" />\r\n <omgdi:waypoint x=\"1739\" y=\"942\" />\r\n <omgdi:waypoint x=\"1739\" y=\"922\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512031622709\" id=\"BPMNEdge_flow1512031622709\">\r\n <omgdi:waypoint x=\"1739\" y=\"882\" />\r\n <omgdi:waypoint x=\"1739\" y=\"668\" />\r\n <omgdi:waypoint x=\"1736\" y=\"668\" />\r\n <omgdi:waypoint x=\"1736\" y=\"455\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512031640930\" id=\"BPMNEdge_flow1512031640930\">\r\n <omgdi:waypoint x=\"1736\" y=\"395\" />\r\n <omgdi:waypoint x=\"1736\" y=\"331\" />\r\n <omgdi:waypoint x=\"1793\" y=\"331\" />\r\n <omgdi:waypoint x=\"1793\" y=\"267\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512031769314\" id=\"BPMNEdge_flow1512031769314\">\r\n <omgdi:waypoint x=\"1615\" y=\"812\" />\r\n <omgdi:waypoint x=\"1615\" y=\"1208\" />\r\n <omgdi:waypoint x=\"1559\" y=\"1208\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512031806101\" id=\"BPMNEdge_flow1512031806101\">\r\n <omgdi:waypoint x=\"1882\" y=\"359\" />\r\n <omgdi:waypoint x=\"1862\" y=\"359\" />\r\n <omgdi:waypoint x=\"1862\" y=\"423\" />\r\n <omgdi:waypoint x=\"1890\" y=\"423\" />\r\n <omgdi:waypoint x=\"1890\" y=\"487\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512031823716\" id=\"BPMNEdge_flow1512031823716\">\r\n <omgdi:waypoint x=\"1922\" y=\"359\" />\r\n <omgdi:waypoint x=\"1966\" y=\"359\" />\r\n <omgdi:waypoint x=\"1966\" y=\"690\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512031865948\" id=\"BPMNEdge_flow1512031865948\">\r\n <omgdi:waypoint x=\"1840\" y=\"517\" />\r\n <omgdi:waypoint x=\"1736\" y=\"517\" />\r\n <omgdi:waypoint x=\"1736\" y=\"455\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512031877358\" id=\"BPMNEdge_flow1512031877358\">\r\n <omgdi:waypoint x=\"1916\" y=\"720\" />\r\n <omgdi:waypoint x=\"1837\" y=\"720\" />\r\n <omgdi:waypoint x=\"1837\" y=\"902\" />\r\n <omgdi:waypoint x=\"1759\" y=\"902\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512031890648\" id=\"BPMNEdge_flow1512031890648\">\r\n <omgdi:waypoint x=\"1966\" y=\"750\" />\r\n <omgdi:waypoint x=\"1966\" y=\"1208\" />\r\n <omgdi:waypoint x=\"1559\" y=\"1208\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512031904938\" id=\"BPMNEdge_flow1512031904938\">\r\n <omgdi:waypoint x=\"1890\" y=\"547\" />\r\n <omgdi:waypoint x=\"1890\" y=\"1208\" />\r\n <omgdi:waypoint x=\"1559\" y=\"1208\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1512031955318\" id=\"BPMNEdge_flow1512031955318\">\r\n <omgdi:waypoint x=\"1539\" y=\"1228\" />\r\n <omgdi:waypoint x=\"1539\" y=\"1347\" />\r\n <omgdi:waypoint x=\"1297\" y=\"1347\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1533194075813\" id=\"BPMNEdge_flow1533194075813\">\r\n <omgdi:waypoint x=\"1489\" y=\"581\" />\r\n <omgdi:waypoint x=\"1469\" y=\"581\" />\r\n <omgdi:waypoint x=\"1469\" y=\"782\" />\r\n <omgdi:waypoint x=\"1565\" y=\"782\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1533194308507\" id=\"BPMNEdge_flow1533194308507\">\r\n <omgdi:waypoint x=\"1773\" y=\"247\" />\r\n <omgdi:waypoint x=\"1470\" y=\"247\" />\r\n <omgdi:waypoint x=\"1470\" y=\"395\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2018-08-19 19:09:49','admin','管理员','2017-11-30 15:17:35','admin','process1512026019957',1,'0','all');
  2670. INSERT INTO `t_p_processnode` VALUES ('ff808081600b019701600bf0a5790016',NULL,'ff808081600b019701600bc9ad730003','task1512027057883','总经理审批','holidayController.do?goView','holidayController.do?goView',1,'ff80808160ded60e0160df77026c0a39','pushandmsg','0'),('ff808081600b019701600bf0a5a50017',NULL,'ff808081600b019701600bc9ad730003','task1512027060010','部门经理审批','holidayController.do?goView','holidayController.do?goView',NULL,'ff80808160ded60e0160df77026c0a39','no','0'),('ff808081600b019701600bf0a5ed0018',NULL,'ff808081600b019701600bc9ad730003','task1512027775865','总经理审批','holidayController.do?goView','holidayController.do?goView',NULL,'ff80808160ded60e0160df77026c0a39','push','0'),('ff808081600b019701600bf0a6170019',NULL,'ff808081600b019701600bc9ad730003','task1512027814846','部门经理审批',NULL,NULL,NULL,NULL,'no','0'),('ff808081600b019701600bf0a63f001a',NULL,'ff808081600b019701600bc9ad730003','task1512027900881','申请人','holidayController.do?goView&flage=false','holidayController.do?goView&flage=false',NULL,'ff808081600b019701600bc6004e0001','no','0'),('ff808081600b019701600bf0a667001b',NULL,'ff808081600b019701600bc9ad730003','task1512028322273','项目经理审批',NULL,NULL,NULL,NULL,NULL,'0'),('ff808081600b019701600bf0a690001c',NULL,'ff808081600b019701600bc9ad730003','task1512028444509','项目负责人审批',NULL,NULL,NULL,NULL,'no','0'),('ff808081600b019701600bf0a6be001d',NULL,'ff808081600b019701600bc9ad730003','task1512028581210','项目负责人审批',NULL,NULL,NULL,NULL,NULL,'0'),('ff808081600b019701600bf0a6e7001e',NULL,'ff808081600b019701600bc9ad730003','task1512028616848','总经理审批',NULL,NULL,NULL,NULL,NULL,'0'),('ff808081600b019701600c20e599001f',NULL,'ff808081600b019701600bc9ad730003','task1512029408953','总经理审批',NULL,NULL,NULL,NULL,NULL,'0'),('ff808081600b019701600c20e5cb0020',NULL,'ff808081600b019701600bc9ad730003','task1512029559341','申请人','holidayController.do?goView&flage=false','holidayController.do?goView&flage=false',NULL,'ff808081600b019701600bc6004e0001','no','0'),('ff808081600b019701600c20e5f40021',NULL,'ff808081600b019701600bc9ad730003','task1512030572138','项目经理审批',NULL,NULL,NULL,NULL,NULL,'0'),('ff808081600b019701600c20e6240022',NULL,'ff808081600b019701600bc9ad730003','task1512030575413','项目负责人审批',NULL,NULL,NULL,NULL,NULL,'0'),('ff808081600b019701600c20e6750023',NULL,'ff808081600b019701600bc9ad730003','task1512031259370','项目经理审批',NULL,NULL,NULL,NULL,NULL,'0'),('ff808081600b019701600c20e6f90026',NULL,'ff808081600b019701600bc9ad730003','task1512031375983','总经理审批',NULL,NULL,NULL,NULL,'no','0'),('ff808081600b019701600c20e7210027',NULL,'ff808081600b019701600bc9ad730003','task1512031432598','申请人','holidayController.do?goView&flage=false','holidayController.do?goView&flage=false',NULL,'ff808081600b019701600bc6004e0001','no','0'),('ff808081600b019701600c20e7480028',NULL,'ff808081600b019701600bc9ad730003','task1512031668506','项目经理审批',NULL,NULL,NULL,NULL,NULL,'0'),('ff808081600b019701600c20e7710029',NULL,'ff808081600b019701600bc9ad730003','task1512031680057','区域经理审批',NULL,NULL,NULL,NULL,NULL,'0');
  2671. INSERT INTO `t_p_processnode_config` VALUES ('ff80808160ded60e0160df77026c0a39','holiday','超时查看页','holidayController.do?goView','holidayController.do?goView'),('ff808081600b019701600bc6004e0001','holiday','再次申请页','holidayController.do?goView&flage=false','holidayController.do?goView&flage=false');
  2672. INSERT INTO `t_s_busconfig` VALUES ('ff808081600b019701600c22c6a2002c',NULL,'online','','t_bus_holiday','ff808081600b019701600bc9ad730003','休假申请(${holiday_typename})','formdeal','休假申请流程','休假申请表','4028e4885f8efdf6015f8f0f70240015');
  2673. INSERT INTO `t_process_busconfig` VALUES ('4028e4885f8efdf6015f8f0f70240015','休假申请流程','休假申请(${holiday_typename})','休假申请表','t_bus_holiday','holiday');
  2674. #休假签报调整
  2675. INSERT INTO `t_p_flowcondition` VALUES ('402881e56e88333d016e88adfce90041','管理员','admin','2019-11-20 19:58:54',NULL,NULL,NULL,'A06A01','A06',NULL,'非项目经理或部门经理(职务)','${flowconditionUtil.deutiesType(BPM_FORM_KEY,id) != 4}'),('402881e56e88333d016e88b35fd80047','管理员','admin','2019-11-20 20:04:47','管理员','admin','2019-11-20 20:10:23','A06A01','A06','holiday','休假时长>7天','${flowconditionUtil.countDay(BPM_FORM_KEY,id)>7}'),('402881e56e88333d016e88b3b9c70049','管理员','admin','2019-11-20 20:05:10','管理员','admin','2019-11-20 20:10:08','A06A01','A06','holiday','休假时长<=7天','${flowconditionUtil.countDay(BPM_FORM_KEY,id)<=7}');
  2676. delete from `t_p_processnode` where processid='ff808081600b019701600bc9ad730003';
  2677. delete from `t_p_process` where id='ff808081600b019701600bc9ad730003';
  2678. INSERT INTO `t_p_process` VALUES ('ff808081600b019701600bc9ad730003','holiday',NULL,'休假申请流程',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1512026019957\" name=\"休假申请流程\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"ff8080816057f8970160599baa6f0111\" event=\"end\" class=\"cn.com.lzt.common.listener.execution.ProcessTestListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1512027057883\" name=\"总经理审批\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'BOSS\')}\" >\r\n </userTask>\r\n <userTask id=\"task1512027900881\" name=\"申请人\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <userTask id=\"task1574252032795\" name=\"组织机构负责人\" activiti:candidateUsers=\"${flowUtil.customerUserSelect(BPM_FORM_KEY,BPM_DATA_ID,\'DEPART_MANAGER\')}\" >\r\n </userTask>\r\n <userTask id=\"task1574252190583\" name=\"人事分管副总\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_RSFZ\')}\" >\r\n </userTask>\r\n <exclusiveGateway id=\"exclusiveGateway1574252025315\" name=\"exclusiveGateway1574252025315\">\r\n </exclusiveGateway>\r\n <exclusiveGateway id=\"exclusiveGateway1574252142946\" name=\"exclusiveGateway1574252142946\">\r\n </exclusiveGateway>\r\n <sequenceFlow id=\"flow1574252028308\" name=\"\" sourceRef=\"start1\" targetRef=\"exclusiveGateway1574252025315\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1574252030539\" name=\"项目/部门经理\" sourceRef=\"exclusiveGateway1574252025315\" targetRef=\"task1512027057883\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.deutiesType(BPM_FORM_KEY,id) == 4}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1574252034286\" name=\"非经理\" sourceRef=\"exclusiveGateway1574252025315\" targetRef=\"task1574252032795\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.deutiesType(BPM_FORM_KEY,id) != 4}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1574252144350\" name=\"通过\" sourceRef=\"task1574252032795\" targetRef=\"exclusiveGateway1574252142946\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1574252158766\" name=\"休假小于7天\" sourceRef=\"exclusiveGateway1574252142946\" targetRef=\"end\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.countDay(BPM_FORM_KEY,id)<=7}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1574252193084\" name=\"休假大于7天\" sourceRef=\"exclusiveGateway1574252142946\" targetRef=\"task1574252190583\">\r\n <conditionExpression xsi:type=\"tFormalExpression\">\r\n <![CDATA[${flowconditionUtil.countDay(BPM_FORM_KEY,id)>7}]]>\r\n </conditionExpression>\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1574252308046\" name=\"通过\" sourceRef=\"task1512027057883\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1574252310596\" name=\"通过\" sourceRef=\"task1574252190583\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1574253658821\" name=\"驳回\" sourceRef=\"task1574252190583\" targetRef=\"task1512027900881\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1574253662218\" name=\"驳回\" sourceRef=\"task1512027057883\" targetRef=\"task1512027900881\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1574253665381\" name=\"驳回\" sourceRef=\"task1574252032795\" targetRef=\"task1512027900881\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1574253667549\" name=\"提交\" sourceRef=\"task1512027900881\" targetRef=\"exclusiveGateway1574252025315\">\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1512026019957\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1512026019957\" id=\"BPMNPlane_process1512026019957\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"374\" y=\"20\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"374\" y=\"552\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512027057883\" id=\"BPMNShape_task1512027057883\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"186\" y=\"260\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1512027900881\" id=\"BPMNShape_task1512027900881\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"344\" y=\"260\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1574252032795\" id=\"BPMNShape_task1574252032795\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"504\" y=\"260\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1574252190583\" id=\"BPMNShape_task1574252190583\">\r\n <omgdc:Bounds height=\"59\" width=\"90\" x=\"344\" y=\"399\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1574252025315\" id=\"BPMNShape_exclusiveGateway1574252025315\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"369\" y=\"113\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"exclusiveGateway1574252142946\" id=\"BPMNShape_exclusiveGateway1574252142946\">\r\n <omgdc:Bounds height=\"40\" width=\"40\" x=\"529\" y=\"408\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574252028308\" id=\"BPMNEdge_flow1574252028308\">\r\n <omgdi:waypoint x=\"389\" y=\"50\" />\r\n <omgdi:waypoint x=\"389\" y=\"113\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574252030539\" id=\"BPMNEdge_flow1574252030539\">\r\n <omgdi:waypoint x=\"369\" y=\"133\" />\r\n <omgdi:waypoint x=\"231\" y=\"133\" />\r\n <omgdi:waypoint x=\"231\" y=\"255\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574252034286\" id=\"BPMNEdge_flow1574252034286\">\r\n <omgdi:waypoint x=\"409\" y=\"133\" />\r\n <omgdi:waypoint x=\"549\" y=\"133\" />\r\n <omgdi:waypoint x=\"549\" y=\"255\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574252144350\" id=\"BPMNEdge_flow1574252144350\">\r\n <omgdi:waypoint x=\"549\" y=\"315\" />\r\n <omgdi:waypoint x=\"549\" y=\"408\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574252158766\" id=\"BPMNEdge_flow1574252158766\">\r\n <omgdi:waypoint x=\"549\" y=\"448\" />\r\n <omgdi:waypoint x=\"549\" y=\"567\" />\r\n <omgdi:waypoint x=\"404\" y=\"567\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574252193084\" id=\"BPMNEdge_flow1574252193084\">\r\n <omgdi:waypoint x=\"529\" y=\"428\" />\r\n <omgdi:waypoint x=\"484\" y=\"428\" />\r\n <omgdi:waypoint x=\"484\" y=\"428\" />\r\n <omgdi:waypoint x=\"439\" y=\"428\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574252308046\" id=\"BPMNEdge_flow1574252308046\">\r\n <omgdi:waypoint x=\"231\" y=\"315\" />\r\n <omgdi:waypoint x=\"231\" y=\"567\" />\r\n <omgdi:waypoint x=\"374\" y=\"567\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574252310596\" id=\"BPMNEdge_flow1574252310596\">\r\n <omgdi:waypoint x=\"389\" y=\"463\" />\r\n <omgdi:waypoint x=\"389\" y=\"552\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574253658821\" id=\"BPMNEdge_flow1574253658821\">\r\n <omgdi:waypoint x=\"389\" y=\"394\" />\r\n <omgdi:waypoint x=\"389\" y=\"315\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574253662218\" id=\"BPMNEdge_flow1574253662218\">\r\n <omgdi:waypoint x=\"281\" y=\"285\" />\r\n <omgdi:waypoint x=\"339\" y=\"285\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574253665381\" id=\"BPMNEdge_flow1574253665381\">\r\n <omgdi:waypoint x=\"499\" y=\"285\" />\r\n <omgdi:waypoint x=\"439\" y=\"285\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574253667549\" id=\"BPMNEdge_flow1574253667549\">\r\n <omgdi:waypoint x=\"389\" y=\"255\" />\r\n <omgdi:waypoint x=\"389\" y=\"153\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-11-20 20:42:51','admin','管理员','2017-11-30 15:17:35','admin','process1512026019957',1,'0','all');
  2679. INSERT INTO `t_p_processnode` VALUES ('ff808081600b019701600bf0a5790016',NULL,'ff808081600b019701600bc9ad730003','task1512027057883','总经理审批','holidayController.do?goView','holidayController.do?goView',1,'ff80808160ded60e0160df77026c0a39','pushandmsg','0'),('ff808081600b019701600bf0a63f001a',NULL,'ff808081600b019701600bc9ad730003','task1512027900881','申请人','holidayController.do?goView&flage=false','holidayController.do?goView&flage=false',NULL,'ff808081600b019701600bc6004e0001','no','0'),('402881e56e88333d016e88bd5d17004d',NULL,'ff808081600b019701600bc9ad730003','task1574252032795','组织机构负责人','holidayController.do?goView','holidayController.do?goView',NULL,'ff80808160ded60e0160df77026c0a39','no','0'),('402881e56e88333d016e88be6227004e',NULL,'ff808081600b019701600bc9ad730003','task1574252190583','人事分管副总','holidayController.do?goView','holidayController.do?goView',NULL,'ff80808160ded60e0160df77026c0a39','no','0');
  2680. #新增报表:工作统计(按类型)、工作统计(按部门)
  2681. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402888796e908fab016e909bf2590001', NULL, 1, '工作统计(按类型)', '21', 'xcglRptController.do?taskStatsType', '4028e4a55ec173a1015ec1b862b20058', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-11-22 08:56:10', NULL);
  2682. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402880e86e8d5adb016e8d78da850001', NULL, 1, '工作统计(按部门)', '20', 'xcglRptController.do?taskstats-org', '4028e4a55ec173a1015ec1b862b20058', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-11-22 08:56:26', '2019-11-21 18:18:58', '管理员');
  2683. #增加菜单:待配工资策略清单
  2684. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402888796e90e6ee016e90e8fc300001', NULL, 1, '待配工资策略清单', '1', 'userWagestrategyController.do?noWagelist', '4028e4a55ec173a1015ec1b58580003c', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-11-22 10:20:18', NULL);
  2685. #调休签报详情
  2686. CREATE TABLE `t_bus_activiti_exchange_detail` (
  2687. `id` varchar(36) NOT NULL COMMENT 'id',
  2688. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2689. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2690. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2691. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2692. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2693. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2694. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  2695. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  2696. `bpm_status` varchar(32) DEFAULT NULL COMMENT '流程状态',
  2697. `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '流程id',
  2698. `step_name` varchar(32) DEFAULT NULL COMMENT '流程名',
  2699. `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
  2700. `real_name` varchar(255) DEFAULT NULL COMMENT '员工姓名',
  2701. `depart_id` varchar(32) DEFAULT NULL COMMENT '部门id',
  2702. `dep_name` varchar(255) DEFAULT NULL COMMENT '部门名',
  2703. `start_time` datetime DEFAULT NULL COMMENT '调休开始时间',
  2704. `end_time` datetime DEFAULT NULL COMMENT '调休结束时间',
  2705. `exchange_time` double DEFAULT NULL COMMENT '调休时长',
  2706. `remark` text COMMENT '备注',
  2707. `exchange_id` varchar(36) DEFAULT NULL COMMENT '调休签报id',
  2708. PRIMARY KEY (`id`),
  2709. KEY `create_by` (`create_by`),
  2710. KEY `exchage_id` (`exchange_id`)
  2711. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2712. #功能权限-财务签报 菜单地址录入
  2713. delete from t_s_function where parentfunctionid='ff8080816e687d71016e68822fbe0002';
  2714. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e687d71016e688565d70004', NULL, 1, '备用金签报', '1', 'tBActivitiCostPettyCashController.do?list', 'ff8080816e687d71016e68822fbe0002', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fa fa-cny', 'admin', '管理员', NULL, NULL, '2019-11-14 14:06:43', NULL);
  2715. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e687d71016e68867ec50006', NULL, 1, '费用申请签报', '2', 'tBActivitiCostRequestController.do?list', 'ff8080816e687d71016e68822fbe0002', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fa fa-hand-o-down', 'admin', '管理员', 'admin', '2019-11-24 13:11:06', '2019-11-14 14:07:55', '管理员');
  2716. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e687d71016e6887a4750008', NULL, 1, '合同付款签报', '3', 'contractPaymentController.do?applylist', 'ff8080816e687d71016e68822fbe0002', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fa fa-wpforms', 'admin', '管理员', 'admin', '2019-11-14 14:10:03', '2019-11-14 14:09:10', '管理员');
  2717. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e687d71016e688a5e28000b', NULL, 1, '临时付款(公对公)签报', '4', 'tBActivitiCostPayTmpCompanyController.do?list', 'ff8080816e687d71016e68822fbe0002', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fa fa-cc-mastercard', 'admin', '管理员', 'admin', '2019-11-24 13:04:21', '2019-11-14 14:12:09', '管理员');
  2718. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e687d71016e688d0609000d', NULL, 1, '费用报销签报 ', '5', 'tBActivitiCostPayInnerUserController.do?list', 'ff8080816e687d71016e68822fbe0002', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fa fa-cubes', 'admin', '管理员', 'admin', '2019-11-24 13:06:16', '2019-11-14 14:15:03', '管理员');
  2719. delete from t_s_function where id='ff8080816e687d71016e68919e030012';
  2720. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e687d71016e68919e030012', NULL, 1, '加班申请', '1', 'tBusActivitiOvertimeController.do?list', 'ff8080816e687d71016e688eee2f0010', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fas fa-user-astronaut', 'admin', '管理员', 'admin', '2019-11-24 13:06:52', '2019-11-14 14:20:04', '管理员');
  2721. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('ff8080816e20fac5016e20fcb07a0001', NULL, 1, '供应商供货汇总表', '50', 'purchaseRptController.do?supplierSumRpt', 'ff80808166106df501661380b5fa0632', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-10-31 16:52:00', '2019-10-31 16:44:21', '管理员');
  2722. #立项签报
  2723. CREATE TABLE `t_b_activiti_project` (
  2724. `id` varchar(36) NOT NULL,
  2725. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  2726. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  2727. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2728. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  2729. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  2730. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2731. `code` varchar(32) DEFAULT NULL COMMENT '项目编码',
  2732. `name` varchar(255) DEFAULT NULL COMMENT '项目名称',
  2733. `project_type` varchar(32) DEFAULT NULL COMMENT '项目类型',
  2734. `addr` varchar(255) DEFAULT NULL COMMENT '详细地址',
  2735. `zone` varchar(32) DEFAULT NULL COMMENT '所属区域',
  2736. `leadername` varchar(255) DEFAULT NULL COMMENT '项目经理',
  2737. `receive_time` datetime DEFAULT NULL COMMENT '拟接管日期',
  2738. `customername` varchar(255) DEFAULT NULL COMMENT '甲方名称',
  2739. `floor_space` varchar(255) DEFAULT NULL,
  2740. `services` varchar(255) DEFAULT NULL COMMENT '服务内容',
  2741. `proc_inst_id` varchar(64) DEFAULT NULL,
  2742. `step_name` varchar(64) DEFAULT NULL,
  2743. `bpm_status` varchar(64) DEFAULT NULL,
  2744. PRIMARY KEY (`id`) USING BTREE
  2745. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='立项签报';
  2746. INSERT INTO `t_s_typegroup` VALUES ('402881e56ea70302016ea775dac50034','project_kind','项目类型','2019-11-26 19:25:49','管理员'),('402881e56ea785cf016ea7a472cf0015','project_service_items','项目服务内容','2019-11-26 20:16:43','管理员');
  2747. INSERT INTO `t_s_type` VALUES ('402881e56ea70302016ea77655ab0036','bgl','办公楼',NULL,'402881e56ea70302016ea775dac50034','2019-11-26 19:26:21','管理员'),('402881e56ea70302016ea7767d650038','gzwy','公众物业',NULL,'402881e56ea70302016ea775dac50034','2019-11-26 19:26:31','管理员'),('402881e56ea70302016ea776ac22003a','zzwy','住宅物业',NULL,'402881e56ea70302016ea775dac50034','2019-11-26 19:26:43','管理员'),('402881e56ea70302016ea776d3cf003c','yywy','医院物业',NULL,'402881e56ea70302016ea775dac50034','2019-11-26 19:26:53','管理员'),('402881e56ea70302016ea77701b7003e','xxwy','学校物业',NULL,'402881e56ea70302016ea775dac50034','2019-11-26 19:27:05','管理员'),('402881e56ea70302016ea77739170040','yqwy','园区物业',NULL,'402881e56ea70302016ea775dac50034','2019-11-26 19:27:19','管理员'),('402881e56ea70302016ea77853780042','project','立项签报',NULL,'402889fe47eddd340147ede15c070001','2019-11-26 19:28:31','管理员'),('402881e56ea785cf016ea7a4dd570019','ba','保安服务',NULL,'402881e56ea785cf016ea7a472cf0015','2019-11-26 20:17:10','管理员'),('402881e56ea785cf016ea7a506db001b','bj','保洁服务',NULL,'402881e56ea785cf016ea7a472cf0015','2019-11-26 20:17:21','管理员'),('402881e56ea785cf016ea7a523d5001d','wx','维修服务',NULL,'402881e56ea785cf016ea7a472cf0015','2019-11-26 20:17:28','管理员'),('402881e56ea785cf016ea7a53b85001f','sg','宿管服务',NULL,'402881e56ea785cf016ea7a472cf0015','2019-11-26 20:17:34','管理员'),('402881e56ea785cf016ea7a572af0023','st','食堂服务',NULL,'402881e56ea785cf016ea7a472cf0015','2019-11-26 20:17:48','管理员'),('402881e56ea785cf016ea7a599dd0025','lvh','绿化养护',NULL,'402881e56ea785cf016ea7a472cf0015','2019-11-26 20:17:58','管理员'),('402881e56ea785cf016ea7a5ba640027','kf','客服接待',NULL,'402881e56ea785cf016ea7a472cf0015','2019-11-26 20:18:07','管理员');
  2748. INSERT INTO `t_s_function` VALUES ('402881e56ea785cf016ea7953fe10001',NULL,1,'立项签报','45','tBActivitiProjectController.do?list','402881e56dc9460b016dc94749800001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-11-26 20:00:22','2019-11-26 20:00:07','管理员');
  2749. INSERT INTO `t_p_process` VALUES ('402881e56eaa69e7016eaa6d183d0001','project',NULL,'立项签报',NULL,'<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activiti=\"http://activiti.org/bpmn\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\" expressionLanguage=\"http://www.w3.org/1999/XPath\" targetNamespace=\"http://www.lzt.com.cn\">\r\n <process id=\"process1574817205531\" name=\"立项签报\">\r\n <documentation>流程描述</documentation>\r\n <extensionElements>\r\n <activiti:executionListener id=\"402880e54803a496014805e5d9190012\" event=\"end\" class=\"org.jeecgframework.workflow.listener.execution.ProcessEndListener\" >\r\n </activiti:executionListener>\r\n <activiti:executionListener id=\"402880ed6ded2240016dedd28f5d001f\" event=\"end\" class=\"cn.com.lzt.workflow.listener.task.BusinessProcessEndListener\" >\r\n </activiti:executionListener>\r\n </extensionElements>\r\n <startEvent id=\"start1\" name=\"开始节点\" activiti:initiator=\"applyUserId\">\r\n </startEvent>\r\n <endEvent id=\"end\" name=\"结束节点\">\r\n </endEvent>\r\n <userTask id=\"task1574817222561\" name=\"分管副总\" activiti:candidateUsers=\"${flowUtil.getUserInproject(BPM_FORM_KEY,BPM_DATA_ID,\'A_SCBJL\')}\" >\r\n </userTask>\r\n <userTask id=\"task1574817243118\" name=\"制单人重填\" activiti:assignee=\"${applyUserId}\" >\r\n </userTask>\r\n <sequenceFlow id=\"flow1574817224880\" name=\"\" sourceRef=\"start1\" targetRef=\"task1574817222561\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1574817227474\" name=\"通过\" sourceRef=\"task1574817222561\" targetRef=\"end\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1574817248194\" name=\"驳回\" sourceRef=\"task1574817222561\" targetRef=\"task1574817243118\">\r\n </sequenceFlow>\r\n <sequenceFlow id=\"flow1574817252996\" name=\"提交\" sourceRef=\"task1574817243118\" targetRef=\"task1574817222561\">\r\n </sequenceFlow>\r\n </process>\r\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_process1574817205531\">\r\n <bpmndi:BPMNPlane bpmnElement=\"process1574817205531\" id=\"BPMNPlane_process1574817205531\">\r\n <bpmndi:BPMNShape bpmnElement=\"start1\" id=\"BPMNShape_start1\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"202\" y=\"52\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"end\" id=\"BPMNShape_end\">\r\n <omgdc:Bounds height=\"30\" width=\"30\" x=\"202\" y=\"351\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1574817222561\" id=\"BPMNShape_task1574817222561\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"172\" y=\"191\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNShape bpmnElement=\"task1574817243118\" id=\"BPMNShape_task1574817243118\">\r\n <omgdc:Bounds height=\"50\" width=\"90\" x=\"349\" y=\"191\"/>\r\n </bpmndi:BPMNShape>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574817224880\" id=\"BPMNEdge_flow1574817224880\">\r\n <omgdi:waypoint x=\"217\" y=\"82\" />\r\n <omgdi:waypoint x=\"217\" y=\"186\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574817227474\" id=\"BPMNEdge_flow1574817227474\">\r\n <omgdi:waypoint x=\"217\" y=\"246\" />\r\n <omgdi:waypoint x=\"217\" y=\"351\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574817248194\" id=\"BPMNEdge_flow1574817248194\">\r\n <omgdi:waypoint x=\"267\" y=\"216\" />\r\n <omgdi:waypoint x=\"344\" y=\"216\" />\r\n </bpmndi:BPMNEdge>\r\n <bpmndi:BPMNEdge bpmnElement=\"flow1574817252996\" id=\"BPMNEdge_flow1574817252996\">\r\n <omgdi:waypoint x=\"394\" y=\"186\" />\r\n <omgdi:waypoint x=\"394\" y=\"166\" />\r\n <omgdi:waypoint x=\"217\" y=\"166\" />\r\n <omgdi:waypoint x=\"217\" y=\"186\" />\r\n </bpmndi:BPMNEdge>\r\n </bpmndi:BPMNPlane>\r\n </bpmndi:BPMNDiagram>\r\n</definitions>',NULL,NULL,'管理员','2019-11-27 13:29:51','admin','管理员','2019-11-27 09:15:07','admin','process1574817205531',1,'0',NULL);
  2750. INSERT INTO `t_p_processnode` VALUES ('402881e56eaa69e7016eaa6d18590002',NULL,'402881e56eaa69e7016eaa6d183d0001','task1574817222561','分管副总','tBActivitiProjectController.do?goView&flag=2','tBActivitiProjectController.do?goViewMobile&flag=2',NULL,'402881e56eaa69e7016eaa6ed27d0004','no','0'),('402881e56eaa69e7016eaa6d18640003',NULL,'402881e56eaa69e7016eaa6d183d0001','task1574817243118','制单人重填','tBActivitiProjectController.do?goView&flag=1','tBActivitiProjectController.do?goViewMobile&flag=1',NULL,'402881e56eaa69e7016eaa6f396b0006','no','0');
  2751. INSERT INTO `t_p_processnode_config` VALUES ('402881e56eaa69e7016eaa6ed27d0004','project','审批','tBActivitiProjectController.do?goView&flag=2','tBActivitiProjectController.do?goViewMobile&flag=2'),('402881e56eaa69e7016eaa6f396b0006','project','制单人重填','tBActivitiProjectController.do?goView&flag=1','tBActivitiProjectController.do?goViewMobile&flag=1');
  2752. INSERT INTO `t_s_busconfig` VALUES ('402881e56eaa69e7016eaa745533000a',NULL,'online','','t_b_activiti_project','402881e56eaa69e7016eaa6d183d0001','立项签报','formdeal','立项签报','立项签报','402881e56eaa69e7016eaa7407ed0008');
  2753. INSERT INTO `t_process_busconfig` VALUES ('402881e56eaa69e7016eaa7407ed0008','立项签报','立项签报','立项签报','t_b_activiti_project','project');
  2754. #审批统计
  2755. INSERT INTO `t_s_function` VALUES ('402880ed6eb62d58016eb6353fb60001',NULL,1,'审批统计(按部门)','30','xcglRptController.do?activitiStatsOrg','4028e4a55ec173a1015ec1b862b20058','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-11-29 19:20:55','2019-11-29 16:09:33','管理员'),('402880ed6eb62d58016eb636640f0004',NULL,1,'审批统计(按类型)','32','xcglRptController.do?activitiStatsType','4028e4a55ec173a1015ec1b862b20058','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2019-11-30 17:15:35','2019-11-29 16:10:48','管理员');
  2756. #审批流打印
  2757. ALTER TABLE `t_process_busconfig`
  2758. ADD COLUMN `activiti_config_class` VARCHAR(255) NULL COMMENT '流程处理类' AFTER `process_type`;
  2759. update t_process_busconfig set activiti_config_class='cn.com.lzt.useractiviti.data.util.tools.CostRequestActivitiTools' where id='402880ed6df68e8c016df6a5a50c0010';
  2760. update t_process_busconfig set activiti_config_class='cn.com.lzt.useractiviti.data.util.tools.CostPayTmpCompanyActivitiTools' where id='402880ed6df81c44016df885fdbf0015';
  2761. update t_process_busconfig set activiti_config_class='cn.com.lzt.useractiviti.data.util.tools.CostPayInnerUserActivitiTools' where id='402880ed6dfbaf9f016dfbbcdf76000b';
  2762. update t_process_busconfig set activiti_config_class='cn.com.lzt.useractiviti.data.util.tools.GreenActivitiTools' where id='402881e56d3effb1016d3f5c44910013';
  2763. #加班预算执行表
  2764. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402881476ed00804016ed00ad3750002', NULL, 1, '加班预算执行表', '8', 'userWageController.do?budgetlist', '4028e4a55ec173a1015ec1b862b20058', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-12-04 16:33:21', NULL);
  2765. #调休签报、加班申请 增加餐费补助
  2766. ALTER TABLE `t_bus_activiti_overtime_detail`
  2767. ADD COLUMN `meals_subsidy` DECIMAL(10,2) NULL COMMENT '餐费补助' AFTER `remark`;
  2768. ALTER TABLE `t_bus_activiti_exchange_detail`
  2769. ADD COLUMN `meals_subsidy` DECIMAL(10,2) NULL COMMENT '餐费补助' AFTER `exchange_id`;
  2770. ALTER TABLE `t_bus_activiti_overtime`
  2771. ADD COLUMN `total_meals_subsidy` DECIMAL(10,2) NULL COMMENT '餐费补助总计' AFTER `month`;
  2772. ALTER TABLE `t_bus_activiti_exchange`
  2773. ADD COLUMN `total_meals_subsidy` DECIMAL(10,2) NULL COMMENT '餐费补助总计' AFTER `month`;
  2774. #加班预算执行表
  2775. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402881476ed00804016ed00ad3750002', NULL, 1, '加班预算执行表', '8', 'userWageController.do?budgetlist', '4028e4a55ec173a1015ec1b862b20058', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-12-04 16:33:21', NULL);
  2776. #签报权限菜单
  2777. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('2c9358ad6eda371d016ee8718a66000e', NULL, 1, '立项签报', '2', 'tBActivitiProjectController.do?list', 'ff8080816e68be5d016e68bfe4e20002', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fas fa-city', 'admin', '管理员', NULL, NULL, '2019-12-09 10:16:25', NULL);
  2778. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('2c9358ad6eda371d016ee86da505000c', NULL, 1, '薪资调整签报', '7', 'tBusActivitiWageChangeController.do?list', 'ff8080816e687d71016e688eee2f0010', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fas fa-file-invoice-dollar', 'admin', '管理员', NULL, NULL, '2019-12-09 10:12:10', NULL);
  2779. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('2c9358ad6eda371d016ee8642a620009', NULL, 1, '调休签报', '6', 'tBusActivitiExchangeController.do?list', 'ff8080816e687d71016e688eee2f0010', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fas fa-bed', 'admin', '管理员', 'admin', '2019-12-09 10:08:15', '2019-12-09 10:01:49', '管理员');
  2780. CREATE TABLE t_b_personalImage (
  2781. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'id',
  2782. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称',
  2783. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称',
  2784. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  2785. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称',
  2786. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称',
  2787. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  2788. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门',
  2789. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司',
  2790. `accessory_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '附件名称',
  2791. `userid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '附件关联的用户Id',
  2792. `isfixed` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '是否为固定项目',
  2793. `gatet_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '附件类型',
  2794. `delete_flag` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '逻辑删除标记',
  2795. `createtime` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '创建时间',
  2796. `accUrl` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'oss访问url',
  2797. `osskey` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'oss主键',
  2798. PRIMARY KEY (`id`) USING BTREE
  2799. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '用户附件表' ROW_FORMAT = Compact;
  2800. alter table t_bus_user_attendance_total
  2801. add COLUMN `exchangetime` decimal(8, 0) NULL DEFAULT NULL;
  2802. alter table t_bus_user_attendance_total_h
  2803. add COLUMN `exchangetime` decimal(8, 0) NULL DEFAULT NULL;
  2804. #签报中制单人重填不可修改
  2805. delete from t_p_processnode_config where id='402881e56c62229f016c623ee50e0009';
  2806. INSERT INTO `t_p_processnode_config` (`id`,`process_type`,`url_title`,`pc_url`,`mobile_url`) VALUES ('402881e56c62229f016c623ee50e0009','leave_new','制单人重填','activitiLeaveController.do?goView','activitiLeaveController.do?goViewMobile&flage=false');
  2807. delete from t_p_processnode where id='402881e56c64f299016c674b6d410027';
  2808. delete from t_p_processnode where id='402881e56da9f48e016daa9591ba0020';
  2809. INSERT INTO `t_p_processnode` (`id`,`formid`,`processid`,`processnodecode`,`processnodename`,`modelandview`,`modelandview_mobile`,`node_timeout`,`pnodecofigid`,`pushmode`,`delete_flag`) VALUES ('402881e56c64f299016c674b6d410027',NULL,'402881e56c606a67016c61f68d04000e','task1565100847455','制单人重填','activitiLeaveController.do?goView','activitiLeaveController.do?goViewMobile&flage=false',NULL,'402881e56c62229f016c623ee50e0009','no','0');
  2810. INSERT INTO `t_p_processnode` (`id`,`formid`,`processid`,`processnodecode`,`processnodename`,`modelandview`,`modelandview_mobile`,`node_timeout`,`pnodecofigid`,`pushmode`,`delete_flag`) VALUES ('402881e56da9f48e016daa9591ba0020',NULL,'402881e56c606a67016c61f68d04000e','task1570524926006','制单人重填','activitiLeaveController.do?goView','activitiLeaveController.do?goViewMobile&flage=false',NULL,'402881e56c62229f016c623ee50e0009','no','0');
  2811. delete from t_p_processnode_config where id='402881e56c5622c8016c562dbb2d0003';
  2812. delete from t_p_processnode where id='402881e56c5622c8016c562bfe320001';
  2813. INSERT INTO `t_p_processnode_config` (`id`,`process_type`,`url_title`,`pc_url`,`mobile_url`) VALUES ('402881e56c5622c8016c562dbb2d0003','samelevel_transfer_new','制单人重填','activitiSamelevelTransferController.do?goView','activitiSamelevelTransferController.do?goViewMobile&flag=1');
  2814. INSERT INTO `t_p_processnode` (`id`,`formid`,`processid`,`processnodecode`,`processnodename`,`modelandview`,`modelandview_mobile`,`node_timeout`,`pnodecofigid`,`pushmode`,`delete_flag`) VALUES ('402881e56c5622c8016c562bfe320001',NULL,'402881e56c4b2a04016c4c3aefc0000f','task1564813703465','制单人重填','activitiSamelevelTransferController.do?goView','activitiSamelevelTransferController.do?goViewMobile&flag=1',NULL,'402881e56c5622c8016c562dbb2d0003','no','0');
  2815. delete from t_p_processnode where id='402880ed6b27484e016b276b59ba0009';
  2816. INSERT INTO `t_p_processnode` (`id`,`formid`,`processid`,`processnodecode`,`processnodename`,`modelandview`,`modelandview_mobile`,`node_timeout`,`pnodecofigid`,`pushmode`,`delete_flag`) VALUES ('402880ed6b27484e016b276b59ba0009',NULL,'402880ed6b22719c016b2287edba000b','task1559734434686','制单人重填','mMessageController.do?goView','mMessageController.do?goViewMobile',NULL,'402880ed6b25050e016b25d3f437000b','no','0');
  2817. delete from t_p_processnode where id='402887be6a1fe801016a1ff08a220003';
  2818. INSERT INTO `t_p_processnode` (`id`,`formid`,`processid`,`processnodecode`,`processnodename`,`modelandview`,`modelandview_mobile`,`node_timeout`,`pnodecofigid`,`pushmode`,`delete_flag`) VALUES ('402887be6a1fe801016a1ff08a220003',NULL,'402887be6a1fe801016a1feb0c580001','task1555313961065','制单人重填','contractController.do?goView','contractController.do?goUpdateMobile&load=detail',NULL,'402887be6a1fe801016a20044fc70006','no','0');
  2819. delete from t_p_processnode where id='402887006a47a785016a47aeddca000b';
  2820. INSERT INTO `t_p_processnode` (`id`,`formid`,`processid`,`processnodecode`,`processnodename`,`modelandview`,`modelandview_mobile`,`node_timeout`,`pnodecofigid`,`pushmode`,`delete_flag`) VALUES ('402887006a47a785016a47aeddca000b',NULL,'402887006a47a785016a47aedd970008','task1555980652143','制单人补录信息','contractPaymentController.do?goView','contractPaymentController.do?goUpdateMobile&load=detail',NULL,'402887006a47a785016a47ab35bf0004','no','0');
  2821. delete from t_p_processnode where id='ff80808166106df50166139dcb4409f6';
  2822. INSERT INTO `t_p_processnode` (`id`,`formid`,`processid`,`processnodecode`,`processnodename`,`modelandview`,`modelandview_mobile`,`node_timeout`,`pnodecofigid`,`pushmode`,`delete_flag`) VALUES ('ff80808166106df50166139dcb4409f6',NULL,'ff80808166106df50166139dcb3709f4','task1537927045653','发起人','ordersController.do?goView','ordersController.do?goView',NULL,'ff80808166106df501661394c47907f6','no','0');
  2823. #新工资体系员工工资策略
  2824. CREATE TABLE `t_bus_user_newwagestrategy` (
  2825. `id` varchar(36) COLLATE utf8_bin NOT NULL,
  2826. `create_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '创建人名称',
  2827. `create_by` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '创建人登录名称',
  2828. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  2829. `update_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '更新人名称',
  2830. `update_by` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '更新人登录名称',
  2831. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  2832. `sys_org_code` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '所属部门',
  2833. `sys_company_code` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '所属公司',
  2834. `bpm_status` varchar(32) COLLATE utf8_bin DEFAULT NULL COMMENT '流程状态',
  2835. `userid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '员工ID',
  2836. `belong_unitid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '所属单位ID',
  2837. `dutiesid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '职务ID',
  2838. `overtimepay_strategyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '加班费策略',
  2839. `duty_strategyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '值班费策略',
  2840. `certificate_subsidyid` varchar(5000) COLLATE utf8_bin DEFAULT NULL COMMENT '证书补贴',
  2841. `traffic_subsidyid` decimal(8,2) DEFAULT NULL ,
  2842. `megathermal_subsidyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '高温补贴',
  2843. `nofixedmeals_subsidyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '不固定餐费补贴',
  2844. `fixedmeals_subsidyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '固定餐费补贴',
  2845. `project_performance` decimal(8,2) DEFAULT NULL,
  2846. `jiaojin_subsidyid` decimal(8,2) DEFAULT NULL,
  2847. `other_subsidyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '其他补贴',
  2848. `social_security_strategyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '社保策略',
  2849. `provident_fund_strategyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '公积金策略',
  2850. `append_pay` double DEFAULT NULL COMMENT '追加调整',
  2851. `deduct_pay` double DEFAULT NULL COMMENT '扣除调整',
  2852. `daikou_fee` double DEFAULT NULL,
  2853. `onlychild_pay` double DEFAULT NULL COMMENT '独生子女费',
  2854. `status` varchar(1) COLLATE utf8_bin DEFAULT NULL COMMENT '状态',
  2855. `delete_flag` varchar(1) COLLATE utf8_bin DEFAULT NULL COMMENT '逻辑删除标识',
  2856. `strategy_type` varchar(1) COLLATE utf8_bin DEFAULT NULL COMMENT '餐补策略',
  2857. `pjt_id` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '项目id',
  2858. PRIMARY KEY (`id`),
  2859. KEY `userid` (`userid`) USING BTREE
  2860. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='新体系员工工资策略表';
  2861. #审批任务超时提醒任务
  2862. INSERT INTO `t_s_timetask` (`ID`,`CREATE_BY`,`CREATE_DATE`,`CREATE_NAME`,`CRON_EXPRESSION`,`IS_EFFECT`,`IS_START`,`TASK_DESCRIBE`,`TASK_ID`,`UPDATE_BY`,`UPDATE_DATE`,`UPDATE_NAME`,`CLASS_NAME`,`RUN_SERVER_IP`,`RUN_SERVER`) VALUES ('402881e56f0e1dae016f0e1f52a80001','admin','2019-12-16 17:52:11','管理员','0 0 10 * * ?','0','0','审批流任务超时提示','activitiOvertimeWarnTask','admin','2019-12-17 17:44:41','管理员','cn.com.lzt.useractiviti.workflow.task.ActivitiOvertimeWarnTask','127.0.0.1','127.0.0.1');
  2863. #立项签报微信通知默认群组
  2864. INSERT INTO `m_regular_receiver_group` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`group_name`) VALUES (-1,'管理员','admin','2019-12-18 15:57:05',NULL,NULL,NULL,'A06A01','A06','1','立项签报微信接收人');
  2865. INSERT INTO `m_regular_receiver` (`id`,`create_name`,`create_by`,`create_date`,`update_name`,`update_by`,`update_date`,`sys_org_code`,`sys_company_code`,`bpm_status`,`user_id`,`user_name`,`user_account`,`group_id`,`in_post_id`) VALUES (-1,'管理员','admin','2019-12-18 15:59:46',NULL,NULL,NULL,'A06A01','A06','1','00000000614594980161462c4d230d33','丁晟',NULL,-1,'00000000610f6afa01611d233e2f0140');
  2866. # 薪资体系设定新增菜单 22019-12-19
  2867. INSERT INTO `t_s_function` VALUES ('402880056ddcb187016ddcb9c66b0000', null, '0', '薪资体系设定', '0', '', null, '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', '0', '', 'admin', '管理员', null, null, '2019-10-18 10:37:06', null);
  2868. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402809816dece802016decf61f530001', NULL, 1, '公司职务工资项设定', '3', 'wagestrategyController.do?comList', '402880056ddcb187016ddcb9c66b0000', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-12-20 10:15:01', '2019-9-9 09:09:09', '管理员');
  2869. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402809816df773ae016df77d1cb30001', NULL, 1, '公司人才津贴策略', '10', 'talentSubsidyStrategyController.do?list', '402880056ddcb187016ddcb9c66b0000', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, '2019-9-9 09:09:09', '2019-9-9 09:09:09', NULL);
  2870. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402809816df773ae016df77db0ab0003', NULL, 1, '员工人才津贴设定', '12', 'userTalentSubsidyController.do?list', '402880056ddcb187016ddcb9c66b0000', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, '2019-9-9 09:09:09', '2019-9-9 09:09:09', NULL);
  2871. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402880056ddcb187016ddcbb27b70009', NULL, 1, '基本工资设定', '0', 'tBusBaseWagestrategyController.do?list', '402880056ddcb187016ddcb9c66b0000', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-12-20 10:42:53', '2019-9-9 09:09:09', '管理员');
  2872. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402880e86e116bdc016e116e1e450001', NULL, 1, '缴金补贴策略', '14', 'jiaojinSubsidyStrategyController.do?list', '402880056ddcb187016ddcb9c66b0000', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-12-20 10:43:24', '2019-9-9 09:09:09', '管理员');
  2873. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402880eb6df12b23016df132933e0001', NULL, 1, '区域职务工资项设定', '6', 'wagestrategyController.do?zoneList', '402880056ddcb187016ddcb9c66b0000', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-12-20 10:15:17', '2019-9-9 09:09:09', '管理员');
  2874. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402880eb6df12b23016df132d82a0003', NULL, 1, '项目职务工资项设定', '8', 'wagestrategyController.do?projectList', '402880056ddcb187016ddcb9c66b0000', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-12-20 10:15:28', '2019-9-9 09:09:09', '管理员');
  2875. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402881d56e4f4212016e4f4649350001', NULL, 1, '项目绩效设定', '16', 'projectRatingController.do?list', '402880056ddcb187016ddcb9c66b0000', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-12-20 10:44:32', '2019-9-9 09:09:09', '管理员');
  2876. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402881e26f21097a016f2133b087001b', NULL, 1, '司龄津贴设定', '2', 'comageSubsidyController.do?goUpdate', '402880056ddcb187016ddcb9c66b0000', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-12-20 10:47:13', NULL);
  2877. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402881e26f21097a016f21356e30001d', NULL, 1, '其它工作补贴策略', '15', 'otherworkSubsidyController.do?list', '402880056ddcb187016ddcb9c66b0000', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2019-12-20 10:49:07', NULL);
  2878. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`) VALUES ('402881e26f2141e9016f21459aeb0001', NULL, 1, '岗位津贴设定', '1', 'postController.do?postAllowanceList', '402880056ddcb187016ddcb9c66b0000', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-12-20 11:06:57', '2019-12-20 11:06:47', '管理员');
  2879. #加班备案表增加餐补
  2880. ALTER TABLE `t_bus_overtime_record`
  2881. ADD COLUMN `meals_subsidy` DECIMAL(10,2) NULL COMMENT '餐补' AFTER `ifnational`;
  2882. alter table t_bus_user_attendance_total
  2883. add COLUMN `overtimemeal` decimal(8, 0) NULL DEFAULT NULL;
  2884. alter table t_bus_user_attendance_total_h
  2885. add COLUMN `overtimemeal` decimal(8, 0) NULL DEFAULT NULL;
  2886. ALTER TABLE `t_bus_overtime_record`
  2887. CHANGE COLUMN `overtime_hours` `overtime_hours` DECIMAL(10,2) NULL DEFAULT NULL COMMENT '加班时长' ;
  2888. #加班申请增加加班人数
  2889. ALTER TABLE `t_bus_activiti_overtime`
  2890. ADD COLUMN `user_count` INT NULL COMMENT '加班人数' AFTER `total_meals_subsidy`;
  2891. #薪资调整增加类型
  2892. ALTER TABLE `t_bus_activiti_wage_change`
  2893. ADD COLUMN `type` VARCHAR(255) NULL COMMENT '薪资调整类型' AFTER `remark`;
  2894. INSERT INTO `t_s_typegroup` VALUES ('402880ed6f235f22016f2373ee9e0009','wagechange_type','薪资调整类型','2019-12-20 21:16:38','管理员');
  2895. INSERT INTO `t_s_type` VALUES ('402880ed6f235f22016f237478e7000b','shengzhi','升职',NULL,'402880ed6f235f22016f2373ee9e0009','2019-12-20 21:17:13','管理员'),('402880ed6f235f22016f2374a443000d','jiangzhi','降职',NULL,'402880ed6f235f22016f2373ee9e0009','2019-12-20 21:17:24','管理员'),('402880ed6f235f22016f2374d43b000f','gongzuobiandong','工作变动',NULL,'402880ed6f235f22016f2373ee9e0009','2019-12-20 21:17:37','管理员'),('402880ed6f235f22016f237501d30011','jianzhi','增加兼职',NULL,'402880ed6f235f22016f2373ee9e0009','2019-12-20 21:17:48','管理员'),('402880ed6f235f22016f2375256d0013','tisheng','能力提升',NULL,'402880ed6f235f22016f2373ee9e0009','2019-12-20 21:17:57','管理员'),('402880ed6f235f22016f237568420015','zhengshu','新增技能证书',NULL,'402880ed6f235f22016f2373ee9e0009','2019-12-20 21:18:15','管理员');
  2896. #备用金支付
  2897. ALTER TABLE `t_b_activiti_cost_petty_cash`
  2898. ADD COLUMN `paystatus` VARCHAR(45) NULL COMMENT '0 未支付 1已支付' AFTER `pay_time`,
  2899. ADD COLUMN `paydate` TIMESTAMP NULL COMMENT '支付时间' AFTER `paystatus`,
  2900. ADD COLUMN `payOperator` VARCHAR(45) NULL COMMENT '支付操作人员' AFTER `paydate`;
  2901. INSERT INTO `t_s_function` VALUES ('402880ed6f28420f016f2856a3950002',NULL,1,'备用金支付','15','tBActivitiCostPettyCashController.do?list4pay','402880ed6df1ef0e016df347a7cc0064','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-12-21 20:02:44',NULL);
  2902. #默认人才津贴策略预置数据
  2903. INSERT INTO `t_bus_talent_subsidy_strategy` VALUES ('402883886f1ceducationdefault000d', '管理员', 'admin', '2019-12-19 14:37:06', '管理员', 'admin', '2019-12-23 09:51:07', 'A06A01', 'A06', '1', '高中/中专', '0', '高中默认', '0');
  2904. INSERT INTO `t_bus_talent_subsidy_strategy` VALUES ('402883886f2deducationdefault0009', '管理员', 'admin', '2019-12-23 09:49:08', null, null, null, 'A06A01', 'A06', '1', '大专', '500', '大专默认', '0');
  2905. INSERT INTO `t_bus_talent_subsidy_strategy` VALUES ('402883886f2deducationdefault000c', '管理员', 'admin', '2019-12-23 09:49:35', null, null, null, 'A06A01', 'A06', '1', '本科', '1000', '本科默认', '0');
  2906. INSERT INTO `t_bus_talent_subsidy_strategy` VALUES ('402883886f2deducationdefault000e', '管理员', 'admin', '2019-12-23 09:49:52', null, null, null, 'A06A01', 'A06', '1', '硕士研究生', '2000', '硕士默认', '0');
  2907. INSERT INTO `t_bus_talent_subsidy_strategy` VALUES ('402883886f2deducationdefault0010', '管理员', 'admin', '2019-12-23 09:50:07', null, null, null, 'A06A01', 'A06', '1', '博士研究生', '3000', '博士默认', '0');
  2908. INSERT INTO `t_bus_talent_subsidy_strategy` VALUES ('402883886f2da1jingyandefault0012', '管理员', 'admin', '2019-12-23 09:50:34', null, null, null, 'A06A01', 'A06', '1', '市级创优经理', '1000', '市优', '0');
  2909. INSERT INTO `t_bus_talent_subsidy_strategy` VALUES ('402883886f2da1jingyandefault0014', '管理员', 'admin', '2019-12-23 09:50:56', null, null, null, 'A06A01', 'A06', '1', '部级创优经理', '2000', '部优', '0');
  2910. #新增t_bus_project_rating项目工资列
  2911. alter table t_bus_project_rating
  2912. add COLUMN `projectWage` decimal(8, 0) NULL DEFAULT NULL;
  2913. #菜单表增加功能描述
  2914. ALTER TABLE `t_s_function`
  2915. ADD COLUMN `remark` varchar(255) NULL DEFAULT NULL COMMENT '功能描述';
  2916. #增加物料签报
  2917. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`, `remark`) VALUES ('2c9358ad6f2d40cf016f3bdb80e10127', NULL, 0, '功能权限-物料签报', '999', '', NULL, '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, '', 'admin', '管理员', NULL, NULL, '2019-12-25 15:00:39', NULL, NULL);
  2918. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`, `remark`) VALUES ('2c9358ad6f2d40cf016f3bddd7220129', NULL, 1, '物料申购', '1', 'ordersController.do?listByWarehouse', '2c9358ad6f2d40cf016f3bdb80e10127', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 1, 'fa fa-cart-plus', 'admin', '管理员', NULL, NULL, '2019-12-25 15:03:12', NULL, '月度物料申购');
  2919. #车辆计划状态字段,是否进入工作区域
  2920. ALTER TABLE `t_b_car_schedule`
  2921. ADD COLUMN `inScope` varchar(10) NULL DEFAULT NULL COMMENT '进入工作区域';
  2922. ALTER TABLE `t_bus_activiti_overtime_detail`
  2923. ADD COLUMN `confirm` boolean NULL DEFAULT false COMMENT '是否业主额外加班';
  2924. #额外加班确认单
  2925. CREATE TABLE `t_bus_overtime_financial` (
  2926. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2927. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  2928. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  2929. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  2930. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  2931. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  2932. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  2933. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  2934. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  2935. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  2936. `proc_inst_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程id',
  2937. `step_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程名',
  2938. `status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '业务状态',
  2939. `reason` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '加班原因',
  2940. `total_hour` double NULL DEFAULT NULL COMMENT '总时长',
  2941. `total_money` double NULL DEFAULT NULL COMMENT '总金额',
  2942. `user_ids` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '保存加班用户id',
  2943. `real_names` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  2944. `depart_id` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  2945. `dep_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  2946. `wagemonth` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '工资年月',
  2947. `overtimemonth` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '加班年月',
  2948. `total_meals_subsidy` decimal(10, 2) NULL DEFAULT NULL COMMENT '餐费补助总计',
  2949. `user_count` int(8) NULL DEFAULT NULL,
  2950. PRIMARY KEY (`id`) USING BTREE,
  2951. INDEX `dep`(`depart_id`, `wagemonth`) USING BTREE,
  2952. INDEX `dep1`(`depart_id`, `overtimemonth`) USING BTREE
  2953. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
  2954. CREATE TABLE `t_bus_overtime_financial_detail` (
  2955. `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2956. `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  2957. `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
  2958. `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  2959. `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
  2960. `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
  2961. `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  2962. `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  2963. `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
  2964. `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
  2965. `overtime_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '加班主表id',
  2966. `userid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '加班员工',
  2967. `real_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  2968. `start_time` datetime(0) NULL DEFAULT NULL COMMENT '加班开始时间',
  2969. `end_time` datetime(0) NULL DEFAULT NULL COMMENT '加班结束时间',
  2970. `hour` double NULL DEFAULT NULL COMMENT '加班时长',
  2971. `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '加班费',
  2972. `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  2973. `meals_subsidy` decimal(10, 2) NULL DEFAULT NULL COMMENT '餐费补助',
  2974. `activitiid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci ,
  2975. `activitidetailid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci ,
  2976. `wagemonth` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '工资年月',
  2977. PRIMARY KEY (`id`) USING BTREE,
  2978. INDEX `overtimeid`(`overtime_id`) USING BTREE,
  2979. INDEX `month`(`wagemonth`) USING BTREE
  2980. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
  2981. #额外加班费确认单
  2982. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`, `remark`) VALUES ('ff8080816f451c79016f451fdf520004', NULL, 1, '额外加班费确认单', '20', 'overtimefinancialController.do?list', '402880ed6df1ef0e016df347a7cc0064', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', 'admin', '2019-12-27 10:12:08', '2019-12-27 10:11:54', '管理员', '');
  2983. #是否外地卡
  2984. ALTER TABLE `t_bus_user_financial`
  2985. ADD COLUMN `is_other_place` VARCHAR(1) NULL DEFAULT 0 AFTER `isdefault`;
  2986. #报销增加 发票类型 支付方式 备注 金额 税额
  2987. ALTER TABLE `t_b_activiti_cost_pay_inner_user_detail`
  2988. ADD COLUMN `invoicetype` VARCHAR(45) NULL COMMENT '发票类型' AFTER `cost_pay_inner_user_id`,
  2989. ADD COLUMN `paytype` VARCHAR(45) NULL COMMENT '支付方式' AFTER `invoicetype`,
  2990. ADD COLUMN `remark` VARCHAR(1000) NULL COMMENT '备注项' AFTER `paytype`,
  2991. ADD COLUMN `amount` DECIMAL(10,2) NULL COMMENT '金额' AFTER `remark`,
  2992. ADD COLUMN `tax` DECIMAL(10,2) NULL COMMENT '税额' AFTER `amount`;
  2993. ALTER TABLE `t_b_activiti_cost_pay_inner_user`
  2994. ADD COLUMN `total_amount` DECIMAL(10,2) NULL COMMENT '金额总计' AFTER `payOperator`,
  2995. ADD COLUMN `total_tax` DECIMAL(10,2) NULL COMMENT '税额总计' AFTER `total_amount`,
  2996. ADD COLUMN `fincode` varchar(255) NULL COMMENT '财务核算编码' AFTER `total_tax`,
  2997. ADD COLUMN `receive_user_id` varchar(255) NULL COMMENT '收款人id' AFTER `fincode`,
  2998. ADD COLUMN `receive_user_name` varchar(255) NULL COMMENT '收款人姓名' AFTER `receive_user_id`;
  2999. #公对公增加 发票类型 支付方式 金额 税额
  3000. ALTER TABLE `t_b_activiti_cost_pay_tmp_company`
  3001. ADD COLUMN `invoicetype` VARCHAR(45) NULL COMMENT '发票类型' AFTER `payOperator`,
  3002. ADD COLUMN `paytype` VARCHAR(45) NULL COMMENT '支付方式' AFTER `invoicetype`,
  3003. ADD COLUMN `remark` VARCHAR(1000) NULL COMMENT '备注' AFTER `paytype`,
  3004. ADD COLUMN `amount` DECIMAL(10,2) NULL COMMENT '金额' AFTER `remark`,
  3005. ADD COLUMN `tax` DECIMAL(10,2) NULL COMMENT '税额' AFTER `amount`,
  3006. ADD COLUMN `fincode` varchar(255) NULL COMMENT '财务核算编码' AFTER `tax`,
  3007. ADD COLUMN `receive_user_id` varchar(255) NULL COMMENT '收款人id' AFTER `fincode`,
  3008. ADD COLUMN `receive_user_name` varchar(255) NULL COMMENT '收款人姓名' AFTER `receive_user_id`;
  3009. # 费用类型 增加审批分类
  3010. ALTER TABLE `t_b_cost_type`
  3011. ADD COLUMN `examine_type` VARCHAR(255) NULL COMMENT '审批分类' AFTER `paytype`;
  3012. ALTER TABLE `t_b_activiti_cost_request`
  3013. ADD COLUMN `cost_type_name` VARCHAR(255) NULL COMMENT '费用类型名称' AFTER `cost_type`;
  3014. #报销签报查看菜单
  3015. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`, `remark`) VALUES ('402881e56f44b7a2016f44bb14780001',NULL,1,'报销签报查看','3','tBActivitiCostPayInnerUserController.do?showlist','402880ed6df1ef0e016df347a7cc0064','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-12-27 08:21:49',NULL,NULL),('402881e56f44b7a2016f44bbf6080003',NULL,1,'临时付款签报查看','8','tBActivitiCostPayTmpCompanyController.do?showlist','402880ed6df1ef0e016df347a7cc0064','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2019-12-27 08:22:47',NULL,NULL);
  3016. ALTER TABLE `t_b_activiti_cost_pay_inner_user` ADD COLUMN `paytype` VARCHAR(45) NULL COMMENT '支付方式';
  3017. update t_s_function set functionname='员工报销' where id='402880ed6ded2240016dedd6332c002b';
  3018. update t_s_function set functionname='员工报销' where id='ff8080816e687d71016e688d0609000d';
  3019. update t_s_function set functionname='对外付款' where id='402880ed6ded2240016dedd53f5e0027';
  3020. update t_s_function set functionname='对外付款' where id='ff8080816e687d71016e688a5e28000b';
  3021. update t_s_function set functionname='员工报销查看' where id='402881e56f44b7a2016f44bb14780001';
  3022. update t_s_function set functionname='员工报销支付' where id='402880ed6e24df96016e270081de003c';
  3023. update t_s_function set functionname='员工报销统计' where id='402880ed6e2c19b8016e2c508e07000d';
  3024. update t_s_function set functionname='对外付款查看' where id='402881e56f44b7a2016f44bbf6080003';
  3025. update t_s_function set functionname='对外付款支付' where id='402881e56e357779016e357a8aa70001';
  3026. update t_s_function set functionname='对外付款统计' where id='402881e56e357779016e357ad3200003';
  3027. alter table t_b_activiti_cost_pay_tmp_company add COLUMN `code` VARCHAR(255);
  3028. #签报逾期明细
  3029. INSERT INTO `t_s_function` (`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`, `remark`) VALUES ('402880ed6f8e267c016f8e2e91160002',NULL,1,'签报逾期明细','34','xcglRptController.do?activitiOvertime','4028e4a55ec173a1015ec1b862b20058','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员','admin','2020-01-10 14:46:20','2020-01-10 14:40:14','管理员','签报逾期明细');
  3030. #增加项目查看菜单、我的工作菜单
  3031. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`, `remark`) VALUES ('2c9358ad6f899dc8016f8de5986b0027', NULL, 1, '项目查看', '2', 'projectController.do?viewlist', '402888ea69fc39470169fc3a9c7f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2020-01-10 13:20:32', NULL, '');
  3032. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`, `remark`) VALUES ('2c9358ad6f82c1a6016f89071e4f0116', NULL, 1, '我的工作', '0', 'projecttaskController.do?userTaskList', '2c9358a8675e222b01676e1d8b7f0011', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2020-01-09 14:39:03', NULL, '');
  3033. #加班申请打印处理类
  3034. update t_process_busconfig set activiti_config_class='cn.com.lzt.useractiviti.data.util.tools.OvertimeActivitiTools' where id='402880ed6dc78a3b016dc7c045ba0008';
  3035. #调整消息发送通知类型
  3036. DELETE FROM `t_s_type` WHERE `ID`='402881e56ae35114016ae35ebe5e0006';
  3037. DELETE FROM `t_s_type` WHERE `ID`='402881e56ae35114016ae35f1ddd0008';
  3038. DELETE FROM `t_s_type` WHERE `ID`='402881e56ae35114016ae35f7fc4000e';
  3039. DELETE FROM `t_s_type` WHERE `ID`='402881e56c88c466016c88cfaa260001';
  3040. #消息回复
  3041. CREATE TABLE `m_message_reply` (
  3042. `id` varchar(36) NOT NULL,
  3043. `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
  3044. `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
  3045. `create_date` datetime DEFAULT NULL COMMENT '创建日期',
  3046. `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
  3047. `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
  3048. `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  3049. `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
  3050. `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
  3051. `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
  3052. `user_id` varchar(32) DEFAULT NULL COMMENT '回复人',
  3053. `real_name` varchar(255) DEFAULT NULL COMMENT '姓名',
  3054. `message_id` varchar(32) DEFAULT NULL COMMENT '消息id',
  3055. `reply` longtext COMMENT '回复内容',
  3056. PRIMARY KEY (`id`)
  3057. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  3058. ALTER TABLE t_bus_activiti_green ADD COLUMN depart_id varchar(45) NULL;
  3059. ALTER TABLE t_bus_activiti_green ADD COLUMN dep_name varchar(255) NULL;
  3060. #绿色通道处理历史数据
  3061. update t_bus_activiti_green set depart_id=create_depart where depart_id is null and id<>'';
  3062. update t_bus_activiti_green g set dep_name =(select glcname from t_s_depart d where d.id= g.depart_id) where dep_name is null and id<>'';
  3063. #消息增加文件编号
  3064. ALTER TABLE `m_message` ADD COLUMN `file_index` INT NULL COMMENT '文件编号';
  3065. ALTER TABLE `p_projecttask` ADD COLUMN `activiti_task_id` VARCHAR(45) NULL COMMENT 'p_activiti_task id';
  3066. alter table t_b_clothing_apply_detail add column
  3067. `size` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '尺码';
  3068. alter table t_b_clothing_apply_detail add column
  3069. `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注';
  3070. #增加菜单:项目外包合同
  3071. INSERT INTO `t_s_function`(`ID`, `functioniframe`, `functionlevel`, `functionname`, `functionorder`, `functionurl`, `parentfunctionid`, `iconid`, `desk_iconid`, `functiontype`, `function_icon_style`, `create_by`, `create_name`, `update_by`, `update_date`, `create_date`, `update_name`, `remark`) VALUES ('ff80808170a9a04c0170a9aafb5f0003', NULL, 1, '项目外包合同', '0', 'contractController.do?listauth', '402882f0699a210a01699a23ff6f0001', '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', 0, '', 'admin', '管理员', NULL, NULL, '2020-03-05 15:48:40', NULL, '');
  3072. #立项签报增加流转接收人
  3073. ALTER TABLE `t_b_activiti_project` ADD COLUMN `receiver` VARCHAR(255) NULL COMMENT '流转接收人';
  3074. ALTER TABLE `m_personal_message` CHANGE COLUMN `preview_url` `preview_url` VARCHAR(500) NULL DEFAULT NULL COMMENT '预览地址' ;
  3075. ALTER TABLE `m_short_url` CHANGE COLUMN `url` `url` VARCHAR(500) NULL DEFAULT NULL COMMENT '原地址' ;
  3076. #立项签报甲方id
  3077. ALTER TABLE `t_b_activiti_project` ADD COLUMN `customer_id` VARCHAR(45) NULL COMMENT '甲方id t_b_partner id' ;
  3078. #增加发票类型
  3079. INSERT INTO `t_s_type` (`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402880ed70c29df90170c2a30f8a0001','quota ','定额发票',NULL,'4028819b6abfac89016abfc222c30010','2020-03-10 12:10:31','管理员'),('402880ed70c29df90170c2a387600003','other','其他',NULL,'4028819b6abfac89016abfc222c30010','2020-03-10 12:11:02','管理员');