|
@@ -17,7 +17,7 @@
|
|
|
<result column="feedback_result" jdbcType="VARCHAR" property="feedbackResult"/>
|
|
<result column="feedback_result" jdbcType="VARCHAR" property="feedbackResult"/>
|
|
|
<result column="state" jdbcType="INTEGER" property="state"/>
|
|
<result column="state" jdbcType="INTEGER" property="state"/>
|
|
|
<result column="consuming_time" jdbcType="LONGVARCHAR" property="consumingTime"/>
|
|
<result column="consuming_time" jdbcType="LONGVARCHAR" property="consumingTime"/>
|
|
|
- <result column="category_code" jdbcType="VARCHAR" property="categoryCode"/>
|
|
|
|
|
|
|
+ <result column="category_id" jdbcType="VARCHAR" property="categoryId"/>
|
|
|
<result column="reg_result" jdbcType="VARCHAR" property="regResult"/>
|
|
<result column="reg_result" jdbcType="VARCHAR" property="regResult"/>
|
|
|
<result column="feedback_user_org" jdbcType="VARCHAR" property="feedbackUserOrg"/>
|
|
<result column="feedback_user_org" jdbcType="VARCHAR" property="feedbackUserOrg"/>
|
|
|
<result column="feedback_user_endpoint" jdbcType="VARCHAR" property="feedbackUserEndpoint"/>
|
|
<result column="feedback_user_endpoint" jdbcType="VARCHAR" property="feedbackUserEndpoint"/>
|
|
@@ -36,8 +36,8 @@
|
|
|
<if test="endTaggingTime != null and endTaggingTime != ''">
|
|
<if test="endTaggingTime != null and endTaggingTime != ''">
|
|
|
AND #{endTaggingTime} >= insert_time
|
|
AND #{endTaggingTime} >= insert_time
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="categoryCode != null and categoryCode != ''">
|
|
|
|
|
- AND #{categoryCode} = category_code
|
|
|
|
|
|
|
+ <if test="categoryId != null and categoryId != ''">
|
|
|
|
|
+ AND #{categoryId} = category_id
|
|
|
</if>
|
|
</if>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
@@ -54,8 +54,8 @@
|
|
|
<if test="endTaggingTime != null and endTaggingTime != ''">
|
|
<if test="endTaggingTime != null and endTaggingTime != ''">
|
|
|
AND #{endTaggingTime} >= insert_time
|
|
AND #{endTaggingTime} >= insert_time
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="categoryCode != null and categoryCode != ''">
|
|
|
|
|
- AND #{categoryCode} = category_code
|
|
|
|
|
|
|
+ <if test="categoryId != null and categoryId != ''">
|
|
|
|
|
+ AND #{categoryId} = category_id
|
|
|
</if>
|
|
</if>
|
|
|
GROUP BY DATE_FORMAT(insert_time, '%Y年%m月%d日')
|
|
GROUP BY DATE_FORMAT(insert_time, '%Y年%m月%d日')
|
|
|
ORDER BY stat;
|
|
ORDER BY stat;
|
|
@@ -74,8 +74,8 @@
|
|
|
<if test="endTaggingTime != null and endTaggingTime != ''">
|
|
<if test="endTaggingTime != null and endTaggingTime != ''">
|
|
|
AND #{endTaggingTime} >= insert_time
|
|
AND #{endTaggingTime} >= insert_time
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="categoryCode != null and categoryCode != ''">
|
|
|
|
|
- AND #{categoryCode} = category_code
|
|
|
|
|
|
|
+ <if test="categoryId != null and categoryId != ''">
|
|
|
|
|
+ AND #{categoryId} = category_id
|
|
|
</if>
|
|
</if>
|
|
|
GROUP BY DATE_FORMAT(insert_time, '%Y年%m月')
|
|
GROUP BY DATE_FORMAT(insert_time, '%Y年%m月')
|
|
|
ORDER BY stat;
|
|
ORDER BY stat;
|
|
@@ -94,15 +94,15 @@
|
|
|
<if test="endTaggingTime != null and endTaggingTime != ''">
|
|
<if test="endTaggingTime != null and endTaggingTime != ''">
|
|
|
AND #{endTaggingTime} >= insert_time
|
|
AND #{endTaggingTime} >= insert_time
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="categoryCode != null and categoryCode != ''">
|
|
|
|
|
- AND #{categoryCode} = category_code
|
|
|
|
|
|
|
+ <if test="categoryId != null and categoryId != ''">
|
|
|
|
|
+ AND #{categoryId} = category_id
|
|
|
</if>
|
|
</if>
|
|
|
GROUP BY YEARWEEK(insert_time, 1)
|
|
GROUP BY YEARWEEK(insert_time, 1)
|
|
|
ORDER BY stat;
|
|
ORDER BY stat;
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="selectByInsertTime" resultType="cn.com.yusys.yusp.domain.entity.AitagTagLogEntity">
|
|
<select id="selectByInsertTime" resultType="cn.com.yusys.yusp.domain.entity.AitagTagLogEntity">
|
|
|
- SELECT id, app_id, insert_time, business_attr, phrase, attachment, attachment_url, `result`, feedback_user_id, feedback_user_nm, feedback_time, feedback, feedback_result, state, consuming_time, category_code
|
|
|
|
|
|
|
+ SELECT id, app_id, insert_time, business_attr, phrase, attachment, attachment_url, `result`, feedback_user_id, feedback_user_nm, feedback_time, feedback, feedback_result, state, consuming_time, category_id
|
|
|
FROM aitag_tag_log
|
|
FROM aitag_tag_log
|
|
|
WHERE
|
|
WHERE
|
|
|
tag_scope = 0
|
|
tag_scope = 0
|