| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373 |
- ##合同
- DROP TABLE IF EXISTS `t_b_contract`;
- CREATE TABLE `t_b_contract` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `step_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同类型',
- `code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同编码',
- `name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同名称',
- `signdate` datetime(0) NULL DEFAULT NULL COMMENT '签订日期',
- `description` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '合同描述',
- `totalamount` double NULL DEFAULT NULL COMMENT '合同金额',
- `totalinvoice` double NULL DEFAULT NULL COMMENT '累计开票金额',
- `totalpayment` double NULL DEFAULT NULL COMMENT '累计付款金额',
- `totalincome` double NULL DEFAULT NULL COMMENT '累计收款金额',
- `startdate` datetime(0) NULL DEFAULT NULL COMMENT '生效日期',
- `enddate` datetime(0) NULL DEFAULT NULL COMMENT '失效日期',
- `auditdate` datetime(0) NULL DEFAULT NULL COMMENT '审批日期',
- `busstatus` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '状态',
- `partnerid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
- `projectid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
- `thirdpartner` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '第三方单位',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '外包服务合同表' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_contract_history`;
- CREATE TABLE `t_b_contract_history` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `create_date` datetime(0) NULL DEFAULT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `contractid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `serviceid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务',
- `edition` int(11) NULL DEFAULT NULL COMMENT '版本号',
- `changeUser` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '变更人',
- `changeReason` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '变更原因',
- `remark` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
- PRIMARY KEY (`id`) USING BTREE,
- UNIQUE INDEX `id`(`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '合同变更历史表' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_contract_invoice`;
- CREATE TABLE `t_b_contract_invoice` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `contractid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'contractid',
- `paymentid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付明细id',
- `paymentamount` int(11) NULL DEFAULT NULL COMMENT '实际支付金额',
- `invoiceno` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发票号',
- `invoiceamount` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '本次开票金额',
- `invoicedate` datetime(0) NULL DEFAULT NULL COMMENT '开票日期',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'createBy',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT 'createDate',
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'createName',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'updateName',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'updateBy',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT 'updateDate',
- `type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同类型',
- `bpm_status` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审批流状态',
- `auditdate` datetime(0) NULL DEFAULT NULL COMMENT '审批时间',
- `partnerid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
- `projectid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '合同开票表(物料、外包服务)' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_contract_item`;
- CREATE TABLE `t_b_contract_item` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `contractid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同',
- `serviceid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务',
- `price` double NULL DEFAULT NULL COMMENT '单价',
- `unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
- `quantity` double NULL DEFAULT NULL COMMENT '数量',
- `amount` double NULL DEFAULT NULL COMMENT '金额',
- `goodsid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品',
- `devicesid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备',
- `content` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '条款内容',
- `sname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务名称',
- `dname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备名称',
- `gname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品名称',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '外包采购合同服务明细表' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_contract_item_history`;
- CREATE TABLE `t_b_contract_item_history` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `create_date` datetime(0) NULL DEFAULT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `contractid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `serviceid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务',
- `price` decimal(10, 0) NULL DEFAULT NULL,
- `unit` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
- `quantity` decimal(10, 0) NULL DEFAULT NULL COMMENT '数量',
- `amount` decimal(10, 0) NULL DEFAULT NULL COMMENT '金额',
- `goodsid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品',
- `content` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '条款内容',
- `edition` int(11) NULL DEFAULT NULL COMMENT '版本号',
- PRIMARY KEY (`id`) USING BTREE,
- UNIQUE INDEX `id`(`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '合同条款历史表' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_contract_payment`;
- CREATE TABLE `t_b_contract_payment` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请单号',
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `step_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `contractid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同',
- `applypayamount` double NOT NULL COMMENT '申请支付金额',
- `totalamount` double NULL DEFAULT NULL COMMENT '合同金额',
- `invoiceno` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发票编号',
- `invoiceamount` double NULL DEFAULT NULL COMMENT '本次开票金额',
- `invoicedate` datetime(0) NULL DEFAULT NULL COMMENT '本次开票日期',
- `paytype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付方式',
- `billtype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单据类型(外包付款、物料采购付款)',
- `auditdate` datetime(0) NULL DEFAULT NULL COMMENT '审批日期',
- `partnerid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
- `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
- `applyerid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请人',
- `remark` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
- `supplierevaluate` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '供应商评价',
- `supplierscore` int(11) NULL DEFAULT NULL COMMENT '供应商评分',
- `evaluater` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '评价人',
- `payOperator` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付操作员',
- `paystatus` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付状态',
- `paymentamount` double(32, 0) NULL DEFAULT NULL COMMENT '实际支付金额',
- `paydate` datetime(0) NULL DEFAULT NULL COMMENT '支付日期',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '合同付款表(物料、外包服务)' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_contract_payrule`;
- CREATE TABLE `t_b_contract_payrule` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `contractid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同',
- `payperiod` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付期间',
- `amount` double NULL DEFAULT NULL COMMENT '金额',
- `percent` double NULL DEFAULT NULL COMMENT '支付比例',
- `paytype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付类型',
- `remark` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '外包采购合同支付条款表' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_project_service`;
- CREATE TABLE `t_b_project_service` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
- `code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务编码',
- `name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务名称',
- `projectName` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名称',
- `servicetypedetail` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务类型',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '项目服务表' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_project_service_device`;
- CREATE TABLE `t_b_project_service_device` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `serviceid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务',
- `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
- `deviceid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '项目服务及对应设备关系表' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_partner`;
- CREATE TABLE `t_b_partner` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '往来单位编码',
- `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '往来单位名称',
- `city` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所在城市',
- `addr` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '详细地址',
- `contact` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系人',
- `tel` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电话',
- `account` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '账号',
- `bank` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '开户行',
- `bankno` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '开户行号',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '客户档案' ROW_FORMAT = Compact;
- ## 供应商管理增加联行号
- alter table t_b_related_units_extrainfo add COLUMN linkbankno VARCHAR(50);
- ## 组织结构增加项目id
- alter table t_s_depart add COLUMN projectid VARCHAR(32);
- update t_s_depart set projectid = id where dept_code like 'p_%' or dept_code like 'P_%';
- ## 文件系统增加密码
- alter table t_sys_file add COLUMN userpass VARCHAR(10);
- alter table t_sys_file add COLUMN ownerpass VARCHAR(10);
- ##物料采购合同
- DROP TABLE IF EXISTS `t_b_contract_p`;
- CREATE TABLE `t_b_contract_p` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `step_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同类型',
- `code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同编码',
- `name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同名称',
- `signdate` datetime(0) NULL DEFAULT NULL COMMENT '签订日期',
- `description` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '合同描述',
- `totalamount` double NULL DEFAULT NULL COMMENT '合同金额',
- `totalinvoice` double NULL DEFAULT NULL COMMENT '累计开票金额',
- `totalpayment` double NULL DEFAULT NULL COMMENT '累计付款金额',
- `totalincome` double NULL DEFAULT NULL COMMENT '累计收款金额',
- `startdate` datetime(0) NULL DEFAULT NULL COMMENT '生效日期',
- `enddate` datetime(0) NULL DEFAULT NULL COMMENT '失效日期',
- `auditdate` datetime(0) NULL DEFAULT NULL COMMENT '审批日期',
- `busstatus` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '状态',
- `partnerid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
- `projectid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
- `thirdpartner` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '第三方单位',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '物料采购合同表' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_contract_p_payrule`;
- CREATE TABLE `t_b_contract_p_payrule` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `contractid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同',
- `payperiod` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付期间',
- `amount` double NULL DEFAULT NULL COMMENT '金额',
- `percent` double NULL DEFAULT NULL COMMENT '支付比例',
- `paytype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付类型',
- `remark` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '物料采购合同支付条款表' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_contract_p_item`;
- CREATE TABLE `t_b_contract_p_item` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `contractid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同',
- `serviceid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务',
- `price` double NULL DEFAULT NULL COMMENT '单价',
- `unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
- `quantity` double NULL DEFAULT NULL COMMENT '数量',
- `amount` double NULL DEFAULT NULL COMMENT '金额',
- `goodsid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品',
- `devicesid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备',
- `content` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '条款内容',
- `sname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务名称',
- `dname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备名称',
- `gname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品名称',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '物料采购合同明细表' ROW_FORMAT = Compact;
- ## 基础库
- DROP TABLE IF EXISTS `t_b_project`;
- CREATE TABLE `t_b_project` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目编码',
- `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名称',
- `leader` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目经理',
- `leadername` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目经理',
- `zone` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属区域',
- `customer` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户',
- `customername` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户',
- `status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目状态',
- `activetime` datetime(0) NULL DEFAULT NULL COMMENT '激活时间',
- `addr` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '详细地址',
- `currentprocessstart` datetime(0) NULL DEFAULT NULL COMMENT '项目当期起始日期',
- `currentprocessend` datetime(0) NULL DEFAULT NULL COMMENT '项目当期截止日期',
- `abbreviation` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '简称',
- `type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目类型',
- `defnum1` double NULL DEFAULT NULL COMMENT '数值自定义项1',
- `defnum2` double NULL DEFAULT NULL COMMENT '数值自定义项2',
- `defnum3` double NULL DEFAULT NULL COMMENT '数值自定义项3',
- `defnum4` double NULL DEFAULT NULL COMMENT '数值自定义项4',
- `defnum5` double NULL DEFAULT NULL COMMENT '数值自定义项5',
- `defnum6` double NULL DEFAULT NULL COMMENT '数值自定义项6',
- `defnum7` double NULL DEFAULT NULL COMMENT '数值自定义项7',
- `defnum8` double NULL DEFAULT NULL COMMENT '数值自定义项8',
- `defnum9` double NULL DEFAULT NULL COMMENT '数值自定义项9',
- `defnum10` double NULL DEFAULT NULL COMMENT '数值自定义项10',
- `defstr1` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项1',
- `defstr2` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项2',
- `defstr3` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项3',
- `defstr4` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项4',
- `defstr5` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项5',
- `defstr6` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项6',
- `defstr7` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项7',
- `defstr8` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项8',
- `defstr9` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项9',
- `defstr10` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项10',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '项目档案' ROW_FORMAT = Compact;
- ## 升级项目库
- 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');
- DROP TABLE IF EXISTS `t_b_zone`;
- CREATE TABLE `t_b_zone` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区域编码',
- `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区域名称',
- `leader` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区域负责人',
- `leadername` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '负责人',
- `defnum1` double NULL DEFAULT NULL COMMENT '数值自定义项1',
- `defnum2` double NULL DEFAULT NULL COMMENT '数值自定义项2',
- `defnum3` double NULL DEFAULT NULL COMMENT '数值自定义项3',
- `defnum4` double NULL DEFAULT NULL COMMENT '数值自定义项4',
- `defnum5` double NULL DEFAULT NULL COMMENT '数值自定义项5',
- `defnum6` double NULL DEFAULT NULL COMMENT '数值自定义项6',
- `defnum7` double NULL DEFAULT NULL COMMENT '数值自定义项7',
- `defnum8` double NULL DEFAULT NULL COMMENT '数值自定义项8',
- `defnum9` double NULL DEFAULT NULL COMMENT '数值自定义项9',
- `defnum10` double NULL DEFAULT NULL COMMENT '数值自定义项10',
- `defstr1` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项1',
- `defstr2` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项2',
- `defstr3` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项3',
- `defstr4` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项4',
- `defstr5` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项5',
- `defstr6` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项6',
- `defstr7` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项7',
- `defstr8` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项8',
- `defstr9` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项9',
- `defstr10` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字符自定义项10',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '区域档案' ROW_FORMAT = Compact;
- ## 销售合同
- DROP TABLE IF EXISTS `t_b_contract_sale`;
- create table t_b_contract_sale (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键',
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '审批状态',
- `code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同号',
- `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同名',
- `type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '类型',
- `signdate` datetime(0) NULL DEFAULT NULL COMMENT '签订日期',
- `nextbiddingdate` datetime(0) NULL DEFAULT NULL COMMENT '下次招标日期',
- `startdate` datetime(0) NULL DEFAULT NULL COMMENT '生效日期',
- `enddate` datetime(0) NULL DEFAULT NULL COMMENT '失效日期',
- `totalamount` double(32, 0) NULL DEFAULT NULL COMMENT '合同金额',
- `totalinvoice` double(32, 0) NULL DEFAULT NULL COMMENT '累计开票金额',
- `totalincome` double(32, 0) NULL DEFAULT NULL COMMENT '累计收款金额',
- `servicecontent` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务内容',
- `auditdate` datetime(0) NULL DEFAULT NULL COMMENT '审批日期',
- `busstatus` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同状态',
- `customerid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户',
- `customername` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户名',
- `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
- `projectname` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名',
- `paytype` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '付款模式',
- `description` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同描述',
- `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程实例',
- `step_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程当前阶段',
- `supplemental` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '补充协议简述',
- `contractid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '原合同',
- `addamount` double(32, 0) NULL DEFAULT NULL COMMENT '增项金额',
- `canExe` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否可执行',
- `specialamount` double(20, 0) NULL DEFAULT NULL,
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '销售合同' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_contract_sale_item`;
- create table t_b_contract_sale_item (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `contractid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同',
- `servicetype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务类型',
- `remark` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '服务说明',
- `addordel` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '增项减项',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '销售合同明细' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_contract_sale_invoice`;
- create table t_b_contract_sale_invoice (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `proc_inst_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程实例',
- `step_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程当前阶段',
- `contractid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同',
- `contractname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同名',
- `invoiceamount` double(20, 0) NULL DEFAULT NULL COMMENT '开票金额',
- `invoicedate` datetime(0) NULL DEFAULT NULL COMMENT '开票日期',
- `incomeamount` double(20, 0) NULL DEFAULT NULL COMMENT '收款金额',
- `incomedate` datetime(0) NULL DEFAULT NULL COMMENT '收款日期',
- `invoiceopt` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '开票操作人',
- `invoiceoptname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '开票操作人',
- `incomeopt` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收款操作人',
- `incomeoptname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收款操作人',
- `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
- `projectname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名',
- `customerid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户名',
- `customername` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户名',
- `busstatus` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '业务状态',
- `invoiceno` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发票号',
- `invoicetype` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发票类型',
- `remark` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
- `receiver` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收票人',
- `taxamount` double(20, 0) NULL DEFAULT NULL COMMENT '税额',
- `saleamount` double(20, 0) NULL DEFAULT NULL COMMENT '销售额',
- `periodbegin` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物业费起始月度',
- `periodend` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物业费截止月度',
- `accountingtype` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '核算类型',
- `feetype` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收费类别',
- `c2cinvoice` double(20, 0) NULL DEFAULT NULL COMMENT '本年开本年',
- `c2linvoice` double(20, 0) NULL DEFAULT NULL COMMENT '本年开上年',
- `c2ninvoice` double(20, 0) NULL DEFAULT NULL COMMENT '本年开下年',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '销售合同发票' ROW_FORMAT = Compact;
- ## 供方服务计划
- DROP TABLE IF EXISTS `t_b_maintain_plan`;
- CREATE TABLE t_b_maintain_plan (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程实例',
- `step_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审批阶段',
- `code` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '编码',
- `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '计划名称',
- `servicetype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务类型',
- `servicefrequ` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务频次',
- `relatedunitid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
- `relatedunitname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商名称',
- `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
- `projectname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名称',
- `daypermonth` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '每月几日',
- `dayperweek` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '每周几',
- `regulardate` datetime(0) NULL DEFAULT NULL COMMENT '固定日期',
- `devicetype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '维护设备类型',
- `startdate` datetime(0) NULL DEFAULT NULL COMMENT '计划开始日期',
- `enddate` datetime(0) NULL DEFAULT NULL COMMENT '计划结束日期',
- `busistatus` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '业务状态',
- `remark` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '供方服务计划' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_maintain_plan_projserv`;
- CREATE TABLE `t_b_maintain_plan_projserv` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `projectserviceid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目服务',
- `projectservicename` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务描述',
- `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
- `projectname` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名称',
- `servicetypedetail` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务明细类',
- `maintainid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务单',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '供方服务计划项目服务清单' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_maintain_plan_times`;
- CREATE TABLE `t_b_maintain_plan_times` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `servicetime` datetime(0) NULL DEFAULT NULL COMMENT '服务时间',
- `maintainplanid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供方服务计划',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '供方服务计划时间清单' ROW_FORMAT = Compact;
- ## 供方服务单
- create table t_b_maintain_bill (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务名称',
- `code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务号',
- `servicedate` datetime(0) NULL DEFAULT NULL COMMENT '服务日期',
- `plandatestart` datetime(0) NULL DEFAULT NULL COMMENT '计划开始日期',
- `plandateend` datetime(0) NULL DEFAULT NULL COMMENT '计划完成日期',
- `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
- `projectname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名称',
- `servicetypedetail` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务类型',
- `projectservcieid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目服务',
- `projectservicename` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目服务描述',
- `relatedunitid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
- `relatedunitname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商名称',
- `step_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '当前流程名',
- `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
- `description` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '本次服务描述',
- `sourcetype` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单据来源',
- `score` int(11) NULL DEFAULT 0 COMMENT '本次服务评分',
- `averaged` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '计算过平均分',
- `valuate` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务评价',
- `busistatus` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '业务状态',
- `taskuserid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目负责人',
- `taskusername` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目负责人',
- `contractid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '外包服务合同',
- `contractname` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '外包服务合同名',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '供方服务单' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_project_favorite`;
- create table t_b_project_favorite (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '关注日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `userid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '人员',
- `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关注的项目',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '项目关注收藏' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_s_ext_attribute`;
- create table t_s_ext_attribute (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `billtypecode` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单据档案类型编码',
- `billtypename` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单据档案名称',
- `tablename` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单据档案表名',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '扩展属性设置' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_s_ext_attribute_defset`;
- create table t_s_ext_attribute_defset (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `tablefieldname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '扩展属性字段名',
- `extname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '扩展名称',
- `extcode` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '扩展编码',
- `datatype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '数据类型',
- `extattributeid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '主表',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '扩展属性设置明细' ROW_FORMAT = Compact;
- # DROP TABLE IF EXISTS `t_bus_user_arrange_detail_history`;
- CREATE TABLE t_bus_user_arrange_detail_history (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
- `calendarid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '日历ID',
- `shiftid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '班次ID',
- `projarrange_detailid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '项目排班详细表ID',
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司',
- PRIMARY KEY (`id`) USING BTREE,
- INDEX `idx_cal`(`calendarid`) USING BTREE,
- INDEX `idx_pro`(`projarrange_detailid`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '员工排班详情历史表表' ROW_FORMAT = Compact;
- CREATE TABLE `t_bus_user_attendance_detail_h` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL ,
- `attendance_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
- `status` varchar(2) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
- `attendance_date` datetime NULL DEFAULT NULL ,
- `retreat_date` datetime NULL DEFAULT NULL ,
- `duty_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
- `datum_date` decimal(8,0) NULL DEFAULT NULL ,
- `time_difference` decimal(8,0) NULL DEFAULT NULL ,
- `fine_tuning_type` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
- `time_fine_tuning` decimal(8,0) NULL DEFAULT NULL ,
- `adjust_reason` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
- `borrowstatus` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '借调状态;0未借调,1已借调' ,
- `borrowspid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '借调项目id' ,
- `borrowsdepartid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '借调部门id' ,
- `attendance_mins` decimal(8,0) NULL DEFAULT NULL COMMENT '考勤时间' ,
- `timeout_overtime_duration` decimal(8,0) NULL DEFAULT NULL COMMENT '超时加班时长' ,
- `national_overtime_duration` decimal(8,0) NULL DEFAULT NULL COMMENT '国定加班时长' ,
- `special_overtime` decimal(8,0) NULL DEFAULT NULL COMMENT '特殊加班时长' ,
- `day_pay` decimal(8,2) NULL DEFAULT NULL COMMENT '单次借调日薪' ,
- `actualattendance_date` decimal(8,0) NULL DEFAULT NULL COMMENT '实际出勤时间' ,
- `json_obj` varchar(5000) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '其他字段' ,
- `ymd_date` date NULL DEFAULT NULL COMMENT '当前日期' ,
- PRIMARY KEY (`id`)
- )
- ENGINE=InnoDB
- DEFAULT CHARACTER SET=utf8 COLLATE=utf8_bin
- COMMENT='员工考勤详细表'
- ROW_FORMAT=COMPACT
- ;
- CREATE TABLE `t_bus_user_attendance_total_h` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL ,
- `user_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
- `user_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
- `pid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属项目ID' ,
- `departid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门ID' ,
- `in_postid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属岗位ID' ,
- `workingdays` int(2) NULL DEFAULT NULL COMMENT '在职天数' ,
- `yearmonth` varchar(10) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
- `datum_attendance_date` decimal(8,0) NULL DEFAULT NULL ,
- `actual_attendance_date` decimal(8,0) NULL DEFAULT NULL ,
- `time_difference_total` decimal(8,0) NULL DEFAULT NULL ,
- `adjust_time` decimal(8,0) NULL DEFAULT NULL ,
- `owe_time` decimal(8,0) NULL DEFAULT NULL ,
- `overtime_total_time` decimal(8,0) NULL DEFAULT NULL ,
- `leave_total_time` decimal(8,0) NULL DEFAULT NULL ,
- `adjust_record` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
- `attendance_status` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
- `early_leave_amount` int(3) NULL DEFAULT NULL ,
- `late_amount` decimal(8,1) NULL DEFAULT NULL ,
- `absenteeism_amount_orig` decimal(8,0) NULL DEFAULT NULL ,
- `absenteeism_amount` decimal(8,0) NULL DEFAULT NULL ,
- `no_punch_card_amount` int(3) NULL DEFAULT NULL ,
- `paid_leave` decimal(8,0) NULL DEFAULT NULL ,
- `thing_leave` decimal(8,0) NULL DEFAULT NULL ,
- `sick_leave` decimal(8,0) NULL DEFAULT NULL ,
- `marriage_leave` decimal(8,0) NULL DEFAULT NULL ,
- `funeral_leave` decimal(8,0) NULL DEFAULT NULL ,
- `maternity_leave` decimal(8,0) NULL DEFAULT NULL ,
- `accompany_maternity_leave` decimal(8,0) NULL DEFAULT NULL ,
- `national_duty_duration` decimal(8,0) NULL DEFAULT NULL ,
- `timeout_overtime_duration_orig` decimal(8,0) NULL DEFAULT NULL ,
- `timeout_overtime_duration` decimal(8,0) NULL DEFAULT NULL ,
- `national_overtime_duration` decimal(8,0) NULL DEFAULT NULL ,
- `duty_duration` int(3) NULL DEFAULT NULL ,
- `special_overtime` decimal(8,0) NULL DEFAULT NULL ,
- `day_shift_subsidy` int(3) NULL DEFAULT NULL ,
- `night_shift_subsidy` int(3) NULL DEFAULT NULL ,
- `day_shift` int(3) NULL DEFAULT NULL ,
- `regular_shift` int(3) NULL DEFAULT NULL ,
- `fixed_value` int(3) NULL DEFAULT NULL ,
- `extra_overtime` int(3) NULL DEFAULT NULL ,
- `confirm_status` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
- `confirm_date` datetime NULL DEFAULT NULL ,
- `confirmor` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL ,
- `ifmoved` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '0没有调动过;1调动过' ,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称' ,
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称' ,
- `create_date` datetime NULL DEFAULT NULL COMMENT '创建日期' ,
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称' ,
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称' ,
- `update_date` datetime NULL DEFAULT NULL COMMENT '更新日期' ,
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门' ,
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司' ,
- `bpm_status` varchar(2) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '流程状态' ,
- `json_obj` varchar(1000) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '其他字段' ,
- PRIMARY KEY (`id`)
- )
- ENGINE=InnoDB
- DEFAULT CHARACTER SET=utf8 COLLATE=utf8_bin
- COMMENT='员工考勤合计表'
- ROW_FORMAT=COMPACT
- ;
- CREATE TABLE `t_bus_ding_attendanceinfo_h` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '主键' ,
- `user_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '员工编号' ,
- `belong_unitid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '所属单位ID' ,
- `attendance_date` datetime NOT NULL COMMENT '考勤日期' ,
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称' ,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称' ,
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司' ,
- `ding_uniqueid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '钉钉考勤唯一标识' ,
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称' ,
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门' ,
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '流程状态' ,
- `create_date` datetime NULL DEFAULT NULL COMMENT '创建日期' ,
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称' ,
- `update_date` datetime NULL DEFAULT NULL COMMENT '更新日期' ,
- `attendance_time` datetime NOT NULL COMMENT '考勤时间' ,
- `user_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '员工ID' ,
- `realname` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '用户姓名' ,
- `is_dispose` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '是否处理标志' ,
- PRIMARY KEY (`id`),
- INDEX `rds_idx_0` (`ding_uniqueid`) USING BTREE
- )
- ENGINE=InnoDB
- DEFAULT CHARACTER SET=utf8 COLLATE=utf8_bin
- COMMENT='钉钉考勤原始信息表'
- ROW_FORMAT=COMPACT
- ;
- CREATE TABLE t_bus_projarrange_general_h (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '主键',
- `yearmonth` varchar(10) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '排班月度',
- `belong_unitid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属单位ID',
- `people_quantity` int(5) NULL DEFAULT NULL COMMENT '人数',
- `arrange_duty_status` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '排班状态',
- `reporter_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '上报人ID',
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '项目排班总揽表' ROW_FORMAT = Compact;
- CREATE TABLE t_bus_projarrange_detail_h (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '主键',
- `projarrange_generalid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '项目排班总揽表ID',
- `pjt_postid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '项目岗位ID',
- `userid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '员工ID',
- `working_days` decimal(8, 1) NULL DEFAULT NULL COMMENT '上班天数',
- `timeout_overtime_hours` decimal(8, 1) NULL DEFAULT NULL COMMENT '超时加班',
- `country_overtime_hours` decimal(8, 1) NULL DEFAULT NULL COMMENT '国定加班',
- `onduty_days` decimal(8, 1) NULL DEFAULT NULL COMMENT '值班天数',
- `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '备注',
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司',
- `yearmonth` varchar(10) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '月度',
- `pid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '项目id',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '项目排班详细表' ROW_FORMAT = Compact;
- CREATE TABLE t_bus_user_arrange_detail_h (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
- `calendarid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '日历ID',
- `shiftid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '班次ID',
- `projarrange_detailid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '项目排班详细表ID',
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司',
- PRIMARY KEY (`id`) USING BTREE,
- INDEX `idx_cal`(`calendarid`) USING BTREE,
- INDEX `idx_pro`(`projarrange_detailid`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '员工排班详情表' ROW_FORMAT = Compact;
- CREATE TABLE t_bus_attendance_temp_h (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '1' COMMENT '流程状态',
- `user_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '员工ID',
- `user_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '员工编号',
- `realname` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '员工姓名',
- `belong_unitid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属单位ID',
- `attendance_date` datetime(0) NULL DEFAULT NULL COMMENT '考勤日期',
- `datum_stime` datetime(0) NULL DEFAULT NULL COMMENT '日基准开始时间',
- `datum_etime` datetime(0) NULL DEFAULT NULL COMMENT '日基准结束时间',
- `sign_date` datetime(0) NULL DEFAULT NULL COMMENT '签到时间',
- `newest_punchcard_date` datetime(0) NULL DEFAULT NULL COMMENT '最新打卡时间',
- `attendance_status` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '考勤状态',
- `arrange_duty_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '班次ID',
- `attendance_datetime` datetime(0) NULL DEFAULT NULL COMMENT '出勤时间',
- `retreat_datetime` datetime(0) NULL DEFAULT NULL COMMENT '退勤时间',
- `alldatetime` varchar(1000) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所有签到时间',
- `lateminute` int(3) NULL DEFAULT NULL COMMENT '迟到分钟数',
- `leaveearlyminute` int(3) NULL DEFAULT NULL COMMENT '早退分钟数',
- PRIMARY KEY (`id`) USING BTREE,
- INDEX `date_indx`(`attendance_date`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '考勤实时查看表' ROW_FORMAT = Compact;
- DROP TABLE IF EXISTS `t_b_contract_sale_income`;
- create table t_b_contract_sale_income (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `operatorid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收款人',
- `operatorname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收款人姓名',
- `sourcetype` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '来源单据类型',
- `sourcebillid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '来源单据',
- `sourcebillcode` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '来源单编号',
- `totalamount` double NULL DEFAULT 0 COMMENT '款项总计',
- `totalincome` double NULL DEFAULT 0 COMMENT '累计已收款',
- `incomedate` datetime(0) NOT NULL COMMENT '收款日期',
- `incomeamount` double NOT NULL DEFAULT 0 COMMENT '本次收款金额',
- `invoiceid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发票id',
- `periodbegin` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物业费起始月度',
- `periodend` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物业费截止月度',
- `c2cincome` double(20, 0) NULL DEFAULT NULL COMMENT '本年收本年',
- `c2nincome` double(20, 0) NULL DEFAULT NULL COMMENT '本年收下年',
- `c2lincome` double(20, 0) NULL DEFAULT NULL COMMENT '本年收上年',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '销售合同收款表' ROW_FORMAT = Compact;
- ##菜单
- 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);
- 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);
- 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);
- 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);
- 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);
- 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);
- 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', '管理员');
- 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', '管理员');
- 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);
- 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);
- 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', '管理员');
- 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', '管理员');
- 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);
- 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);
- 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);
- 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);
- 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', '管理员');
- 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);
- 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);
- ##字典
- INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('4028827769b7ceb90169b7d695680001', 'contractstatus', '合同状态', '2019-03-26 10:31:27', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('402888ea6a9beaaf016aa03ee9b0000a', 'paymode', '付款模式', '2019-05-10 13:37:19', '管理员');
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6a9beaaf016aa03f50af000c', 'Monthly', '月付', NULL, '402888ea6a9beaaf016aa03ee9b0000a', NULL, NULL);
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('402888ea6a9beaaf016aa04f906b0017', 'servicetype', '服务大类', NULL, NULL);
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6a9beaaf016aa0513fdd001a', 'security', '保安服务', NULL, '402888ea6a9beaaf016aa04f906b0017', NULL, NULL);
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d673b50007', 'servicetypedetail', '服务类型明细', '2019-05-10 16:22:50', '管理员');
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d73bbb0009', 'green', '绿化服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', NULL, NULL);
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d7e80d000b', 'AirConditioner', '空调维保服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', NULL, NULL);
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d846a9000d', 'elevator', '电梯维保服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', NULL, NULL);
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d8bc85000f', 'GarbageCleaning', '垃圾清理服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', NULL, NULL);
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d927540011', 'WeakCurrent', '弱电设备维保服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', NULL, NULL);
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d9718c0013', 'electricity', '强电设备维保服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', NULL, NULL);
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0dbab27001b', 'GreatCleaning', '大保洁服务', NULL, '402888ea6aa0cf1e016aa0d673b50007', NULL, NULL);
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('402880f269e207570169e2220e8f0003', 'paytype', '支付类型', '2019-04-03 15:37:57', '管理员');
- 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', '管理员');
- 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', '管理员');
- INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('402888ea6aa0cf1e016aa0d49c1d0001', 'addordel', '增项减项', '2019-05-10 16:20:49', '管理员');
- INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('ff8080816ae3c32d016ae40ea0bc0002', 'frequ', '频次', '2019-05-23 17:38:45', '管理员');
- INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('4028819b6abfac89016abfc222c30010', 'invoicetype', '发票类型', '2019-05-16 16:28:52', '管理员');
- INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('4028819b6abfac89016abfbe28fd0008', 'accountingtype', '核算类型', '2019-05-16 16:24:32', '管理员');
- INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('4028819b6abfac89016abfbbe8460002', 'feetype', '费用类型', '2019-05-16 16:22:04', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- ## 审批流类型
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028e4885f943f8d015f944822721111', 'contract', '合同流程', NULL, '402889fe47eddd340147ede15c070001', NULL, NULL);
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028e4885f943f8d015f944822722222', 'contractpayment', '合同付款申请流程', NULL, '402889fe47eddd340147ede15c070001', NULL, NULL);
- 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', '管理员');
- 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', '管理员');
- ## 多语言
- 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);
- 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);
- 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);
- 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);
- 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);
- ## 定时任务
- 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');
- 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');
- 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');
- ## 工资明细新加字段
- alter table t_bus_user_wage add COLUMN comcost decimal(16,2);
- alter table t_bus_user_wage modify COLUMN com_social_security_debit decimal(16,2);
- alter table t_bus_user_wage add COLUMN socialSecurityId VARCHAR(36);
- alter table t_bus_user_wage add COLUMN socialSecurityUnit VARCHAR(36);
- ## 用户基础表添加字段
- alter table t_s_user add COLUMN education VARCHAR(36);
- alter table t_s_user add COLUMN hktype VARCHAR(36);
- ## 考勤上报增加索引,提高效率
- ALTER TABLE `t_bus_ding_attendanceinfo` ADD INDEX userid (`user_id`);
- ALTER TABLE `t_bus_ding_attendanceinfo` ADD INDEX atttime (`attendance_time`);
- ALTER TABLE `t_bus_user_attendance_detail` ADD INDEX attendance_id (`attendance_id`);
- ##字典-学历和户口属性
- INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ( '4028827769b7ceb90169b72019062601', 'education', '学历', '2019-03-26 10:31:27', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- ##字典-学历和户口属性
- INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ( '4028827769b7ceb90169b72019062701', 'hktype', '户口属性', '2019-03-26 10:31:27', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- ##合同预置审批流信息
- 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);
- 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);
- 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);
- 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);
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- INSERT INTO t_process_busconfig(id, show_title, real_title, show_tablename, real_tablename, process_type) VALUES ('402881b36af6ceb6016af72b8e4b0004', '物料采购合同审批流程', '物料采购合同审批:金额${totalamount}', '物料采购合同', 't_b_contract_p', 'purchasecontract');
- INSERT INTO t_process_busconfig(id, show_title, real_title, show_tablename, real_tablename, process_type) VALUES ('402887006a47a785016a47a8c78a0001', '合同付款申请', '合同付款申请:金额【${applypayamount}】元', '合同付款表', 't_b_contract_payment', 'contractpayment');
- INSERT INTO t_process_busconfig(id, show_title, real_title, show_tablename, real_tablename, process_type) VALUES ('402887be6a1fe801016a200885c1000a', '外包合同审批流程', '外包合同审批【${name}】', '外包合同审批', 't_b_contract', 'contract');
- INSERT INTO t_process_busconfig(id, show_title, real_title, show_tablename, real_tablename, process_type) VALUES ('402888ea6ab4648d016ab52397740007', '销售合同审批流程', '销售合同签订审批【${name}】', '销售合同', 't_b_contract_sale', 'salecontract');
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402880e46bc5e9d2016bc5f471610002', 'Onetime', '一次性支付', NULL, '402888ea6a9beaaf016aa03ee9b0000a', NULL, NULL);
- alter table t_b_contract add COLUMN paytype VARCHAR(20);
- alter table t_b_partner add COLUMN taxno VARCHAR(40);
- alter table t_b_contract_sale add COLUMN specialbudget double;
- 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');
- -- 执行流及员工入职、员工调动审批新增部分 开始
- CREATE TABLE `p_activiti_task` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `name` varchar(255) DEFAULT NULL COMMENT '任务名称',
- `process_id` varchar(32) DEFAULT NULL COMMENT '流程id',
- `process_name` varchar(255) DEFAULT NULL,
- `task_cost_time` int(11) DEFAULT NULL COMMENT '任务消耗时间',
- `task_cost_time_type` varchar(32) DEFAULT NULL COMMENT '时间类型',
- `execute_type` varchar(32) DEFAULT NULL COMMENT '执行方式',
- `execute_way` varchar(32) DEFAULT NULL COMMENT '执行端',
- `form` varchar(255) DEFAULT NULL COMMENT '表单',
- `owner_role` varchar(32) DEFAULT NULL COMMENT '工作所属角色',
- `owner_role_name` varchar(45) DEFAULT NULL,
- `important` int(11) DEFAULT NULL COMMENT '重要程度',
- `execute_class` varchar(255) DEFAULT NULL COMMENT '执行类',
- `task_delay` int(11) DEFAULT NULL COMMENT '延期多久开始任务,默认单位:天',
- `task_type` varchar(255) DEFAULT NULL,
- `check_result` varchar(45) DEFAULT NULL COMMENT '检验是否完成',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- CREATE TABLE `t_bus_activiti_user_personnel` (
- `id` varchar(36) COLLATE utf8_bin NOT NULL COMMENT '主键',
- `bpm_status` varchar(35) COLLATE utf8_bin DEFAULT NULL,
- `proc_inst_id` varchar(64) COLLATE utf8_bin DEFAULT NULL,
- `step_name` varchar(50) COLLATE utf8_bin DEFAULT NULL,
- `create_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `userid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '员工ID',
- `depart_id` varchar(32) COLLATE utf8_bin DEFAULT NULL,
- `departname` varchar(255) COLLATE utf8_bin DEFAULT NULL,
- `username` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '用户账户',
- `realname` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '真实名',
- `idcard` varchar(20) COLLATE utf8_bin DEFAULT NULL COMMENT '身份证号',
- `mobilePhone` varchar(45) COLLATE utf8_bin DEFAULT NULL COMMENT '手机号',
- `gender` varchar(45) COLLATE utf8_bin DEFAULT NULL COMMENT '性别',
- `nation` varchar(45) COLLATE utf8_bin DEFAULT NULL COMMENT '民族',
- `education` varchar(45) COLLATE utf8_bin DEFAULT NULL COMMENT '学历',
- `address` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '地址',
- `hkaddress` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '户口地址',
- `duty` varchar(45) COLLATE utf8_bin DEFAULT NULL COMMENT '职务',
- `money` DECIMAL(20,2) DEFAULT NULL COMMENT '薪资',
- `contract_stime` datetime DEFAULT NULL COMMENT '合同有效期开始时间',
- `contract_long` int(11) DEFAULT NULL COMMENT '合同时长,单位年',
- `trial_period` int(2) DEFAULT NULL COMMENT '试用期限',
- `jiaojin` varchar(45) COLLATE utf8_bin DEFAULT NULL COMMENT '缴金',
- `prearrange` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '拟排班方式',
- `experience` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '从业经验',
- `remark` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '备注',
- `hktype` varchar(45) COLLATE utf8_bin DEFAULT NULL COMMENT '户口类型',
- `email` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '邮箱',
- `role_id` varchar(255) COLLATE utf8_bin DEFAULT NULL,
- `role_name` varchar(255) COLLATE utf8_bin DEFAULT NULL,
- `manager_type` varchar(255) COLLATE utf8_bin DEFAULT NULL,
- `duty_name` varchar(45) COLLATE utf8_bin DEFAULT NULL,
- `userNum` varchar(45) COLLATE utf8_bin DEFAULT NULL,
- `user_type` varchar(45) COLLATE utf8_bin DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `userid` (`userid`) USING BTREE
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='员工人事信息表';
- CREATE TABLE `t_bus_activiti_samelevel_transfer` (
- `id` varchar(36) COLLATE utf8_bin NOT NULL COMMENT '主键',
- `create_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) COLLATE utf8_bin DEFAULT '1' COMMENT '流程状态',
- `userid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '调动员工ID',
- `belong_unitid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '所属单位ID',
- `in_unitid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '调入单位ID',
- `old_dutiesid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '原职位ID',
- `old_postid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '原岗位ID',
- `out_time` datetime DEFAULT NULL COMMENT '调出日期',
- `in_time` datetime DEFAULT NULL COMMENT '调入日期',
- `transfer_reason` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '调动原因',
- `applicant_id` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '申请人ID',
- `apply_date` datetime DEFAULT NULL COMMENT '申请日期',
- `delete_flag` varchar(1) COLLATE utf8_bin DEFAULT NULL COMMENT '逻辑删除标识',
- `proc_inst_id` varchar(64) COLLATE utf8_bin DEFAULT NULL COMMENT '流程实例ID',
- `belong_unit_pid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '所属单位的上级单位ID',
- `in_unit_pid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '调入单位的上级单位ID',
- `step_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '当前步骤',
- `new_dutiesid` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '新项目职位/职务',
- `new_duty_name` varchar(255) COLLATE utf8_bin DEFAULT NULL,
- `new_postid` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '新项目岗位',
- `new_post_name` varchar(255) COLLATE utf8_bin DEFAULT NULL,
- `checked_wage` DECIMAL(20,2) DEFAULT NULL COMMENT '已结清的工资',
- `wage_yearmonth` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '结清工资月份',
- `checked_wage_last` DECIMAL(20,2) DEFAULT NULL COMMENT '上月工资',
- `wage_yearmonth_last` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '上月月份',
- `realname` varchar(50) DEFAULT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='人事调动(平调)申请表';
- ALTER TABLE `p_projecttask` ADD COLUMN `form` VARCHAR(255) NULL COMMENT '线上完成表单' AFTER `dispatchtime`;
- ALTER TABLE `p_projecttask`
- ADD COLUMN `execute_type` VARCHAR(45) NULL COMMENT '执行方式 线上或线下' AFTER `form`;
- ALTER TABLE `p_projecttask`
- ADD COLUMN `execute_way` VARCHAR(45) NULL COMMENT '执行端' AFTER `form`;
- ALTER TABLE `p_projecttask`
- ADD COLUMN `check_result` VARCHAR(45) NULL COMMENT '检验是否完成' AFTER `execute_way`;
- ALTER TABLE `p_projecttask`
- ADD COLUMN `target_user` VARCHAR(45) NULL COMMENT '针对用户,例如员工入职里的入职员工' AFTER `check_result`;
- ALTER TABLE `t_bus_samelevel_transfer`
- ADD COLUMN `new_dutiesid` VARCHAR(255) NULL COMMENT '新项目职位/职务' AFTER `step_name`,
- ADD COLUMN `new_postid` VARCHAR(255) NULL COMMENT '新项目岗位' AFTER `new_dutiesid`,
- ADD COLUMN `checked_wage` DECIMAL(20,2) NULL COMMENT '已结清的工资' AFTER `new_postid`,
- ADD COLUMN `wage_yearmonth` VARCHAR(255) NULL COMMENT '结清工资月份' AFTER `checked_wage`,
- ADD COLUMN `checked_wage_last` DECIMAL(20,2) NULL COMMENT '上月工资' AFTER `wage_yearmonth`,
- ADD COLUMN `wage_yearmonth_last` VARCHAR(255) NULL COMMENT '上月月份' AFTER `checked_wage_last`;
- 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','管理员');
- INSERT INTO `t_s_typegroup` (`ID`,`typegroupcode`,`typegroupname`,`create_date`,`create_name`) VALUES ('402881e56c0f0d54016c0f189b0f0003','activiti_task_execute_type','任务流执行方式','2019-07-20 19:16:07','管理员');
- INSERT INTO `t_s_typegroup` (`ID`,`typegroupcode`,`typegroupname`,`create_date`,`create_name`) VALUES ('402881e56c0f0d54016c0f1a31180009','activiti_task_execute_way','任务流执行端','2019-07-20 19:17:50','管理员');
- INSERT INTO `t_s_typegroup` (`ID`,`typegroupcode`,`typegroupname`,`create_date`,`create_name`) VALUES ('402881e56c0f0d54016c0f20d69b0011','activiti_task_important','任务流重要性','2019-07-20 19:25:06','管理员');
- INSERT INTO `t_s_typegroup` (`ID`,`typegroupcode`,`typegroupname`,`create_date`,`create_name`) VALUES ('402880ed6c23d5f4016c23e63bed0007','activiti_task_check_result','任务流检验完成','2019-07-24 20:13:07','管理员');
- 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','管理员');
- 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','管理员');
- 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','管理员');
- 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','管理员');
- 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','管理员');
- 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','管理员');
- 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','管理员');
- 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','管理员');
- 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','管理员');
- 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','管理员');
- INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402880ed6c23d5f4016c23e680f40009','not_check','不检验',NULL,'402880ed6c23d5f4016c23e63bed0007',NULL,NULL);
- INSERT INTO `t_s_type` (`ID`,`typecode`,`typename`,`typepid`,`typegroupid`,`create_date`,`create_name`) VALUES ('402880ed6c23d5f4016c23e6a903000b','check','检验',NULL,'402880ed6c23d5f4016c23e63bed0007',NULL,NULL);
- 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','管理员');
- 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','管理员');
- 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','管理员');
- 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','管理员');
- 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);
- 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);
- 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','管理员');
- 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','管理员');
- -- 员工入职 ,员工调动审批流部分
- 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);
- 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');
- 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');
- 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');
- INSERT INTO `t_process_busconfig` VALUES ('402881e56c035875016c03965a4b0029','员工入职','员工入职【${realname}】','员工入职','t_bus_activiti_user_personnel','user_add'),('402881e56c4b2a04016c4c3ef2be0013','人事平调流程','人事平调流程','人事平调流程','t_bus_activiti_samelevel_transfer','samelevel_transfer_new');
- 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');
- 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);
- 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}');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- 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');
- -- 执行流及员工入职、员工调动审批新增部分 结束
- ## 员工培训记录表
- DROP TABLE IF EXISTS `t_bus_user_train`;
- CREATE TABLE `t_bus_user_train` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `user_id` varchar(36) NOT NULL COMMENT '员工id',
- `train_type` varchar(50) NOT NULL COMMENT '培训类型',
- `train_name` varchar(50) NOT NULL COMMENT '培训名称',
- `train_time` datetime NOT NULL COMMENT '培训时间',
- `teacher` varchar(32) DEFAULT NULL COMMENT '讲师',
- `train_address` varchar(50) DEFAULT NULL COMMENT '培训地点',
- `lession_id` varchar(50) DEFAULT NULL COMMENT '课程id',
- `cert_id` varchar(36) DEFAULT NULL COMMENT '证书id',
- `description` varchar(200) DEFAULT NULL COMMENT '描述',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- ## 员工教育经历表
- DROP TABLE IF EXISTS `t_bus_user_education`;
- CREATE TABLE `t_bus_user_education` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `user_id` varchar(36) NOT NULL COMMENT '用户id',
- `edu_type` varchar(32) DEFAULT NULL COMMENT '学历类型',
- `school` varchar(50) DEFAULT NULL COMMENT '学校名',
- `edu_starttime` datetime DEFAULT NULL COMMENT '起始日期',
- `edu_endtime` datetime DEFAULT NULL COMMENT '结束日期',
- `description` varchar(200) DEFAULT NULL COMMENT '描述',
- PRIMARY KEY (`id`),
- KEY `userid` (`user_id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- ##从业经验表
- DROP TABLE IF EXISTS `t_bus_user_work_exper`;
- CREATE TABLE `t_bus_user_work_exper` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `user_id` varchar(36) NOT NULL COMMENT '用户id',
- `unit_name` varchar(50) NOT NULL COMMENT '单位名称',
- `post_name` varchar(50) NOT NULL COMMENT '岗位',
- `duty_name` varchar(50) NOT NULL COMMENT '职务名称',
- `work_type` varchar(100) NOT NULL COMMENT '工作类型',
- `work_content` varchar(100) NOT NULL COMMENT '工作内容',
- `job_starttime` datetime DEFAULT NULL COMMENT '起始日期',
- `job_endtime` datetime DEFAULT NULL COMMENT '结束日期',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- ##关键事件表
- DROP TABLE IF EXISTS `t_bus_user_event`;
- CREATE TABLE `t_bus_user_event` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `user_id` varchar(36) NOT NULL COMMENT '用户id',
- `event_type` varchar(50) NOT NULL COMMENT '事件类型',
- `in_unit` varchar(36) NULL COMMENT '所在项目管理处',
- `project_leader` varchar(36) DEFAULT NULL COMMENT '项目负责人',
- `description` varchar(32) DEFAULT NULL COMMENT '事件描述',
- `event_time` datetime NOT NULL COMMENT '事件发生时间',
- `effect` varchar(100) DEFAULT NULL COMMENT '事件的影响',
- PRIMARY KEY (`id`),
- KEY `userid` (`user_id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- ##员工特长表
- DROP TABLE IF EXISTS `t_bus_user_techang`;
- CREATE TABLE `t_bus_user_techang` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `techang_type` varchar(50) NOT NULL COMMENT '特长类型',
- `user_id` varchar(36) NOT NULL COMMENT '用户',
- `description` longtext COMMENT '说明',
- PRIMARY KEY (`id`),
- KEY `userid` (`user_id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- -- 离职申请 开始
- CREATE TABLE `t_bus_talk` (
- `id` varchar(45) NOT NULL,
- `create_by` varchar(255) DEFAULT NULL,
- `create_date` datetime DEFAULT NULL,
- `create_name` varchar(45) DEFAULT NULL,
- `talk_reason` varchar(255) DEFAULT NULL COMMENT '面谈原因',
- `talk_way` varchar(255) DEFAULT NULL COMMENT '交谈方式',
- `interviewer` varchar(255) DEFAULT NULL COMMENT '约谈人ID',
- `interviewer_name` varchar(255) DEFAULT NULL,
- `talk_with` varchar(45) DEFAULT NULL COMMENT '6)被约谈人ID',
- `talk_with_name` varchar(45) DEFAULT NULL,
- `content` varchar(500) DEFAULT NULL COMMENT '谈话记录',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='面谈记录';
- CREATE TABLE `t_bus_activiti_leave` (
- `id` varchar(36) NOT NULL COMMENT '主键',
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `userid` varchar(36) DEFAULT NULL COMMENT '员工ID',
- `belong_unitid` varchar(36) DEFAULT NULL COMMENT '所属单位',
- `apply_date` datetime DEFAULT NULL COMMENT '申请日期',
- `leave_date` datetime DEFAULT NULL COMMENT '离职日期',
- `leave_type` varchar(20) DEFAULT NULL COMMENT '离职类型',
- `applicant_id` varchar(36) DEFAULT NULL COMMENT '申请人ID',
- `istransfer` varchar(1) DEFAULT NULL COMMENT '是否交接',
- `issettlement` varchar(1) DEFAULT NULL COMMENT '工资是否结算',
- `leave_cause` varchar(255) DEFAULT NULL COMMENT '离职原因',
- `delete_flag` varchar(1) NOT NULL COMMENT '逻辑删除标识',
- `proc_inst_id` varchar(64) DEFAULT NULL COMMENT '流程实例ID',
- `step_name` varchar(50) DEFAULT NULL COMMENT '当前步骤',
- `talk_id` varchar(45) DEFAULT NULL,
- `clothes_info` varchar(500) DEFAULT NULL COMMENT '服装归还情况',
- `tool_info` varchar(500) DEFAULT NULL COMMENT '工具用品归还情况',
- `transfer_info` varchar(500) DEFAULT NULL COMMENT '工作交接情况说明',
- `transfer_user` varchar(45) DEFAULT NULL COMMENT '交接人',
- `transfer_user_name` varchar(255) DEFAULT NULL,
- `self_submit` int(11) DEFAULT NULL COMMENT '是否自己提交离职\n0否\n1是',
- `realname` varchar(50) DEFAULT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='离职申请表';
- CREATE TABLE `t_bus_userblacklist` (
- `id` varchar(32) NOT NULL,
- `userid` varchar(32) DEFAULT NULL,
- `idcard` varchar(45) DEFAULT NULL COMMENT '身份证',
- `create_date` datetime DEFAULT NULL,
- `create_by` varchar(50) DEFAULT NULL,
- `create_name` varchar(50) DEFAULT NULL,
- `reason` varchar(500) DEFAULT NULL COMMENT '加入原因',
- `delete_flag` varchar(45) DEFAULT '0' COMMENT '删除标志',
- PRIMARY KEY (`id`),
- UNIQUE KEY `idcard` (`idcard`),
- KEY `userid` (`userid`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='员工黑名单';
- INSERT INTO `t_s_typegroup` VALUES ('402881e56c62669c016c6268560e0001','talk_reason','面谈原因','2019-08-05 23:31:41','管理员'),('402881e56c62669c016c6269851d000d','talk_way','交谈方式','2019-08-05 23:32:58','管理员');
- 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','管理员');
- 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','管理员');
- 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);
- 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');
- 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');
- 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');
- 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');
- 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');
- INSERT INTO `t_s_busconfig` VALUES ('402881e56c606a67016c6202b01c0016',NULL,'online','','t_bus_activiti_leave','402881e56c606a67016c61f68d04000e','人事离职流程','formdeal','人事离职流程','人事离职流程','402881e56c606a67016c61fe16e80010');
- INSERT INTO `t_process_busconfig` VALUES ('402881e56c606a67016c61fe16e80010','人事离职流程','人事离职流程','人事离职流程','t_bus_activiti_leave','leave_new');
- INSERT INTO `t_p_listener` VALUES ('402881e56c606a67016c620166680014','end','javaClass','cn.com.lzt.useractiviti.workflow.listener.UserLeaveListener','人事离职监听',1,1,'leave_new');
- 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}');
- ALTER TABLE `p_projecttask` CHANGE COLUMN `name` `name` VARCHAR(255) NULL DEFAULT NULL COMMENT '工作名称' ;
- -- 离职申请 结束
- ##t_s_depart加列
- alter table t_s_depart add COLUMN parentdepartname VARCHAR(100);
- alter table t_s_depart add COLUMN parentdepartdesc VARCHAR(100);
- alter table t_s_depart add COLUMN glcname VARCHAR(100);
- alter table t_s_depart add COLUMN glcdesc VARCHAR(100);
- ##部门添加项目名称
- 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 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.parentdepartname = temp.parentname;
- ##部门添加项目简称
- 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
- 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;
- ##部门添加管理处名称
- 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
- 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;
- 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
- 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;
- 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
- 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;
- ##部门添加管理处简称
- 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
- 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;
- 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
- 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;
- 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
- 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;
- #维保单
- alter table t_b_maintain_plan_times add servicetimeend datetime(0);
- ALTER TABLE t_b_maintain_plan_times CHANGE servicetime servicetimestart datetime(0);
- ALTER TABLE t_b_maintain_bill add `paymentid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '付款申请';
- ALTER TABLE p_taskresult
- ADD COLUMN `qualityScore` int(5) NULL DEFAULT NULL,
- ADD COLUMN `efficiencyScore` int(5) NULL DEFAULT NULL,
- ADD COLUMN `attitudeScore` int(5) NULL DEFAULT NULL,
- ADD COLUMN `skillsScore` int(5) NULL DEFAULT NULL,
- ADD COLUMN `taskObjectScore` int(5) NULL DEFAULT NULL,
- ADD COLUMN `reviewScore` int(5) NULL DEFAULT NULL;
- ##增加合同报表菜单
- 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);
- 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);
- 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);
- ##人力资源基础库新增数据字典
- INSERT INTO `t_s_typegroup` VALUES ('40289f0e6c6b0267016c6b10d42d0003', 'techangType', '特长类型', '2019-08-07 15:52:41', '管理员');
- INSERT INTO `t_s_typegroup` VALUES ('40289f0e6c6b0267016c6b5cfdad0018', 'trainType', '培训类型', '2019-08-07 17:15:52', '管理员');
- INSERT INTO `t_s_typegroup` VALUES ('40289f0e6c6b0267016c6b6842f00021', 'eventType', '员工事件类型', '2019-08-07 17:28:11', '管理员');
- INSERT INTO `t_s_typegroup` VALUES ('402883886c7abe77016c83bef7790001', 'workType', '工作类型', '2019-08-12 10:53:46', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b1207d40005', 'qiangdian', '强电', null, '40289f0e6c6b0267016c6b10d42d0003', '2019-08-07 15:54:00', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b1230aa0007', 'ruodian', '弱电', null, '40289f0e6c6b0267016c6b10d42d0003', null, null);
- INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b12a3a00009', 'office', '办公软件', null, '40289f0e6c6b0267016c6b10d42d0003', null, null);
- INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b1379cd000c', 'gedou', '擒拿格斗', null, '40289f0e6c6b0267016c6b10d42d0003', '2019-08-07 15:55:34', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b13f13b000e', 'dianqiweixiu', '电器维修', null, '40289f0e6c6b0267016c6b10d42d0003', '2019-08-07 15:56:05', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b1493740010', 'yingbin', '迎宾礼仪', null, '40289f0e6c6b0267016c6b10d42d0003', '2019-08-07 15:56:46', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b5d4ea0001a', 'neibuTrain', '内部培训', null, '40289f0e6c6b0267016c6b5cfdad0018', '2019-08-07 17:16:13', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b5daf55001c', 'paibuTrain', '外部培训', null, '40289f0e6c6b0267016c6b5cfdad0018', '2019-08-07 17:16:38', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b69120a0023', 'neibujiajiang', '内部嘉奖', null, '40289f0e6c6b0267016c6b6842f00021', '2019-08-07 17:29:04', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b6956710025', 'yezhubaojiang', '业主褒奖', null, '40289f0e6c6b0267016c6b6842f00021', '2019-08-07 17:29:21', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b6998130027', 'neibuchufa', '内部处罚', null, '40289f0e6c6b0267016c6b6842f00021', '2019-08-07 17:29:38', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b69e6dc0029', 'waibutousu', '外部投诉', null, '40289f0e6c6b0267016c6b6842f00021', '2019-08-07 17:29:58', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c6b0267016c6b6a2659002b', 'waibuchufa', '外部处罚', null, '40289f0e6c6b0267016c6b6842f00021', '2019-08-07 17:30:14', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c83c0ca016c83c1cc6f0000', 'neiqin', '内勤文员', null, '402883886c7abe77016c83bef7790001', '2019-08-12 10:56:52', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c83c0ca016c83c792270003', 'baoanManage', '保安主管', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:03:10', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c83c84a016c83ca00930001', 'baojieManage', '保洁主管', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:05:49', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c83c84a016c83ca54ab0003', 'lvhuaManage', '绿化主管', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:06:11', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c83c84a016c83caaba70005', 'gongchengManage', '工程主管', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:06:33', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c83c84a016c83cb2bbe0007', 'gongcheng', '工程', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:07:06', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c83c84a016c83cb5e400009', 'baoan', '保安', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:07:19', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c83c84a016c83cb86db000b', 'baojie', '保洁', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:07:29', '管理员');
- INSERT INTO `t_s_type` VALUES ('40289f0e6c83c84a016c83cbafbf000d', 'lvhua', '绿化', null, '402883886c7abe77016c83bef7790001', '2019-08-12 11:07:40', '管理员');
- ##人力资源基础库查询菜单
- 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);
- 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);
- 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);
- 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);
- 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);
- 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', '管理员');
- 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);
- 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);
- 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', '管理员');
- 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);
- ##给闵总发报表消息定时任务
- 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');
- ##供方服务任务列表
- 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);
- 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);
- ## 新增消息通知类型 报名通知
- 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','管理员');
- ## 合同付款增加金额拆分字段
- alter table t_b_contract_payment
- add column `periodbegin` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物业费起始月度',
- add column `periodend` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物业费截止月度',
- add column `c2cpayment` double(20, 2) NULL DEFAULT NULL COMMENT '本年付本年',
- add column `c2npayment` double(20, 2) NULL DEFAULT NULL COMMENT '本年付下年',
- add column `c2lpayment` double(20, 2) NULL DEFAULT NULL COMMENT '本年付上年';
- ##增加报表:离职预警
- 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);
- 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');
- 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);
- INSERT INTO `t_s_typegroup` (`ID`,`typegroupcode`,`typegroupname`,`create_date`,`create_name`) VALUES ('402880ed6ca8c551016ca90fdac4000e','jiaojin','缴金','2019-08-19 16:48:04','管理员');
- 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','管理员');
- 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','管理员');
- 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','管理员');
- 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','管理员');
- #消息接口支持自定义微信模板
- ALTER TABLE `m_message`
- ADD COLUMN `wx_template_config` VARCHAR(500) NULL COMMENT '微信模板配置' AFTER `api_viewer`,
- ADD COLUMN `url` VARCHAR(255) NULL COMMENT '跳转url' AFTER `wx_template_config`;
- ALTER TABLE `m_personal_message`
- ADD COLUMN `first_read_time` TIMESTAMP NULL AFTER `create_by`;
- ## 物料二期 begin
- 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');
- ## 入库
- CREATE TABLE `t_b_storage_in` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `indate` datetime(0) NULL DEFAULT NULL COMMENT '入库日期',
- `user` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '核实人',
- `porderid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '采购单',
- `warehouseid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点',
- `warehousename` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点',
- `porderdate` datetime(0) NULL DEFAULT NULL COMMENT '采购日期',
- `status` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '单据状态',
- `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
- `deptid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部门',
- `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `step_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '当前审批节点',
- `remark` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
- CREATE TABLE `t_b_storage_in_detail` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `inid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '入库单id',
- `goods_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品id',
- `porderid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '采购单',
- `porderdetailid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '采购单明细',
- `quantity_order` double NULL DEFAULT NULL COMMENT '采购数量',
- `quantity_not_arrived` double NULL DEFAULT NULL COMMENT '未到货数量',
- `quantity_in` double NULL DEFAULT NULL COMMENT '本次到货数量',
- `measure_unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '计量单位',
- `base_unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '基本单位',
- `quantity_in_base` double NULL DEFAULT NULL COMMENT '到货基本单位数量',
- `conversion` int(11) NULL DEFAULT NULL COMMENT '换算率',
- `pnumber` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品编码',
- `pname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品名称',
- `spec_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '规格型号',
- `remark` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
- `supplier_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
- `supplier_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '供应商',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
- CREATE TABLE `t_b_storage_out` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `warehousename` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点名称',
- `outdate` datetime(0) NULL DEFAULT NULL COMMENT '出库日期',
- `warehouseid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点',
- `deptid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属项目',
- `user` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料人',
- `status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '提交状态',
- `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程id',
- `step_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审批当前阶段',
- `remark` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
- CREATE TABLE `t_b_storage_out_detail` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `goods_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品',
- `pname` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品名称',
- `spec_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '规格型号',
- `pnumber` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品编码',
- `measure_unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '计量单位',
- `quantity_out` double NULL DEFAULT NULL COMMENT '出库数量',
- `warehouseid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '仓库id',
- `base_unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '基本计量单位',
- `conversion` double NULL DEFAULT NULL COMMENT '换算率',
- `quantity_out_base` double NULL DEFAULT NULL COMMENT '基本单位数量',
- `outid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '出库单id',
- `remark` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
- `categorycode` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品分类编码',
- `categoryname` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品分类',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
- CREATE TABLE `t_b_onhand` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'id',
- `warehouse_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '仓库id',
- `goods_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品id',
- `measure_unit` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
- `quantity` double NULL DEFAULT NULL COMMENT '数量',
- `remark` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '制单人',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '制单人',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '制单日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '修改人',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '修改人',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '修改日期',
- `spec_type` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '规格型号',
- PRIMARY KEY (`id`) USING BTREE,
- INDEX `warehouse`(`warehouse_id`) USING BTREE,
- INDEX `wareandgoods`(`warehouse_id`, `goods_id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '现存量表' ROW_FORMAT = Compact;
-
- 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');
- 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');
- #绿色通道签报 start
- CREATE TABLE `t_bus_activiti_green` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `create_depart` varchar(32) DEFAULT NULL COMMENT '部门',
- `content` longtext COMMENT '签报内容',
- `proc_inst_id` varchar(64) DEFAULT NULL,
- `step_name` varchar(50) DEFAULT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- CREATE TABLE `t_bus_activiti_green_detail` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `green_id` varchar(32) DEFAULT NULL COMMENT '主表id',
- `depart` varchar(32) DEFAULT NULL COMMENT '处理部门',
- `descn` longtext COMMENT '任务说明',
- `end_time` datetime DEFAULT NULL COMMENT '截止时间',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- 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','管理员');
- 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);
- 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);
- 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');
- 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);
- 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');
- 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');
- INSERT INTO `t_s_busconfig` VALUES ('402881e56d3f7094016d3fa9bf9c000b',NULL,'online','','t_bus_activiti_green','402881e56d3effb1016d3f548a990005','绿色通道','formdeal','绿色通道','绿色通道','402881e56d3effb1016d3f5c44910013');
- INSERT INTO `t_process_busconfig` VALUES ('402881e56d3effb1016d3f5c44910013','绿色通道','绿色通道','绿色通道','t_bus_activiti_green','green');
- #绿色通道签报 end
- #工程物料、服装管理
- 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}');
- 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}');
- INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('402886ac6db328cf016db34748cf002c', 'applyreason', '申请原因', '2019-10-10 09:27:36', '管理员');
- INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8e5d74c001a', 'clothingtype', '服装款式', '2019-10-08 09:04:58', '管理员');
- INSERT INTO `t_s_typegroup`(`ID`, `typegroupcode`, `typegroupname`, `create_date`, `create_name`) VALUES ('8aa501826d701610016d70b4adb70044', 'usingstatus', '使用状态', '2019-09-27 11:12:32', '管理员');
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402886ac6db328cf016db3482d1b0032', '新人进入稳定期', '新人进入稳定期', NULL, '402886ac6db328cf016db34748cf002c', '2019-10-10 09:28:35', '管理员');
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402886ac6db328cf016db347e8cc0030', '到期', '到期', NULL, '402886ac6db328cf016db34748cf002c', '2019-10-10 09:28:17', '管理员');
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402886ac6db328cf016db347bb0d002e', '破损', '破损', NULL, '402886ac6db328cf016db34748cf002c', '2019-10-10 09:28:06', '管理员');
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402886ac6bd328cf016db347bb0d002e', '补领', '补领', NULL, '402886ac6db328cf016db34748cf002c', '2019-10-10 09:28:06', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8e6210d001c', 'pbm', '普保男', NULL, '402882c06da8a9ed016da8e5d74c001a', NULL, NULL);
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('402882c06da8a9ed016da8ea314a003b', 'dzgzf', '定制工作服', NULL, '402882c06da8a9ed016da8e5d74c001a', NULL, NULL);
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028860b6db85ba5016db86821ad0001', 'clothingapply', '服装申领', NULL, '402889fe47eddd340147ede15c070001', NULL, NULL);
- 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');
- CREATE TABLE `t_b_clothing` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装名',
- `code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装编码',
- `type` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '款式',
- `unit` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
- CREATE TABLE `t_b_clothing_apply` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `warehouseid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点',
- `warehousename` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点',
- `applydate` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请日期',
- `departid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '组织机构',
- `projectid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目',
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `proc_inst_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程id',
- `step_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审批阶段',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
- CREATE TABLE `t_b_clothing_apply_detail` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `applyid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请单id',
- `userid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '员工',
- `realname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '员工姓名',
- `clothingid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装',
- `clothingname` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装名称',
- `type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装类型',
- `quantity` int(11) NULL DEFAULT NULL COMMENT '数量',
- `unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
- `entrydate` datetime(0) NULL DEFAULT NULL COMMENT '入职日期',
- `lastdate` datetime(0) NULL DEFAULT NULL COMMENT '上次申领日期',
- `startdate` datetime(0) NULL DEFAULT NULL COMMENT '启用日期',
- `applyreason` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请原因',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
- CREATE TABLE `t_b_clothing_onhand` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `warehousename` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点名称',
- `warehouseid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领料点id',
- `clothingid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装id',
- `clothingname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装名称',
- `type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '款式',
- `unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
- `quantity` int(11) NULL DEFAULT NULL COMMENT '数量',
- `usingstatus` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '使用状态',
- `startdate` datetime(0) NULL DEFAULT NULL COMMENT '启用日期',
- `exchangedate` datetime(0) NULL DEFAULT NULL COMMENT '预计更换日期',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
- CREATE TABLE `t_b_clothing_user` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `clothingname` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装名称',
- `clothingid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装',
- `userid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户',
- `type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服装类型',
- `unit` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '计量单位',
- `quantity` int(11) NULL DEFAULT NULL COMMENT '数量',
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `startdate` datetime(0) NULL DEFAULT NULL COMMENT '启用日期',
- `warehouseid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `warehousename` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '1,使用中;0,已归还;9,已更换',
- `sourcetype` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '1,领用申请;2,发放录入;3,归还 4,初始化',
- `quantitystoped` int(10) NULL DEFAULT NULL COMMENT '停用数量数量',
- `quantitykeeping` int(10) NULL DEFAULT NULL COMMENT '使用中数量',
- `returndate` datetime(0) NULL DEFAULT NULL COMMENT '归还、更换日期',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
- 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);
- 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);
- 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);
- 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);
- 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);
- 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);
- 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', '管理员');
- 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', '管理员');
- 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);
- 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);
- ##薪资体系sql
- ##基本工资策略
- DROP TABLE IF EXISTS `t_bus_base_wagestrategy`;
- CREATE TABLE `t_bus_base_wagestrategy` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `zone` varchar(36) DEFAULT NULL COMMENT '区域',
- `money` double NOT NULL COMMENT '基本工资金额',
- `description` varchar(200) DEFAULT NULL COMMENT '备注',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- ##-- ----------------------------
- ##-- Records of t_bus_base_wagestrategy 2019年基本工资公司级
- ##-- ----------------------------
- INSERT INTO `t_bus_base_wagestrategy` VALUES ('402880056ddce685016ddce855a50001', '管理员', 'admin', '2019-10-18 11:27:57', null, null, null, 'A06A01', 'A06', '1', '', '2480', '公司2019年最低基本工资');
- ##岗位津贴
- ALTER TABLE `t_bus_post`
- ADD COLUMN `money` double(16, 2) DEFAULT 0.00 COMMENT '岗位津贴';
- ##1级职务津贴
- ALTER TABLE `t_bus_wagestrategy`
- ADD COLUMN `levelonesubsidy` double(16, 2) DEFAULT 0.00 COMMENT '1级职务津贴';
- ALTER TABLE `t_bus_wagestrategy`
- ADD COLUMN `leveltwosubsidy` double(16, 2) DEFAULT 0.00 COMMENT '2级职务津贴';
- ALTER TABLE `t_bus_wagestrategy`
- ADD COLUMN `levelthreesubsidy` double(16, 2) DEFAULT 0.00 COMMENT '3级职务津贴';
- ALTER TABLE `t_bus_wagestrategy`
- ADD COLUMN `zone` VARCHAR(36) NULL DEFAULT NULL COMMENT '区域';
- ALTER TABLE `t_bus_wagestrategy`
- ADD COLUMN `project` VARCHAR(36) NULL DEFAULT NULL COMMENT '项目';
- ALTER TABLE `t_bus_wagestrategy`
- ADD COLUMN `trafficsubsidy` double(16, 2) DEFAULT 0.00 COMMENT '交通补贴';
- #餐费补贴
- ALTER TABLE `t_bus_meals_subsidy`
- ADD COLUMN `project` VARCHAR(36) NULL DEFAULT NULL COMMENT '项目';
- ##公司级人才津贴
- DROP TABLE IF EXISTS `t_bus_talent_subsidy_strategy`;
- CREATE TABLE `t_bus_talent_subsidy_strategy` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `factor` varchar(32) NOT NULL COMMENT '人才素质要素',
- `money` double NOT NULL DEFAULT '0' COMMENT '默认金额',
- `description` varchar(200) DEFAULT NULL COMMENT '说明',
- `delete_flag` varchar(1) DEFAULT 0 COMMENT '逻辑删除标识',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- ##员工级人才津贴
- DROP TABLE IF EXISTS `t_bus_user_talent_subsidy`;
- CREATE TABLE `t_bus_user_talent_subsidy` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `talent_strategy_id` varchar(36) NOT NULL COMMENT '公司级人才津贴设置',
- `user_id` varchar(36) NOT NULL COMMENT '用户id',
- `money` double NOT NULL DEFAULT '-1' COMMENT '员工级津贴金额',
- `description` varchar(200) DEFAULT NULL COMMENT '说明',
- `delete_flag` varchar(1) DEFAULT 0 COMMENT '逻辑删除标识',
- PRIMARY KEY (`id`),
- KEY `user_idi` (`user_id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- ##缴金补贴策略
- DROP TABLE IF EXISTS `t_bus_jiaojin_subsidy_strategy`;
- CREATE TABLE `t_bus_jiaojin_subsidy_strategy` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `name` varchar(100) NOT NULL COMMENT '名称',
- `type` varchar(32) NOT NULL COMMENT '类型',
- `refer` varchar(36) DEFAULT NULL COMMENT '引用对象',
- `money` double DEFAULT NULL COMMENT '补贴金额',
- `description` varchar(200) DEFAULT NULL COMMENT '说明',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- INSERT INTO `t_bus_jiaojin_subsidy_strategy` VALUES ('jj11111111111111111111', null, null, null, null, null, null, null, null, '1', '缴多少补多少(默认)', '0', null, null, '大多数一线员工,缴多少补多少(默认)');
- INSERT INTO `t_bus_jiaojin_subsidy_strategy` VALUES ('jj22222222222222222222', null, null, null, null, null, null, null, null, '1', '无补贴', '1', null, null, '大多数管理处无缴金补贴');
- #入职 平调 离职修改 开始
- 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','管理员');
- 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}');
- #入职
- delete from `t_p_processnode` where processid='402881e56c035875016c039570050028';
- delete from `t_p_process` where id='402881e56c035875016c039570050028';
- 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);
- 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');
- #平调
- delete from `t_p_processnode` where processid='402881e56c4b2a04016c4c3aefc0000f';
- delete from `t_p_process` where id='402881e56c4b2a04016c4c3aefc0000f';
- 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);
- 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');
- #离职
- delete from `t_p_processnode` where processid='402881e56c606a67016c61f68d04000e';
- delete from `t_p_process` where id='402881e56c606a67016c61f68d04000e';
- 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);
- 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');
- #入职 平调 离职修改 结束
- #加班申请开始
- INSERT INTO `t_s_typegroup` VALUES ('402880ed6dc34e94016dc360655b0010','overtime_compensate','加班补偿方式','2019-10-13 12:28:58','管理员');
- 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','管理员');
- 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','管理员');
- ALTER TABLE `t_s_role` CHANGE COLUMN `rolecode` `rolecode` VARCHAR(255) NULL DEFAULT NULL COMMENT '角色编码' ;
- #增加自定义处理人 组织机构负责人
- 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);
- CREATE TABLE `t_bus_activiti_overtime` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '流程id',
- `step_name` varchar(32) DEFAULT NULL COMMENT '流程名',
- `reason` longtext COMMENT '加班原因',
- `total_hour` double DEFAULT NULL COMMENT '总时长',
- `total_money` double DEFAULT NULL COMMENT '总金额',
- `user_ids` varchar(2000) DEFAULT NULL COMMENT '保存加班用户id',
- `real_names` varchar(2000) DEFAULT NULL,
- `depart_id` varchar(45) DEFAULT NULL,
- `dep_name` varchar(255) DEFAULT NULL,
- `month` varchar(45) DEFAULT NULL COMMENT '加班年月',
- PRIMARY KEY (`id`),
- KEY `create_by` (`create_by`),
- KEY `dep` (`depart_id`,`month`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- CREATE TABLE `t_bus_activiti_overtime_detail` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `overtime_id` varchar(32) DEFAULT NULL COMMENT '加班主表id',
- `userid` varchar(32) DEFAULT NULL COMMENT '加班员工',
- `real_name` varchar(255) DEFAULT NULL,
- `start_time` datetime DEFAULT NULL COMMENT '加班开始时间',
- `end_time` datetime DEFAULT NULL COMMENT '加班结束时间',
- `hour` double DEFAULT NULL COMMENT '加班时长',
- `compensate` varchar(32) DEFAULT NULL COMMENT '补偿方式',
- `money` decimal(10,2) DEFAULT NULL COMMENT '加班费',
- `remark` varchar(255) DEFAULT NULL COMMENT '备注',
- PRIMARY KEY (`id`),
- KEY `overtimeid` (`overtime_id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- INSERT INTO `t_p_listener` VALUES ('402881e56ddd56a9016dddc9bfe30020','end','javaClass','cn.com.lzt.useractiviti.workflow.listener.OvertimeListener','加班申请结束',1,1,'overtime');
- 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);
- 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');
- 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');
- INSERT INTO `t_s_busconfig` VALUES ('402880ed6dc7df57016dc7e16cd20002',NULL,'online','','t_bus_activiti_overtime','402880ed6dc78a3b016dc7bce45e0002','人事加班申请','formdeal','人事加班申请','人事加班申请','402880ed6dc78a3b016dc7c045ba0008');
- INSERT INTO `t_process_busconfig` VALUES ('402880ed6dc78a3b016dc7c045ba0008','人事加班申请','人事加班申请','人事加班申请','t_bus_activiti_overtime','overtime');
- #加班申请结束
- #调休签报开始
- INSERT INTO `t_s_type` VALUES ('402880ed6dedda8b016dee10f5ab000e','exchange','调休签报',NULL,'402889fe47eddd340147ede15c070001','2019-10-21 19:25:52','管理员');
- 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);
- 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);
- 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}');
- CREATE TABLE `t_bus_activiti_exchange` (
- `id` varchar(36) NOT NULL COMMENT 'id',
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT NULL COMMENT '流程状态',
- `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '流程id',
- `step_name` varchar(32) DEFAULT NULL COMMENT '流程名',
- `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
- `real_name` varchar(255) DEFAULT NULL COMMENT '员工姓名',
- `depart_id` varchar(32) DEFAULT NULL COMMENT '部门id',
- `dep_name` varchar(255) DEFAULT NULL COMMENT '部门名',
- `start_time` datetime DEFAULT NULL COMMENT '调休开始时间',
- `end_time` datetime DEFAULT NULL COMMENT '调休结束时间',
- `exchange_time` double DEFAULT NULL COMMENT '调休时长',
- `remark` text COMMENT '备注',
- `exchange_user_count` int(11) DEFAULT NULL COMMENT '调休人数',
- `month` varchar(45) DEFAULT NULL COMMENT '调休年月',
- PRIMARY KEY (`id`),
- KEY `create_by` (`create_by`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- 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);
- 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');
- 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');
- INSERT INTO `t_s_busconfig` VALUES ('402880ed6dee350f016dee3663720001',NULL,'online','','t_bus_activiti_exchange','402880ed6dedda8b016dee1903f40015','调休签报','formdeal','调休签报','调休签报','402880ed6dee228e016dee30b4310007');
- INSERT INTO `t_process_busconfig` VALUES ('402880ed6dee228e016dee30b4310007','调休签报','调休签报','调休签报','t_bus_activiti_exchange','exchange');
- #调休签报结束
- #调休账户开始
- 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);
- CREATE TABLE `t_b_exchange_account` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `userid` varchar(32) DEFAULT NULL COMMENT '人员',
- `year` varchar(32) DEFAULT NULL COMMENT '年度',
- `hours` double DEFAULT NULL COMMENT '倒休小时',
- PRIMARY KEY (`id`),
- UNIQUE KEY `user` (`userid`,`year`),
- KEY `year` (`year`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- CREATE TABLE `t_b_exchange_account_log` (
- `id` varchar(36) NOT NULL COMMENT 'id',
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT NULL COMMENT '流程状态',
- `exchange_account_id` varchar(32) DEFAULT NULL COMMENT '账户id',
- `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
- `year` varchar(32) DEFAULT NULL COMMENT '年份',
- `change` double DEFAULT NULL COMMENT '变化',
- `balance` double DEFAULT NULL COMMENT '变化后余额',
- `remark` varchar(255) DEFAULT NULL,
- `source_type` varchar(255) DEFAULT NULL COMMENT '来源类型',
- `source_id` varchar(45) DEFAULT NULL COMMENT '来源id',
- PRIMARY KEY (`id`),
- KEY `accountid` (`exchange_account_id`),
- KEY `user` (`userid`,`year`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- #调休账户结束
- #休假申请调整菜单
- 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);
- #加班预算开始
- 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);
- INSERT INTO `t_s_typegroup` VALUES ('402880ed6e928cb1016e929455c70002','overtime_budget_type','加班预算类型','2019-11-22 18:07:05','管理员');
- 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','管理员');
- drop table if exists t_b_overtime_budget;
- CREATE TABLE `t_b_overtime_budget` (
- `id` varchar(36) NOT NULL COMMENT 'id',
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT NULL COMMENT '流程状态',
- `depart_id` varchar(32) NOT NULL COMMENT '项目id',
- `dep_name` varchar(255) DEFAULT NULL,
- `budget` double NULL COMMENT '预算',
- `years` int(11) NOT NULL COMMENT '年度',
- `left_budget` double DEFAULT NULL COMMENT '剩余',
- `month1` decimal(10,2) DEFAULT NULL COMMENT '月份',
- `month2` decimal(10,2) DEFAULT NULL,
- `month3` decimal(10,2) DEFAULT NULL,
- `month4` decimal(10,2) DEFAULT NULL,
- `month5` decimal(10,2) DEFAULT NULL,
- `month6` decimal(10,2) DEFAULT NULL,
- `month7` decimal(10,2) DEFAULT NULL,
- `month8` decimal(10,2) DEFAULT NULL,
- `month9` decimal(10,2) DEFAULT NULL,
- `month10` decimal(10,2) DEFAULT NULL,
- `month11` decimal(10,2) DEFAULT NULL,
- `month12` decimal(10,2) DEFAULT NULL,
- `budget_type` varchar(45) DEFAULT NULL,
- PRIMARY KEY (`id`),
- UNIQUE KEY `dep_post` (`depart_id`,`years`,`budget_type`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- #加班预算结束
- #薪资调整开始
- 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','管理员');
- 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','管理员');
- 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');
- CREATE TABLE `t_bus_activiti_wage_change` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '流程id',
- `step_name` varchar(32) DEFAULT NULL COMMENT '流程名',
- `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
- `real_name` varchar(255) DEFAULT NULL COMMENT '员工姓名',
- `depart_id` varchar(32) DEFAULT NULL COMMENT '项目id',
- `dep_name` varchar(255) DEFAULT NULL COMMENT '项目名',
- `remark` longtext COMMENT '薪资调整说明',
- PRIMARY KEY (`id`),
- KEY `create_by` (`create_by`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- update t_p_flowcondition set process_type=null where id='402881e56c4d997d016c4ff9036f001a';
- update t_p_flowcondition set process_type=null where id='402881e56c4d997d016c4ff940ae001c';
- 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);
- 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');
- 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');
- INSERT INTO `t_s_busconfig` VALUES ('402880ed6df1ef0e016df242e423001a',NULL,'online','','t_bus_activiti_wage_change','402880ed6df1ef0e016df1fe8898000b','薪资调整','formdeal','薪资调整','薪资调整','402880ed6df1ef0e016df23f9d0c0013');
- INSERT INTO `t_process_busconfig` VALUES ('402880ed6df1ef0e016df23f9d0c0013','薪资调整','薪资调整','薪资调整','t_bus_activiti_wage_change','wage_change');
- #薪资调整结束
- #费用申请签报开始
- INSERT INTO `t_s_typegroup` VALUES ('402880ed6df1ef0e016df2f5d35a0040','finance_subject','财务科目','2019-10-22 18:14:20','管理员'),('402880ed6df1ef0e016df2f5f7e70042','give_way','发放形式','2019-10-22 18:14:29','管理员');
- #审批流类型
- INSERT INTO `t_s_type` VALUES ('402880ed6df1bae9016df1c8dd510003','cost_request','费用申请',NULL,'402889fe47eddd340147ede15c070001','2019-10-22 12:45:36','管理员');
- #财务科目
- 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','管理员');
- #发放形式
- 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','管理员');
- #费用申请签报菜单
- 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','管理员');
- #财务管理一级菜单及费用类型管理
- 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);
- CREATE TABLE `t_b_cost_type` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `code` varchar(255) DEFAULT NULL COMMENT '编号',
- `name` varchar(255) DEFAULT NULL COMMENT '名称',
- `finance_subject` varchar(32) DEFAULT NULL COMMENT '财务科目',
- `paytype` varchar(32) DEFAULT NULL COMMENT '发放形式',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- CREATE TABLE `t_b_activiti_cost_request` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '审批流id',
- `step_name` varchar(32) DEFAULT NULL COMMENT '审批流步骤',
- `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
- `real_name` varchar(255) DEFAULT NULL COMMENT '员工名',
- `depart_id` varchar(32) DEFAULT NULL COMMENT '组织结构id',
- `dep_name` varchar(255) DEFAULT NULL COMMENT '组织机构名称',
- `code` varchar(255) DEFAULT NULL COMMENT '编码',
- `cost_type` varchar(32) DEFAULT NULL COMMENT '费用类型',
- `expect_money` decimal(10,2) DEFAULT NULL COMMENT '预计费用',
- `summary` varchar(255) DEFAULT NULL COMMENT '用途摘要',
- `remark` longtext COMMENT '备注',
- `status` int(11) DEFAULT '0' COMMENT '状态',
- `pay_type` varchar(45) DEFAULT NULL COMMENT ' 报销类型',
- `pay_id` varchar(45) DEFAULT NULL COMMENT '报销id',
- `pay_time` timestamp NULL DEFAULT NULL COMMENT '报销时间',
- `pay_process_end_time` timestamp NULL DEFAULT NULL COMMENT '报销审核通过时间',
- `actual_money` decimal(10,2) DEFAULT '0.00' COMMENT '实际产生金额',
- PRIMARY KEY (`id`),
- KEY `create_name` (`create_name`),
- KEY `create_date` (`create_date`),
- KEY `user` (`userid`,`depart_id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- 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 }');
- 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);
- 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');
- 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');
- INSERT INTO `t_s_busconfig` VALUES ('402880ed6df68e8c016df6a80bde0017',NULL,'online','','t_b_activiti_cost_request','402880ed6df68e8c016df6a20bf2000b','费用申请','formdeal','费用申请','费用申请','402880ed6df68e8c016df6a5a50c0010');
- INSERT INTO `t_process_busconfig` VALUES ('402880ed6df68e8c016df6a5a50c0010','费用申请','费用申请','费用申请','t_b_activiti_cost_request','cost_request');
- #费用申请签报结束
- #临时对公付款开始
- INSERT INTO `t_s_typegroup` VALUES ('402880ed6df8aac4016df8c2f0bc000e','cost_pay_priority','报销紧急程度','2019-10-23 21:16:28','管理员');
- #签报类型
- INSERT INTO `t_s_type` VALUES ('402880ed6df1bae9016df1c9a36a0005','cost_tmp_com_pay','临时付款(公对公)',NULL,'402889fe47eddd340147ede15c070001','2019-10-22 12:46:27','管理员');
- #紧急程度
- 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','管理员');
- #菜单
- 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','管理员');
- CREATE TABLE `t_b_activiti_cost_pay_tmp_company` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '流程id',
- `step_name` varchar(32) DEFAULT NULL COMMENT '流程名',
- `request_id` varchar(32) DEFAULT NULL COMMENT '申请单',
- `pay_money` decimal(10,2) DEFAULT NULL COMMENT '付款金额',
- `priority` varchar(32) DEFAULT NULL COMMENT '紧急程度',
- `bank_name` varchar(255) DEFAULT NULL COMMENT '对方开户行',
- `bank_user` varchar(255) DEFAULT NULL COMMENT '对方开户名称',
- `bank_num` varchar(255) DEFAULT NULL COMMENT '对方银行账号',
- `contact_user` varchar(255) DEFAULT NULL COMMENT '联系人',
- `contact_way` varchar(255) DEFAULT NULL COMMENT '联系方式',
- `userid` varchar(45) DEFAULT NULL,
- `real_name` varchar(255) DEFAULT NULL,
- `depart_id` varchar(45) DEFAULT NULL,
- `dep_name` varchar(255) DEFAULT NULL,
- `paystatus` varchar(10) DEFAULT '0' COMMENT '0 未支付 1已支付',
- `paydate` timestamp NULL DEFAULT NULL,
- `payOperator` varchar(45) DEFAULT NULL COMMENT '支付操作人员',
- PRIMARY KEY (`id`),
- KEY `requestid` (`request_id`),
- KEY `user` (`create_by`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- 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)}');
- 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);
- 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');
- 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');
- INSERT INTO `t_s_busconfig` VALUES ('402880ed6df81c44016df88a3aec001b',NULL,'online','','t_b_activiti_cost_pay_tmp_company','402880ed6df81c44016df88424f50012','临时付款(公对公)','formdeal','临时付款(公对公)','临时付款(公对公)','402880ed6df81c44016df885fdbf0015');
- INSERT INTO `t_process_busconfig` VALUES ('402880ed6df81c44016df885fdbf0015','临时付款(公对公)','临时付款(公对公)','临时付款(公对公)','t_b_activiti_cost_pay_tmp_company','cost_tmp_com_pay');
- #临时对公付款结束
- #费用报销签报
- INSERT INTO `t_s_type` VALUES ('402880ed6df1bae9016df1ca79c70007','cost_pay','费用报销',NULL,'402889fe47eddd340147ede15c070001','2019-10-22 12:47:22','管理员');
- 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','管理员');
- CREATE TABLE `t_b_activiti_cost_pay_inner_user` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '流程id',
- `step_name` varchar(32) DEFAULT NULL COMMENT '流程名',
- `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
- `real_name` varchar(255) DEFAULT NULL COMMENT '员工姓名',
- `code` varchar(255) DEFAULT NULL COMMENT '编码',
- `depart_id` varchar(32) DEFAULT NULL COMMENT '组织机构id',
- `dep_name` varchar(255) DEFAULT NULL COMMENT '组织结构',
- `total_expect_money` decimal(10,2) DEFAULT NULL COMMENT '总预计金额',
- `total_pay_money` decimal(10,2) DEFAULT NULL COMMENT '总金额',
- `total_bill_count` int(11) DEFAULT NULL COMMENT '总发票张数',
- `paystatus` varchar(10) DEFAULT '0' COMMENT '0 未支付 1已支付',
- `paydate` timestamp NULL DEFAULT NULL COMMENT '支付时间',
- `payOperator` varchar(45) DEFAULT NULL COMMENT '支付操作人员',
- PRIMARY KEY (`id`),
- KEY `create_by` (`create_by`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- CREATE TABLE `t_b_activiti_cost_pay_inner_user_detail` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `request_id` varchar(32) DEFAULT NULL COMMENT '费用申请id',
- `request_summary` varchar(255) DEFAULT NULL COMMENT '费用申请摘要',
- `expect_money` decimal(10,2) DEFAULT NULL COMMENT '预计金额',
- `pay_money` decimal(10,2) DEFAULT NULL COMMENT '实际金额',
- `finance_subject` varchar(32) DEFAULT NULL COMMENT '费用类型科目',
- `bill_count` int(11) DEFAULT NULL COMMENT '发票张数',
- `pay_time` datetime DEFAULT NULL COMMENT '支付时间',
- `cost_pay_inner_user_id` varchar(32) DEFAULT NULL COMMENT '外键id',
- PRIMARY KEY (`id`),
- KEY `requestid` (`request_id`),
- KEY `inner_user_id` (`cost_pay_inner_user_id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- 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);
- 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');
- 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');
- INSERT INTO `t_s_busconfig` VALUES ('402880ed6dfbaf9f016dfbbe503c0011',NULL,'online','','t_b_activiti_cost_pay_inner_user','402880ed6dfbaf9f016dfbb38fdc0008','费用报销','formdeal','费用报销','费用报销','402880ed6dfbaf9f016dfbbcdf76000b');
- INSERT INTO `t_process_busconfig` VALUES ('402880ed6dfbaf9f016dfbbcdf76000b','费用报销','费用报销','费用报销','t_b_activiti_cost_pay_inner_user','cost_pay');
- #费用报销签报
- #备用金签报及管理开始
- INSERT INTO `t_s_type` VALUES ('402880ed6df1bae9016df1cb7b100009','cost_imprest','备用金',NULL,'402889fe47eddd340147ede15c070001','2019-10-22 12:48:27','管理员');
- 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','管理员');
- CREATE TABLE `t_b_activiti_cost_petty_cash` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '流程id',
- `step_name` varchar(32) DEFAULT NULL COMMENT '流程名',
- `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
- `real_name` varchar(255) DEFAULT NULL COMMENT '员工姓名',
- `depart_id` varchar(32) DEFAULT NULL COMMENT '组织结构id',
- `dep_name` varchar(255) DEFAULT NULL COMMENT '组织机构',
- `pay_money` double DEFAULT NULL COMMENT '申请金额',
- `bank_name` varchar(255) DEFAULT NULL COMMENT '申请人开户行',
- `bank_user` varchar(255) DEFAULT NULL COMMENT '申请人银行账户',
- `bank_num` varchar(255) DEFAULT NULL COMMENT '银行账号',
- `remark` longtext COMMENT '说明',
- `pay_time` datetime DEFAULT NULL COMMENT '支付时间',
- PRIMARY KEY (`id`),
- KEY `create_by` (`create_by`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- CREATE TABLE `t_b_cost_petty_cash_account` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
- `real_name` varchar(255) DEFAULT NULL,
- `depart_id` varchar(32) DEFAULT NULL COMMENT '部门id',
- `dep_name` varchar(255) DEFAULT NULL,
- `money` decimal(10,2) DEFAULT NULL COMMENT '余额',
- PRIMARY KEY (`id`),
- UNIQUE KEY `user` (`userid`,`depart_id`),
- KEY `dep` (`depart_id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- CREATE TABLE `t_b_cost_petty_cash_account_log` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `account_id` varchar(32) DEFAULT NULL COMMENT '账户id',
- `change` decimal(10,2) DEFAULT NULL COMMENT '变化',
- `balance` decimal(10,2) DEFAULT NULL COMMENT '余额',
- `remark` varchar(255) DEFAULT NULL COMMENT '备注',
- `source_type` varchar(255) DEFAULT NULL COMMENT '来源类型',
- `source_id` varchar(32) DEFAULT NULL COMMENT '来源id',
- `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
- `depart_id` varchar(32) DEFAULT NULL COMMENT '部门id',
- PRIMARY KEY (`id`),
- KEY `account_id` (`account_id`),
- KEY `dep_id` (`depart_id`),
- KEY `userid` (`userid`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- 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);
- 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');
- 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');
- INSERT INTO `t_s_busconfig` VALUES ('402880ed6dfdd4e4016dfddd9bf7000e',NULL,'online','','t_b_activiti_cost_petty_cash','402880ed6dfdd4e4016dfddac1d40005','备用金签报','formdeal','备用金签报','备用金签报','402880ed6dfdd4e4016dfddb838a0008');
- INSERT INTO `t_process_busconfig` VALUES ('402880ed6dfdd4e4016dfddb838a0008','备用金签报','备用金签报','备用金签报','t_b_activiti_cost_petty_cash','cost_imprest');
- #备用金签报及管理结束
- ##司龄津贴
- DROP TABLE IF EXISTS `t_bus_comage_subsidy`;
- CREATE TABLE `t_bus_comage_subsidy` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `min_years` int(11) NOT NULL DEFAULT '3' COMMENT '最低工作年限',
- `increase` double NOT NULL DEFAULT '10' COMMENT '每年增幅',
- `max` double NOT NULL DEFAULT '500' COMMENT '最高补贴',
- `min` double NOT NULL DEFAULT '10' COMMENT '最低补贴',
- `description` varchar(200) DEFAULT NULL COMMENT '说明',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- ##司龄津贴预置数据
- INSERT INTO `t_bus_comage_subsidy` VALUES ('1', null, null, null, null, null, null, null, null, '1', '3', '10', '500', '10', '默认');
- ##其它工作补贴
- DROP TABLE IF EXISTS `t_bus_otherwork_subsidy`;
- CREATE TABLE `t_bus_otherwork_subsidy` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `type` varchar(36) NOT NULL COMMENT '类型',
- `name` varchar(200) NOT NULL COMMENT '补贴项',
- `money` double NOT NULL DEFAULT '0' COMMENT '补贴金额',
- `status` varchar(8) NOT NULL DEFAULT '0' COMMENT '状态',
- `delete_flag` varchar(8) NOT NULL DEFAULT '0' COMMENT '删除标志',
- `description` varchar(200) DEFAULT NULL COMMENT '说明',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- ##员工其它工作
- DROP TABLE IF EXISTS `t_bus_user_otherwork`;
- CREATE TABLE `t_bus_user_otherwork` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `otherwork_subsidy` varchar(36) NOT NULL COMMENT '其它工作补贴',
- `userid` varchar(32) NOT NULL COMMENT '用户',
- `effect_sdate` datetime DEFAULT NULL COMMENT '起始日期',
- `effect_edate` datetime DEFAULT NULL COMMENT '截止日期',
- `delete_flag` varchar(2) NOT NULL DEFAULT '0' COMMENT '删除标志',
- `description` varchar(200) DEFAULT NULL COMMENT '说明',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- ##其它工作类型
- INSERT INTO `t_s_typegroup` VALUES ('otherworkaac4016df8c2f0bc000e','otherworktype','其它工作类型','2019-10-23 21:16:28','管理员');
- #其它工作类型
- INSERT INTO `t_s_type` VALUES ('userotherwork016df1c9a36a0005','0','公司兼职工作',NULL,'otherworkaac4016df8c2f0bc000e','2019-10-22 12:46:27','管理员');
- INSERT INTO `t_s_type` VALUES ('userotherwork016df1c9a36a0006','1','其它项目兼职工作',NULL,'otherworkaac4016df8c2f0bc000e','2019-10-22 12:46:27','管理员');
- INSERT INTO `t_s_type` VALUES ('userotherwork016df1c9a36a0007','2','项目内额外工作',NULL,'otherworkaac4016df8c2f0bc000e','2019-10-22 12:46:27','管理员');
- INSERT INTO `t_s_type` VALUES ('userotherwork016df1c9a36a0008','3','其它额外工作',NULL,'otherworkaac4016df8c2f0bc000e','2019-10-22 12:46:27','管理员');
- ## 组织结构增加财务核算编码
- alter table t_s_depart add COLUMN fincode VARCHAR(50);
- #费用年度发生额开始
- 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);
- CREATE TABLE `t_b_cost_year_actual_statis` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `year` varchar(32) DEFAULT NULL COMMENT '年度',
- `depart_id` varchar(32) DEFAULT NULL COMMENT '组织结构id',
- `dep_name` varchar(255) DEFAULT NULL COMMENT '组织结构',
- `userid` varchar(32) DEFAULT NULL COMMENT '员工id',
- `real_name` varchar(255) DEFAULT NULL COMMENT '员工姓名',
- `total_expect_money` decimal(10,2) DEFAULT NULL COMMENT '总申请额度',
- `total_actual_money` decimal(10,2) DEFAULT NULL COMMENT '总发生额',
- `cost_type_id` varchar(32) DEFAULT NULL COMMENT '类型id',
- PRIMARY KEY (`id`),
- UNIQUE KEY `year_unique` (`year`,`depart_id`,`userid`,`cost_type_id`),
- KEY `realname` (`real_name`),
- KEY `depid` (`depart_id`),
- KEY `costtype` (`cost_type_id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- #费用年度发生额结束
- #报销支付菜单
- 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);
- #报销统计菜单
- 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);
- #临时对公支付,临时对公统计菜单
- 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','管理员');
- #备用金账户菜单
- 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','管理员');
- #项目库添加兼管负责人、现场负责人和现场负责人权值
- ALTER TABLE `t_b_project`
- ADD COLUMN `jianguan_leader` VARCHAR(36) NULL DEFAULT NULL COMMENT '兼管负责人';
- ALTER TABLE `t_b_project`
- ADD COLUMN `xianchang_leader` VARCHAR(36) NULL DEFAULT NULL COMMENT '现场负责人';
- ALTER TABLE `t_b_project`
- ADD COLUMN `jianguan_weight` double NOT NULL DEFAULT '50' COMMENT '兼管负责人权值';
- #项目评定表
- DROP TABLE IF EXISTS `t_bus_project_rating`;
- CREATE TABLE `t_bus_project_rating` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `years` varchar(8) NOT NULL COMMENT '年度',
- `projectId` varchar(36) NOT NULL COMMENT '项目Id,非departId',
- `mark` int(11) NOT NULL COMMENT '分数',
- `bonus` double NOT NULL DEFAULT '0' COMMENT '奖金',
- `description` varchar(100) NOT NULL COMMENT '备注',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- ##增加两班倒
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028e6666f7be7d7015f7bfae132000c', '2bandao', '两班倒(无加班费)', NULL, '4028e4f55f3262cf015f32a21346001a', NULL, NULL);
- INSERT INTO `t_s_type`(`ID`, `typecode`, `typename`, `typepid`, `typegroupid`, `create_date`, `create_name`) VALUES ('4028edfghf7be7d7015f7bfae132000c', '2bandao_jijiabanfei', '两班倒(计加班费)', NULL, '4028e4f55f3262cf015f32a21346001a', NULL, NULL);
- ##增加职务等级在personnel表
- ALTER TABLE `t_bus_user_personnel`
- ADD COLUMN `dutieslevel` VARCHAR(6) NULL DEFAULT '1' COMMENT '职务等级';
- ##增加新体系工资核算表
- DROP TABLE IF EXISTS `t_bus_user_wage_new`;
- CREATE TABLE `t_bus_user_wage_new` (
- `id` varchar(36) COLLATE utf8_bin NOT NULL COMMENT '主键',
- `userid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '员工id',
- `belong_unitid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '所属单位id',
- `dutiesid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '职务id',
- `monthly` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '工资月度',
- `basic_wage` decimal(16,2) DEFAULT '0.00' COMMENT '基本工资',
- `post_allowance` decimal(16,2) DEFAULT '0.00' COMMENT '岗位津贴',
- `duties_allowance` decimal(16,2) DEFAULT '0.00' COMMENT '职务津贴',
- `dutieslevel_allowance` decimal(16,2) DEFAULT '0.00' COMMENT '等级津贴',
- `talent_allowance` decimal(16,2) DEFAULT '0.00' COMMENT '人才津贴',
- `comyear_allowance` decimal(16,2) DEFAULT '0.00' COMMENT '司龄津贴',
- `certificate_subsidy` decimal(16,2) DEFAULT '0.00' COMMENT '证书补贴',
- `traffic_subsidy` decimal(16,2) DEFAULT '0.00' COMMENT '交通补贴',
- `megathermal_subsidy` decimal(16,2) DEFAULT '0.00' COMMENT '高温补贴',
- `only_child_cost` decimal(16,2) DEFAULT '0.00' COMMENT '独生子女费',
- `other_work_subsidy` decimal(16,2) DEFAULT '0.00' COMMENT '其他工作补贴',
- `xianchang_bonus` decimal(16,2) DEFAULT '0.00' COMMENT '主管项目绩效',
- `jianguan_bonus` decimal(16,2) DEFAULT '0.00' COMMENT '兼管项目绩效',
- `project_performance` decimal(16,2) DEFAULT '0.00' COMMENT '月度奖金',
- `bonus` decimal(16,2) DEFAULT '0.00' COMMENT '奖金',
- `fakuan` decimal(16,2) DEFAULT '0.00' COMMENT '罚款',
- `meals_subsidy_day` decimal(16,2) DEFAULT '0.00' COMMENT '餐补白班津贴',
- `meals_subsidy_night` decimal(16,2) DEFAULT '0.00' COMMENT '餐补夜班津贴',
- `meals_subsidy` decimal(16,2) DEFAULT '0.00' COMMENT '餐费补助',
- `overtimepay_timeout` decimal(16,2) DEFAULT '0.00' COMMENT '加班超时费',
- `overtimepay_fixed` decimal(16,2) DEFAULT '0.00' COMMENT '国定加班费',
- `duty` decimal(16,2) DEFAULT '0.00' COMMENT '值班费',
- `special_overtime` decimal(16,2) DEFAULT '0.00' COMMENT '特殊加班费',
- `sick_leave_debit` decimal(16,2) DEFAULT '0.00' COMMENT '病假扣',
- `thing_leave_debit` decimal(16,2) DEFAULT '0.00' COMMENT '事假扣',
- `daikou_debit` decimal(16,2) DEFAULT '0.00' COMMENT '代扣款',
- `absence_debit` decimal(16,2) DEFAULT '0.00' COMMENT '缺勤扣',
- `payment_subsidy` decimal(16,2) DEFAULT '0.00' COMMENT '缴金补贴',
- `social_security_debit` decimal(16,2) DEFAULT '0.00' COMMENT '个人社保扣除',
- `provident_fund_debit` decimal(16,2) DEFAULT '0.00' COMMENT '个人公积金扣除',
- `pre_tax_mone` decimal(16,2) DEFAULT '0.00' COMMENT '税前合计金额',
- `other_debit` decimal(16,2) DEFAULT '0.00' COMMENT '其他扣除',
- `tax_money` decimal(16,2) DEFAULT '0.00' COMMENT '扣税金额',
- `actual_money` decimal(16,2) DEFAULT '0.00' COMMENT '实发金额',
- `status` varchar(30) COLLATE utf8_bin DEFAULT NULL COMMENT '状态',
- `remark` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '备注说明',
- `reissue` decimal(16,2) DEFAULT '0.00' COMMENT '补发调整',
- `com_provident_fund_debit` decimal(16,2) DEFAULT '0.00' COMMENT '公司公积金扣除',
- `com_social_security_debit` decimal(16,2) DEFAULT NULL,
- `pjt_id` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '项目id',
- `create_date` datetime DEFAULT NULL COMMENT '创建时间',
- `update_date` datetime DEFAULT NULL COMMENT '修改时间',
- `comcost` decimal(16,2) DEFAULT NULL,
- `socialSecurityId` varchar(36) COLLATE utf8_bin DEFAULT NULL,
- `socialSecurityUnit` varchar(36) COLLATE utf8_bin DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `userid` (`userid`) USING BTREE,
- KEY `pid` (`pjt_id`) USING BTREE
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='新体系工资核算表';
- #执行流 增加工作服发放、回收
- 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');
- 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', '管理员');
- 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);
- 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);
- 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);
- 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', '管理员');
- 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);
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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);
- 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);
- 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', '管理员');
- 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', '管理员');
- 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);
- 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);
- #项目处二级部门补填projectid
- 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
- 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;
- #新增glcid管理处id
- ALTER TABLE `t_s_depart`
- ADD COLUMN `glcid` VARCHAR(36) NULL DEFAULT NULL COMMENT '管理处id';
- update t_s_depart dp set dp.glcid = dp.parentdepartid where LENGTH(dp.org_code) = 9;
- update t_s_depart dp set dp.glcid = dp.id where LENGTH(dp.org_code) = 6;
- #调休账户日志增加结算月份
- ALTER TABLE `t_b_exchange_account_log`
- ADD COLUMN `year_month` VARCHAR(45) NULL COMMENT '结算月份' AFTER `source_id`;
- #休假签报备份
- 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');
- 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');
- 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');
- INSERT INTO `t_s_busconfig` VALUES ('ff808081600b019701600c22c6a2002c',NULL,'online','','t_bus_holiday','ff808081600b019701600bc9ad730003','休假申请(${holiday_typename})','formdeal','休假申请流程','休假申请表','4028e4885f8efdf6015f8f0f70240015');
- INSERT INTO `t_process_busconfig` VALUES ('4028e4885f8efdf6015f8f0f70240015','休假申请流程','休假申请(${holiday_typename})','休假申请表','t_bus_holiday','holiday');
- #休假签报调整
- 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}');
- delete from `t_p_processnode` where processid='ff808081600b019701600bc9ad730003';
- delete from `t_p_process` where id='ff808081600b019701600bc9ad730003';
- 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');
- 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');
- #新增报表:工作统计(按类型)、工作统计(按部门)
- 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);
- 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', '管理员');
- #增加菜单:待配工资策略清单
- 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);
- #调休签报详情
- CREATE TABLE `t_bus_activiti_exchange_detail` (
- `id` varchar(36) NOT NULL COMMENT 'id',
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT NULL COMMENT '流程状态',
- `proc_inst_id` varchar(32) DEFAULT NULL COMMENT '流程id',
- `step_name` varchar(32) DEFAULT NULL COMMENT '流程名',
- `userid` varchar(32) DEFAULT NULL COMMENT '用户id',
- `real_name` varchar(255) DEFAULT NULL COMMENT '员工姓名',
- `depart_id` varchar(32) DEFAULT NULL COMMENT '部门id',
- `dep_name` varchar(255) DEFAULT NULL COMMENT '部门名',
- `start_time` datetime DEFAULT NULL COMMENT '调休开始时间',
- `end_time` datetime DEFAULT NULL COMMENT '调休结束时间',
- `exchange_time` double DEFAULT NULL COMMENT '调休时长',
- `remark` text COMMENT '备注',
- `exchange_id` varchar(36) DEFAULT NULL COMMENT '调休签报id',
- PRIMARY KEY (`id`),
- KEY `create_by` (`create_by`),
- KEY `exchage_id` (`exchange_id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- #功能权限-财务签报 菜单地址录入
- delete from t_s_function where parentfunctionid='ff8080816e687d71016e68822fbe0002';
- 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);
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- delete from t_s_function where id='ff8080816e687d71016e68919e030012';
- 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', '管理员');
- 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', '管理员');
- #立项签报
- CREATE TABLE `t_b_activiti_project` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `code` varchar(32) DEFAULT NULL COMMENT '项目编码',
- `name` varchar(255) DEFAULT NULL COMMENT '项目名称',
- `project_type` varchar(32) DEFAULT NULL COMMENT '项目类型',
- `addr` varchar(255) DEFAULT NULL COMMENT '详细地址',
- `zone` varchar(32) DEFAULT NULL COMMENT '所属区域',
- `leadername` varchar(255) DEFAULT NULL COMMENT '项目经理',
- `receive_time` datetime DEFAULT NULL COMMENT '拟接管日期',
- `customername` varchar(255) DEFAULT NULL COMMENT '甲方名称',
- `floor_space` varchar(255) DEFAULT NULL,
- `services` varchar(255) DEFAULT NULL COMMENT '服务内容',
- `proc_inst_id` varchar(64) DEFAULT NULL,
- `step_name` varchar(64) DEFAULT NULL,
- `bpm_status` varchar(64) DEFAULT NULL,
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='立项签报';
- 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','管理员');
- 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','管理员');
- 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','管理员');
- 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);
- 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');
- 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');
- INSERT INTO `t_s_busconfig` VALUES ('402881e56eaa69e7016eaa745533000a',NULL,'online','','t_b_activiti_project','402881e56eaa69e7016eaa6d183d0001','立项签报','formdeal','立项签报','立项签报','402881e56eaa69e7016eaa7407ed0008');
- INSERT INTO `t_process_busconfig` VALUES ('402881e56eaa69e7016eaa7407ed0008','立项签报','立项签报','立项签报','t_b_activiti_project','project');
- #审批统计
- 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','管理员');
- #审批流打印
- ALTER TABLE `t_process_busconfig`
- ADD COLUMN `activiti_config_class` VARCHAR(255) NULL COMMENT '流程处理类' AFTER `process_type`;
- update t_process_busconfig set activiti_config_class='cn.com.lzt.useractiviti.data.util.tools.CostRequestActivitiTools' where id='402880ed6df68e8c016df6a5a50c0010';
- update t_process_busconfig set activiti_config_class='cn.com.lzt.useractiviti.data.util.tools.CostPayTmpCompanyActivitiTools' where id='402880ed6df81c44016df885fdbf0015';
- update t_process_busconfig set activiti_config_class='cn.com.lzt.useractiviti.data.util.tools.CostPayInnerUserActivitiTools' where id='402880ed6dfbaf9f016dfbbcdf76000b';
- update t_process_busconfig set activiti_config_class='cn.com.lzt.useractiviti.data.util.tools.GreenActivitiTools' where id='402881e56d3effb1016d3f5c44910013';
- #加班预算执行表
- 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);
- #调休签报、加班申请 增加餐费补助
- ALTER TABLE `t_bus_activiti_overtime_detail`
- ADD COLUMN `meals_subsidy` DECIMAL(10,2) NULL COMMENT '餐费补助' AFTER `remark`;
- ALTER TABLE `t_bus_activiti_exchange_detail`
- ADD COLUMN `meals_subsidy` DECIMAL(10,2) NULL COMMENT '餐费补助' AFTER `exchange_id`;
- ALTER TABLE `t_bus_activiti_overtime`
- ADD COLUMN `total_meals_subsidy` DECIMAL(10,2) NULL COMMENT '餐费补助总计' AFTER `month`;
- ALTER TABLE `t_bus_activiti_exchange`
- ADD COLUMN `total_meals_subsidy` DECIMAL(10,2) NULL COMMENT '餐费补助总计' AFTER `month`;
- #加班预算执行表
- 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);
- #签报权限菜单
- 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);
- 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);
- 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', '管理员');
- CREATE TABLE t_b_personalImage (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'id',
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '所属公司',
- `accessory_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '附件名称',
- `userid` varchar(36) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '附件关联的用户Id',
- `isfixed` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '是否为固定项目',
- `gatet_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '附件类型',
- `delete_flag` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '逻辑删除标记',
- `createtime` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '创建时间',
- `accUrl` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'oss访问url',
- `osskey` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'oss主键',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '用户附件表' ROW_FORMAT = Compact;
- alter table t_bus_user_attendance_total
- add COLUMN `exchangetime` decimal(8, 0) NULL DEFAULT NULL;
- alter table t_bus_user_attendance_total_h
- add COLUMN `exchangetime` decimal(8, 0) NULL DEFAULT NULL;
- #签报中制单人重填不可修改
- delete from t_p_processnode_config where id='402881e56c62229f016c623ee50e0009';
- 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');
- delete from t_p_processnode where id='402881e56c64f299016c674b6d410027';
- delete from t_p_processnode where id='402881e56da9f48e016daa9591ba0020';
- 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');
- 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');
- delete from t_p_processnode_config where id='402881e56c5622c8016c562dbb2d0003';
- delete from t_p_processnode where id='402881e56c5622c8016c562bfe320001';
- 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');
- 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');
- delete from t_p_processnode where id='402880ed6b27484e016b276b59ba0009';
- 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');
- delete from t_p_processnode where id='402887be6a1fe801016a1ff08a220003';
- 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');
- delete from t_p_processnode where id='402887006a47a785016a47aeddca000b';
- 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');
- delete from t_p_processnode where id='ff80808166106df50166139dcb4409f6';
- 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');
- #新工资体系员工工资策略
- CREATE TABLE `t_bus_user_newwagestrategy` (
- `id` varchar(36) COLLATE utf8_bin NOT NULL,
- `create_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) COLLATE utf8_bin DEFAULT NULL COMMENT '流程状态',
- `userid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '员工ID',
- `belong_unitid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '所属单位ID',
- `dutiesid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '职务ID',
- `overtimepay_strategyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '加班费策略',
- `duty_strategyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '值班费策略',
- `certificate_subsidyid` varchar(5000) COLLATE utf8_bin DEFAULT NULL COMMENT '证书补贴',
- `traffic_subsidyid` decimal(8,2) DEFAULT NULL ,
- `megathermal_subsidyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '高温补贴',
- `nofixedmeals_subsidyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '不固定餐费补贴',
- `fixedmeals_subsidyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '固定餐费补贴',
- `project_performance` decimal(8,2) DEFAULT NULL,
- `jiaojin_subsidyid` decimal(8,2) DEFAULT NULL,
- `other_subsidyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '其他补贴',
- `social_security_strategyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '社保策略',
- `provident_fund_strategyid` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '公积金策略',
- `append_pay` double DEFAULT NULL COMMENT '追加调整',
- `deduct_pay` double DEFAULT NULL COMMENT '扣除调整',
- `daikou_fee` double DEFAULT NULL,
- `onlychild_pay` double DEFAULT NULL COMMENT '独生子女费',
- `status` varchar(1) COLLATE utf8_bin DEFAULT NULL COMMENT '状态',
- `delete_flag` varchar(1) COLLATE utf8_bin DEFAULT NULL COMMENT '逻辑删除标识',
- `strategy_type` varchar(1) COLLATE utf8_bin DEFAULT NULL COMMENT '餐补策略',
- `pjt_id` varchar(36) COLLATE utf8_bin DEFAULT NULL COMMENT '项目id',
- PRIMARY KEY (`id`),
- KEY `userid` (`userid`) USING BTREE
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='新体系员工工资策略表';
- #审批任务超时提醒任务
- 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');
- #立项签报微信通知默认群组
- 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','立项签报微信接收人');
- 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');
- # 薪资体系设定新增菜单 22019-12-19
- INSERT INTO `t_s_function` VALUES ('402880056ddcb187016ddcb9c66b0000', null, '0', '薪资体系设定', '0', '', null, '8a8ab0b246dc81120146dc8180460000', '8a8ab0b246dc81120146dc8180dd001e', '0', '', 'admin', '管理员', null, null, '2019-10-18 10:37:06', null);
- 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', '管理员');
- 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);
- 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);
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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', '管理员');
- 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);
- 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);
- 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', '管理员');
- #加班备案表增加餐补
- ALTER TABLE `t_bus_overtime_record`
- ADD COLUMN `meals_subsidy` DECIMAL(10,2) NULL COMMENT '餐补' AFTER `ifnational`;
- alter table t_bus_user_attendance_total
- add COLUMN `overtimemeal` decimal(8, 0) NULL DEFAULT NULL;
- alter table t_bus_user_attendance_total_h
- add COLUMN `overtimemeal` decimal(8, 0) NULL DEFAULT NULL;
- ALTER TABLE `t_bus_overtime_record`
- CHANGE COLUMN `overtime_hours` `overtime_hours` DECIMAL(10,2) NULL DEFAULT NULL COMMENT '加班时长' ;
- #加班申请增加加班人数
- ALTER TABLE `t_bus_activiti_overtime`
- ADD COLUMN `user_count` INT NULL COMMENT '加班人数' AFTER `total_meals_subsidy`;
- #薪资调整增加类型
- ALTER TABLE `t_bus_activiti_wage_change`
- ADD COLUMN `type` VARCHAR(255) NULL COMMENT '薪资调整类型' AFTER `remark`;
- INSERT INTO `t_s_typegroup` VALUES ('402880ed6f235f22016f2373ee9e0009','wagechange_type','薪资调整类型','2019-12-20 21:16:38','管理员');
- 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','管理员');
- #备用金支付
- ALTER TABLE `t_b_activiti_cost_petty_cash`
- ADD COLUMN `paystatus` VARCHAR(45) NULL COMMENT '0 未支付 1已支付' AFTER `pay_time`,
- ADD COLUMN `paydate` TIMESTAMP NULL COMMENT '支付时间' AFTER `paystatus`,
- ADD COLUMN `payOperator` VARCHAR(45) NULL COMMENT '支付操作人员' AFTER `paydate`;
- 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);
- #默认人才津贴策略预置数据
- 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');
- INSERT INTO `t_bus_talent_subsidy_strategy` VALUES ('402883886f2deducationdefault0009', '管理员', 'admin', '2019-12-23 09:49:08', null, null, null, 'A06A01', 'A06', '1', '大专', '500', '大专默认', '0');
- INSERT INTO `t_bus_talent_subsidy_strategy` VALUES ('402883886f2deducationdefault000c', '管理员', 'admin', '2019-12-23 09:49:35', null, null, null, 'A06A01', 'A06', '1', '本科', '1000', '本科默认', '0');
- INSERT INTO `t_bus_talent_subsidy_strategy` VALUES ('402883886f2deducationdefault000e', '管理员', 'admin', '2019-12-23 09:49:52', null, null, null, 'A06A01', 'A06', '1', '硕士研究生', '2000', '硕士默认', '0');
- INSERT INTO `t_bus_talent_subsidy_strategy` VALUES ('402883886f2deducationdefault0010', '管理员', 'admin', '2019-12-23 09:50:07', null, null, null, 'A06A01', 'A06', '1', '博士研究生', '3000', '博士默认', '0');
- INSERT INTO `t_bus_talent_subsidy_strategy` VALUES ('402883886f2da1jingyandefault0012', '管理员', 'admin', '2019-12-23 09:50:34', null, null, null, 'A06A01', 'A06', '1', '市级创优经理', '1000', '市优', '0');
- INSERT INTO `t_bus_talent_subsidy_strategy` VALUES ('402883886f2da1jingyandefault0014', '管理员', 'admin', '2019-12-23 09:50:56', null, null, null, 'A06A01', 'A06', '1', '部级创优经理', '2000', '部优', '0');
- #新增t_bus_project_rating项目工资列
- alter table t_bus_project_rating
- add COLUMN `projectWage` decimal(8, 0) NULL DEFAULT NULL;
- #菜单表增加功能描述
- ALTER TABLE `t_s_function`
- ADD COLUMN `remark` varchar(255) NULL DEFAULT NULL COMMENT '功能描述';
- #增加物料签报
- 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);
- 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, '月度物料申购');
- #车辆计划状态字段,是否进入工作区域
- ALTER TABLE `t_b_car_schedule`
- ADD COLUMN `inScope` varchar(10) NULL DEFAULT NULL COMMENT '进入工作区域';
- ALTER TABLE `t_bus_activiti_overtime_detail`
- ADD COLUMN `confirm` boolean NULL DEFAULT false COMMENT '是否业主额外加班';
- #额外加班确认单
- CREATE TABLE `t_bus_overtime_financial` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `proc_inst_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程id',
- `step_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程名',
- `status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '业务状态',
- `reason` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '加班原因',
- `total_hour` double NULL DEFAULT NULL COMMENT '总时长',
- `total_money` double NULL DEFAULT NULL COMMENT '总金额',
- `user_ids` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '保存加班用户id',
- `real_names` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `depart_id` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `dep_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `wagemonth` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '工资年月',
- `overtimemonth` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '加班年月',
- `total_meals_subsidy` decimal(10, 2) NULL DEFAULT NULL COMMENT '餐费补助总计',
- `user_count` int(8) NULL DEFAULT NULL,
- PRIMARY KEY (`id`) USING BTREE,
- INDEX `dep`(`depart_id`, `wagemonth`) USING BTREE,
- INDEX `dep1`(`depart_id`, `overtimemonth`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
- CREATE TABLE `t_bus_overtime_financial_detail` (
- `id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
- `create_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '流程状态',
- `overtime_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '加班主表id',
- `userid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '加班员工',
- `real_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
- `start_time` datetime(0) NULL DEFAULT NULL COMMENT '加班开始时间',
- `end_time` datetime(0) NULL DEFAULT NULL COMMENT '加班结束时间',
- `hour` double NULL DEFAULT NULL COMMENT '加班时长',
- `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '加班费',
- `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
- `meals_subsidy` decimal(10, 2) NULL DEFAULT NULL COMMENT '餐费补助',
- `activitiid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci ,
- `activitidetailid` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci ,
- `wagemonth` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '工资年月',
- PRIMARY KEY (`id`) USING BTREE,
- INDEX `overtimeid`(`overtime_id`) USING BTREE,
- INDEX `month`(`wagemonth`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
- #额外加班费确认单
- 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', '管理员', '');
- #是否外地卡
- ALTER TABLE `t_bus_user_financial`
- ADD COLUMN `is_other_place` VARCHAR(1) NULL DEFAULT 0 AFTER `isdefault`;
- #报销增加 发票类型 支付方式 备注 金额 税额
- ALTER TABLE `t_b_activiti_cost_pay_inner_user_detail`
- ADD COLUMN `invoicetype` VARCHAR(45) NULL COMMENT '发票类型' AFTER `cost_pay_inner_user_id`,
- ADD COLUMN `paytype` VARCHAR(45) NULL COMMENT '支付方式' AFTER `invoicetype`,
- ADD COLUMN `remark` VARCHAR(1000) NULL COMMENT '备注项' AFTER `paytype`,
- ADD COLUMN `amount` DECIMAL(10,2) NULL COMMENT '金额' AFTER `remark`,
- ADD COLUMN `tax` DECIMAL(10,2) NULL COMMENT '税额' AFTER `amount`;
- ALTER TABLE `t_b_activiti_cost_pay_inner_user`
- ADD COLUMN `total_amount` DECIMAL(10,2) NULL COMMENT '金额总计' AFTER `payOperator`,
- ADD COLUMN `total_tax` DECIMAL(10,2) NULL COMMENT '税额总计' AFTER `total_amount`,
- ADD COLUMN `fincode` varchar(255) NULL COMMENT '财务核算编码' AFTER `total_tax`,
- ADD COLUMN `receive_user_id` varchar(255) NULL COMMENT '收款人id' AFTER `fincode`,
- ADD COLUMN `receive_user_name` varchar(255) NULL COMMENT '收款人姓名' AFTER `receive_user_id`;
- #公对公增加 发票类型 支付方式 金额 税额
- ALTER TABLE `t_b_activiti_cost_pay_tmp_company`
- ADD COLUMN `invoicetype` VARCHAR(45) NULL COMMENT '发票类型' AFTER `payOperator`,
- ADD COLUMN `paytype` VARCHAR(45) NULL COMMENT '支付方式' AFTER `invoicetype`,
- ADD COLUMN `remark` VARCHAR(1000) NULL COMMENT '备注' AFTER `paytype`,
- ADD COLUMN `amount` DECIMAL(10,2) NULL COMMENT '金额' AFTER `remark`,
- ADD COLUMN `tax` DECIMAL(10,2) NULL COMMENT '税额' AFTER `amount`,
- ADD COLUMN `fincode` varchar(255) NULL COMMENT '财务核算编码' AFTER `tax`,
- ADD COLUMN `receive_user_id` varchar(255) NULL COMMENT '收款人id' AFTER `fincode`,
- ADD COLUMN `receive_user_name` varchar(255) NULL COMMENT '收款人姓名' AFTER `receive_user_id`;
- # 费用类型 增加审批分类
- ALTER TABLE `t_b_cost_type`
- ADD COLUMN `examine_type` VARCHAR(255) NULL COMMENT '审批分类' AFTER `paytype`;
- ALTER TABLE `t_b_activiti_cost_request`
- ADD COLUMN `cost_type_name` VARCHAR(255) NULL COMMENT '费用类型名称' AFTER `cost_type`;
- #报销签报查看菜单
- 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);
- ALTER TABLE `t_b_activiti_cost_pay_inner_user` ADD COLUMN `paytype` VARCHAR(45) NULL COMMENT '支付方式';
- update t_s_function set functionname='员工报销' where id='402880ed6ded2240016dedd6332c002b';
- update t_s_function set functionname='员工报销' where id='ff8080816e687d71016e688d0609000d';
- update t_s_function set functionname='对外付款' where id='402880ed6ded2240016dedd53f5e0027';
- update t_s_function set functionname='对外付款' where id='ff8080816e687d71016e688a5e28000b';
- update t_s_function set functionname='员工报销查看' where id='402881e56f44b7a2016f44bb14780001';
- update t_s_function set functionname='员工报销支付' where id='402880ed6e24df96016e270081de003c';
- update t_s_function set functionname='员工报销统计' where id='402880ed6e2c19b8016e2c508e07000d';
- update t_s_function set functionname='对外付款查看' where id='402881e56f44b7a2016f44bbf6080003';
- update t_s_function set functionname='对外付款支付' where id='402881e56e357779016e357a8aa70001';
- update t_s_function set functionname='对外付款统计' where id='402881e56e357779016e357ad3200003';
- alter table t_b_activiti_cost_pay_tmp_company add COLUMN `code` VARCHAR(255);
- #签报逾期明细
- 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','管理员','签报逾期明细');
- #增加项目查看菜单、我的工作菜单
- 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, '');
- 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, '');
- #加班申请打印处理类
- update t_process_busconfig set activiti_config_class='cn.com.lzt.useractiviti.data.util.tools.OvertimeActivitiTools' where id='402880ed6dc78a3b016dc7c045ba0008';
- #调整消息发送通知类型
- DELETE FROM `t_s_type` WHERE `ID`='402881e56ae35114016ae35ebe5e0006';
- DELETE FROM `t_s_type` WHERE `ID`='402881e56ae35114016ae35f1ddd0008';
- DELETE FROM `t_s_type` WHERE `ID`='402881e56ae35114016ae35f7fc4000e';
- DELETE FROM `t_s_type` WHERE `ID`='402881e56c88c466016c88cfaa260001';
- #消息回复
- CREATE TABLE `m_message_reply` (
- `id` varchar(36) NOT NULL,
- `create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
- `create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
- `create_date` datetime DEFAULT NULL COMMENT '创建日期',
- `update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
- `update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
- `update_date` datetime DEFAULT NULL COMMENT '更新日期',
- `sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
- `sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
- `bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
- `user_id` varchar(32) DEFAULT NULL COMMENT '回复人',
- `real_name` varchar(255) DEFAULT NULL COMMENT '姓名',
- `message_id` varchar(32) DEFAULT NULL COMMENT '消息id',
- `reply` longtext COMMENT '回复内容',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- ALTER TABLE t_bus_activiti_green ADD COLUMN depart_id varchar(45) NULL;
- ALTER TABLE t_bus_activiti_green ADD COLUMN dep_name varchar(255) NULL;
- #绿色通道处理历史数据
- update t_bus_activiti_green set depart_id=create_depart where depart_id is null and id<>'';
- 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<>'';
- #消息增加文件编号
- ALTER TABLE `m_message` ADD COLUMN `file_index` INT NULL COMMENT '文件编号';
- ALTER TABLE `p_projecttask` ADD COLUMN `activiti_task_id` VARCHAR(45) NULL COMMENT 'p_activiti_task id';
- alter table t_b_clothing_apply_detail add column
- `size` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '尺码';
- alter table t_b_clothing_apply_detail add column
- `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注';
- #增加菜单:项目外包合同
- 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, '');
- #立项签报增加流转接收人
- ALTER TABLE `t_b_activiti_project` ADD COLUMN `receiver` VARCHAR(255) NULL COMMENT '流转接收人';
- ALTER TABLE `m_personal_message` CHANGE COLUMN `preview_url` `preview_url` VARCHAR(500) NULL DEFAULT NULL COMMENT '预览地址' ;
- ALTER TABLE `m_short_url` CHANGE COLUMN `url` `url` VARCHAR(500) NULL DEFAULT NULL COMMENT '原地址' ;
- #立项签报甲方id
- ALTER TABLE `t_b_activiti_project` ADD COLUMN `customer_id` VARCHAR(45) NULL COMMENT '甲方id t_b_partner id' ;
- #增加发票类型
- 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','管理员');
|