diff --git a/intelligent/single_yuejuan/analysis/student_report/exam.ktr b/intelligent/single_yuejuan/analysis/student_report/exam.ktr index 18ed9d0..f6bf668 100644 --- a/intelligent/single_yuejuan/analysis/student_report/exam.ktr +++ b/intelligent/single_yuejuan/analysis/student_report/exam.ktr @@ -5,7 +5,7 @@ <extended_description/> <trans_version/> <trans_type>Normal</trans_type> - <directory>/analysis</directory> + <directory>/</directory> <parameters> </parameters> <log> @@ -422,14 +422,27 @@ <partitionschemas> </partitionschemas> <slaveservers> + <slaveserver> + <name>10.1.104.244</name> + <hostname>10.1.104.244</hostname> + <port>8081</port> + <webAppName/> + <username>carte</username> + <password>Encrypted 2be98afc86aa7f28ebf00a469fec3fd89</password> + <proxy_hostname/> + <proxy_port/> + <non_proxy_hosts/> + <master>N</master> + <sslMode>N</sslMode> + </slaveserver> </slaveservers> <clusterschemas> </clusterschemas> <created_user>-</created_user> <created_date>2021/11/01 13:09:09.393</created_date> <modified_user>-</modified_user> - <modified_date>2021/11/01 17:22:45.761</modified_date> - <key_for_session_key/> + <modified_date>2021/11/02 14:52:15.387</modified_date> + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> <is_key_private>N</is_key_private> </info> <notepads> @@ -500,7 +513,7 @@ <attributes> <attribute> <code>EXTRA_OPTION_MYSQL.characterEncoding</code> - <attribute>utf8</attribute> + <attribute>utf-8</attribute> </attribute> <attribute> <code>EXTRA_OPTION_MYSQL.defaultFetchSize</code> @@ -560,39 +573,6 @@ </hop> </order> <step> - <name>表输入</name> - <type>TableInput</type> - <description/> - <distribute>Y</distribute> - <custom_distribution/> - <copies>1</copies> - <partitioning> - <method>none</method> - <schema_name/> - </partitioning> - <connection>intelligent</connection> - <sql>SELECT id,exam_name,exam_time,exam_time_end,exam_model,grade_id,grade_name,exam_type FROM single_yuejuan_source_process.bus_exam WHERE id=${exam_id}</sql> - <limit>0</limit> - <lookup/> - <execute_each_row>N</execute_each_row> - <variables_active>Y</variables_active> - <lazy_conversion_active>N</lazy_conversion_active> - <cached_row_meta_active>N</cached_row_meta_active> - <attributes/> - <cluster_schema/> - <remotesteps> - <input> - </input> - <output> - </output> - </remotesteps> - <GUI> - <xloc>272</xloc> - <yloc>304</yloc> - <draw>Y</draw> - </GUI> - </step> - <step> <name>插入 / 更新</name> <type>InsertUpdate</type> <description/> @@ -670,6 +650,40 @@ <draw>Y</draw> </GUI> </step> + <step> + <name>表输入</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>intelligent</connection> + <sql>SELECT id,exam_name,exam_time,exam_time_end,exam_model,grade_id,grade_name,exam_type FROM single_yuejuan_source_process.bus_exam WHERE id=${exam_id}</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>Y</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta/> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>272</xloc> + <yloc>304</yloc> + <draw>Y</draw> + </GUI> + </step> <step_error_handling> </step_error_handling> <slave-step-copy-partition-distribution> diff --git a/intelligent/single_yuejuan/analysis/student_report/subject_report.ktr b/intelligent/single_yuejuan/analysis/student_report/subject_report.ktr index 1215ec7..c5bbb58 100644 --- a/intelligent/single_yuejuan/analysis/student_report/subject_report.ktr +++ b/intelligent/single_yuejuan/analysis/student_report/subject_report.ktr @@ -5,7 +5,7 @@ <extended_description/> <trans_version/> <trans_type>Normal</trans_type> - <directory>/analysis/student_report</directory> + <directory>/</directory> <parameters> </parameters> <log> @@ -422,14 +422,27 @@ <partitionschemas> </partitionschemas> <slaveservers> + <slaveserver> + <name>10.1.104.244</name> + <hostname>10.1.104.244</hostname> + <port>8081</port> + <webAppName/> + <username>carte</username> + <password>Encrypted 2be98afc86aa7f28ebf00a469fec3fd89</password> + <proxy_hostname/> + <proxy_port/> + <non_proxy_hosts/> + <master>N</master> + <sslMode>N</sslMode> + </slaveserver> </slaveservers> <clusterschemas> </clusterschemas> <created_user>-</created_user> <created_date>2021/11/01 13:45:17.849</created_date> <modified_user>-</modified_user> - <modified_date>2021/11/01 16:35:30.370</modified_date> - <key_for_session_key/> + <modified_date>2021/11/02 14:52:17.442</modified_date> + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> <is_key_private>N</is_key_private> </info> <notepads> @@ -499,6 +512,10 @@ <index_tablespace/> <attributes> <attribute> + <code>EXTRA_OPTION_MYSQL.characterEncoding</code> + <attribute>utf-8</attribute> + </attribute> + <attribute> <code>EXTRA_OPTION_MYSQL.defaultFetchSize</code> <attribute>500</attribute> </attribute> @@ -556,39 +573,6 @@ </hop> </order> <step> - <name>表输入</name> - <type>TableInput</type> - <description/> - <distribute>Y</distribute> - <custom_distribution/> - <copies>1</copies> - <partitioning> - <method>none</method> - <schema_name/> - </partitioning> - <connection>intelligent</connection> - <sql>SELECT a.exam_id,a.student_id,a.subject_id,b.subject_name,a.source_score,a.score FROM single_yuejuan_fundamental.fundamental_subject_score_rank as a left join single_yuejuan_source_process.bus_exam_subject as b on a.subject_id=b.id WHERE subject_type_code=0 and exam_id=${exam_id}</sql> - <limit>0</limit> - <lookup/> - <execute_each_row>N</execute_each_row> - <variables_active>Y</variables_active> - <lazy_conversion_active>N</lazy_conversion_active> - <cached_row_meta_active>N</cached_row_meta_active> - <attributes/> - <cluster_schema/> - <remotesteps> - <input> - </input> - <output> - </output> - </remotesteps> - <GUI> - <xloc>304</xloc> - <yloc>432</yloc> - <draw>Y</draw> - </GUI> - </step> - <step> <name>插入 / 更新</name> <type>InsertUpdate</type> <description/> @@ -668,6 +652,40 @@ <draw>Y</draw> </GUI> </step> + <step> + <name>表输入</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>intelligent</connection> + <sql>SELECT a.exam_id,a.student_id,a.subject_id,b.subject_name,a.source_score,a.score FROM single_yuejuan_fundamental.fundamental_subject_score_rank as a left join single_yuejuan_source_process.bus_exam_subject as b on a.subject_id=b.id WHERE subject_type_code=0 and exam_id=${exam_id}</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>Y</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta/> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>304</xloc> + <yloc>432</yloc> + <draw>Y</draw> + </GUI> + </step> <step_error_handling> </step_error_handling> <slave-step-copy-partition-distribution> diff --git a/jty_yuejuan_report.kdb b/jty_yuejuan_report.kdb new file mode 100644 index 0000000..d27aafa --- /dev/null +++ b/jty_yuejuan_report.kdb @@ -0,0 +1,28 @@ + <connection> + <name>jty_yuejuan_report</name> + <server>10.1.104.23</server> + <type>MYSQL</type> + <access>Native</access> + <database>jty_yuejuan_report</database> + <port>3306</port> + <username>root</username> + <password>Encrypted 2be98afc86aa7f28ebf00a469fec3fd89</password> + <servername/> + <data_tablespace/> + <index_tablespace/> + <attributes> + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf-8</attribute></attribute> + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>Y</attribute></attribute> + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> + </attributes> + </connection> diff --git a/repository.log b/repository.log index 750f793..81e5d44 100644 --- a/repository.log +++ b/repository.log @@ -640,3 +640,11 @@ Save database : Modification by user Save repository element : intelligent_greenplum_neiwang : Modification by user Save database : Modification by user Save repository element : intelligent_greenplum_neiwang : Modification by user +Save database : Modification by user +Save repository element : jty_yuejuan_report : Modification by user +Save database : Modification by user +Save repository element : jty_yuejuan_report : Modification by user +Save database : Modification by user +Save repository element : jty_yuejuan_report : Modification by user +Save database : Modification by user +Save repository element : jty_yuejuan_report : Modification by user