123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291 |
- <?xml version="1.0" encoding="utf-8" ?>
- <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="codegen.xsd">
- <variables>
- <variable name="developer" value="ray"/>
- <variable name="company" value="广州红迅软件"/>
- <variable name="system" value="demo"/>
- <variable name="domain" value="com.misoft"/>
- <variable name="email" value="ray@redxun.cn"/>
- <variable name="apiProject" value="api-form"/>
- <variable name="javaProject" value=""/>
- <variable name="frontProject" value="jpaas-web/jpaas-vue"/>
- </variables>
- <templates>
- <template id="dao" path="dao.ftl"/>
- <template id="manager" path="manager.ftl"/>
- <template id="mapping" path="mapping.ftl"/>
- <template id="entity" path="entity.ftl"/>
- <template id="controller" path="controller.ftl"/>
- <template id="edit" path="edit.ftl"/>
- <template id="bpmForm" path="bpmForm.ftl"/>
- <template id="editFormModel" path="editFormModel.ftl"/>
- <template id="list" path="list.ftl"/>
- <template id="doc" path="dbdoc.xml"/>
- <template id="router" path="router.ftl"/>
- <template id="serviceTest" path="serviceTest.ftl"/>
- <template id="apijs" path="api_js.ftl"/>
- <template id="genSql" path="genSql.ftl"/>
- </templates>
- <files baseDir="D:\work\redxun\jpaas-demo">
- <file refTemplate="mapping" filename="{class}Mapper.xml" dir="{javaProject}\src\main\resources\mapper\{system}\{package}" sub="true" override="true"/>
- <file refTemplate="entity" filename="{class}.java" dir="{javaProject}\src\main\java\com\misoft\{system}\{package}\entity" sub="true" override="true"/>
- <file refTemplate="dao" filename="{class}Mapper.java" dir="{javaProject}\src\main\java\com\misoft\{system}\{package}\mapper" sub="false" override="true"/>
- <file refTemplate="manager" filename="{class}ServiceImpl.java" dir="{javaProject}\src\main\java\com\misoft\{system}\{package}\service" sub="false" override="true"/>
- <file refTemplate="controller" filename="{class}Controller.java" dir="{javaProject}\src\main\java\com\misoft\{system}\{package}\controller" sub="false" override="true"/>
- <file refTemplate="serviceTest" filename="{class}ServiceTest.java" dir="{javaProject}\src\test\java\com\redxun\{system}\{package}\" sub="false" override="true"/>
- <file refTemplate="list" filename="{class}List.vue" dir="{frontProject}\src\views\modules\{system}\{package}" sub="false" override="true"/>
- <file refTemplate="edit" filename="{class}Edit.vue" dir="{frontProject}\src\views\modules\{system}\{package}" sub="false" override="true"/>
- <file refTemplate="apijs" filename="{classVar}.js" dir="{frontProject}\src\api\{system}\{package}" sub="false" override="true"/>
- <file refTemplate="editFormModel" filename="{class}Edit.vue" dir="{frontProject}\src\views\modules\{system}\{package}" sub="false" override="true"/>
- </files>
- <table tableName="demo">
- <variable name="class" value="Demo"/>
- <variable name="package" value="core"/>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <!--
- -->
- <!-- <files baseDir="D:\redxun_git\jpaas_sources">
- <!–
- –>
- <!– <file refTemplate="mapping" filename="{class}Mapper.xml" dir="{javaProject}\src\main\resources\mapper\{system}\{package}" sub="true" override="true"/>–>
- <!– <file refTemplate="entity" filename="{class}.java" dir="{javaProject}\src\main\java\com\redxun\{system}\{package}\entity" sub="true" override="true"/>–>
- <!– <file refTemplate="dao" filename="{class}Mapper.java" dir="{javaProject}\src\main\java\com\redxun\{system}\{package}\mapper" sub="false" override="true"/>–>
- <!– <file refTemplate="manager" filename="{class}ServiceImpl.java" dir="{javaProject}\src\main\java\com\redxun\{system}\{package}\service" sub="false" override="true"/>–>
- <!– <file refTemplate="controller" filename="{class}Controller.java" dir="{javaProject}\src\main\java\com\redxun\{system}\{package}\controller" sub="false" override="true"/>–>
- <file refTemplate="apijs" filename="{classVar}.js" dir="{frontProject}\src\api\{system}\{package}" sub="false" override="true"/>
- <file refTemplate="list" filename="{class}List.vue" dir="{frontProject}\src\views\modules\{system}\{package}" sub="false" override="true"/>
- <file refTemplate="bpmForm" filename="{class}BpmForm.vue" dir="{frontProject}\src\views\modules\{system}\{package}" sub="false" override="true"/>
- <!– <file refTemplate="serviceTest" filename="{class}ServiceTest.java" dir="src\test\java\com\redxun\{system}\{package}\" sub="false" override="true"/>–>
- <!– <file refTemplate="edit" filename="{class}Edit.vue" dir="{frontProject}\src\views\modules\{system}\{package}" sub="false" override="true"/>–>
- <file refTemplate="editFormModel" filename="{class}Edit.vue" dir="{frontProject}\src\views\modules\{system}\{package}" sub="false" override="true"/>
- </files>-->
- <!-- <table tableName="ats_typeset_wizard">
- <variable name="class" value="AtsTypesetWizard"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- -->
- <!--<table tableName="ats_holiday">
- <variable name="class" value="AtsHoliday"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_import_plan">
- <variable name="class" value="AtsImportPlan"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_over_time">
- <variable name="class" value="AtsOverTime"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_salary">
- <variable name="class" value="AtsSalary"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_trip">
- <variable name="class" value="AtsTrip"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_attence_cycle">
- <variable name="class" value="AtsAttenceCycle"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_attence_cycle_detail">
- <variable name="class" value="AtsattenceCycleDetail"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_attence_group">
- <variable name="class" value="AtsAttenceGroup"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_attence_group_detail">
- <variable name="class" value="AtsAttenceGroupDetail"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_attence_policy">
- <variable name="class" value="AtsAttencePolicy"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_attendance_file">
- <variable name="class" value="AtsAttendanceFile"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_base_item">
- <variable name="class" value="AtsBaseItem"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_calendar_templ">
- <variable name="class" value="AtsCalendarTempl"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_calendar_templ_detail">
- <variable name="class" value="AtsCalendarTemplDetail"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_card_record">
- <variable name="class" value="AtsCardRecord"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_card_rule">
- <variable name="class" value="AtsCardRule"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_holiday_policy">
- <variable name="class" value="AtsHolidayPolicy"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_holiday_policy_detail">
- <variable name="class" value="AtsHolidayPolicyDetail"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_holiday_type">
- <variable name="class" value="AtsHolidayType"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_legal_holiday">
- <variable name="class" value="AtsLegalHoliday"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_legal_holiday_detail">
- <variable name="class" value="AtsLegalHolidayDetail"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_salary_account">
- <variable name="class" value="AtsSalaryAccount"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_salary_attence_days">
- <variable name="class" value="AtsSalaryAttenceDays"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_salary_change">
- <variable name="class" value="AtsSalaryChange"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_salary_day">
- <variable name="class" value="AtsSalaryDay"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_salary_subsidy">
- <variable name="class" value="AtsSalarySubsidy"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_schedule_apple_flow">
- <variable name="class" value="AtsScheduleAppleFlow"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_schedule_shift_flow">
- <variable name="class" value="AtsScheduleShiftFlow"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_shift_rule">
- <variable name="class" value="AtsShiftRule"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_shift_rule_detail">
- <variable name="class" value="AtsShiftRuleDetail"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_shift_type">
- <variable name="class" value="AtsShiftType"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_work_calendar">
- <variable name="class" value="AtsWorkCalendar"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_work_task">
- <variable name="class" value="AtsWorkTask"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_schedule_shift">
- <variable name="class" value="AtsScheduleShift"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_shift_info">
- <variable name="class" value="AtsShiftInfo"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_shift_rest_time">
- <variable name="class" value="AtsShiftRestTime"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>
- <table tableName="ats_shift_time">
- <variable name="class" value="AtsShiftTime"></variable>
- <variable name="package" value="ats"></variable>
- <variable name="packageName" value="考勤"></variable>
- </table>-->
- <!--
- <genAll tableNames="os_user,os_dimension,os_rel_type,os_group,os_rank_type,os_inst,os_inst_type">
- <file refTemplate="genSql" dir="D:/work/redxun/jpaas/jpaas_sources/metadata/sqlgen" genMode="SingleFile" filename="sqlgen_user.xml"></file>
- </genAll>
- <genAll tableNames="bpm_caltime_block">
- <file refTemplate="genSql" dir="D:/work/redxun/jpaas/jpaas_sources/metadata/sqlgen" genMode="SingleFile" filename="sqlgen_bpm.xml"></file>
- </genAll>
- <genAll tableNames="sys_tree_cat,sys_tree,sys_dic,sys_api,sys_app,sys_menu,sys_transfer_setting,sys_routing,sys_route_type">
- <file refTemplate="genSql" dir="D:/work/redxun/jpaas/jpaas_sources/metadata/sqlgen" genMode="SingleFile" filename="sqlgen_system.xml"></file>
- </genAll>
- <genAll tableNames="ins_column_def,ins_column_temp,ins_msg_def,ins_msgbox_box_def,ins_msgbox_def,ins_portal_def,ins_remind_def">
- <file refTemplate="genSql" dir="D:/work/redxun/jpaas/jpaas_sources/metadata/sqlgen" genMode="SingleFile" filename="sqlgen_portal.xml"></file>
- </genAll>
- -->
- </config>
|