|
@@ -2,9 +2,27 @@
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
<mapper namespace="com.citygis.web.mapper.TabSystemMsgMapper">
|
|
|
|
|
|
+ <select id="getStatistics" resultType="com.citygis.web.domain.TabSystemMsg"
|
|
|
+ parameterType="com.citygis.web.domain.TabSystemMsg">
|
|
|
+ SELECT id, system_name, table_name, table_english_name, access_manner, update_type, status state, ps, count,
|
|
|
+ data_essential_id, is_del
|
|
|
+ FROM test.dbo.tab_system_msg
|
|
|
+ where is_del = 0
|
|
|
+ <if test="systemName != null">
|
|
|
+ and system_name like concat('%',#{systemName},'%')
|
|
|
+ </if>
|
|
|
+ <if test="tableEnglishName != null">
|
|
|
+ and table_english_name like concat('%',#{tableEnglishName},'%')
|
|
|
+ </if>
|
|
|
+ <if test="updateType != null">
|
|
|
+ and update_type = #{updateType}
|
|
|
+ </if>
|
|
|
+
|
|
|
+ </select>
|
|
|
+
|
|
|
<select id="getTabSystemMsgList" resultType="com.citygis.web.domain.TabSystemMsg"
|
|
|
parameterType="com.citygis.web.domain.TabSystemMsg">
|
|
|
- SELECT id, system_name, table_name, table_english_name, access_manner, update_type, status, ps, count,
|
|
|
+ SELECT id, system_name, table_name, table_english_name, access_manner, update_type, status state, ps, count,
|
|
|
data_essential_id, is_del
|
|
|
FROM test.dbo.tab_system_msg
|
|
|
where is_del = 0
|
|
@@ -15,7 +33,7 @@
|
|
|
and table_english_name like concat('%',#{tableEnglishName},'%')
|
|
|
</if>
|
|
|
<if test="updateType != null">
|
|
|
- update_type = #{updateType}
|
|
|
+ and update_type = #{updateType}
|
|
|
</if>
|
|
|
|
|
|
</select>
|
|
@@ -36,8 +54,8 @@
|
|
|
<select id="getExchangeCount" resultType="com.citygis.web.domain.Exchange">
|
|
|
|
|
|
SELECT allCount, selectConutLog, insertCountLog, insertCount, updateCountLog, updateCount, deleteCountLog,
|
|
|
- deleteCount, insertError, updateError, deleteError, operationTime, tableName, inx
|
|
|
- FROM test.dbo.view_DailyReport
|
|
|
+ deleteCount, insertError, updateError, deleteError, operationTime time, tableName, inx,jkNum,difference
|
|
|
+ FROM test.dbo.view_DailyReport where operationTime = #{dateTime}
|
|
|
|
|
|
|
|
|
|
|
@@ -387,7 +405,7 @@
|
|
|
count,
|
|
|
data_essential_id)
|
|
|
VALUES(#{id},
|
|
|
- #{systemName]},
|
|
|
+ #{systemName},
|
|
|
#{tableName},
|
|
|
#{tableEnglishName},
|
|
|
#{accessManner},
|