|
|
|
@ -1096,7 +1096,7 @@ |
|
|
|
and item.IS_PEOPLE = '1' |
|
|
|
and item.IS_DIFFICULTY = '1' |
|
|
|
<choose> |
|
|
|
<when test="startTime != null and startTime != '' and endTime != null and endTime != '"> |
|
|
|
<when test="startTime != null and startTime != '' and endTime != null and endTime != ''"> |
|
|
|
AND DATE_FORMAT( item.CREATED_TIME, '%Y-%m-%d' ) BETWEEN #{startTime} AND #{endTime} |
|
|
|
</when> |
|
|
|
<otherwise> |
|
|
|
@ -2713,7 +2713,7 @@ |
|
|
|
and item.ISSUE_ID is null |
|
|
|
and SUBSTRING_INDEX(item.CATEGORY_FULL_NAME,'-',1) != '其他' |
|
|
|
<choose> |
|
|
|
<when test="startTime != null and startTime != '' and endTime != null and endTime != '"> |
|
|
|
<when test="startTime != null and startTime != '' and endTime != null and endTime != ''"> |
|
|
|
AND DATE_FORMAT( item.CREATED_TIME, '%Y-%m-%d' ) BETWEEN #{startTime} AND #{endTime} |
|
|
|
</when> |
|
|
|
<otherwise> |
|
|
|
@ -2743,7 +2743,7 @@ |
|
|
|
and SUBSTRING_INDEX(item.CATEGORY_FULL_NAME,'-',1) != '其他' |
|
|
|
and SUBSTRING_INDEX(item.CATEGORY_FULL_NAME,'-',2) != '城市综合' |
|
|
|
<choose> |
|
|
|
<when test="startTime != null and startTime != '' and endTime != null and endTime != '"> |
|
|
|
<when test="startTime != null and startTime != '' and endTime != null and endTime != ''"> |
|
|
|
AND DATE_FORMAT( item.CREATED_TIME, '%Y-%m-%d' ) BETWEEN #{startTime} AND #{endTime} |
|
|
|
</when> |
|
|
|
<otherwise> |
|
|
|
@ -2777,7 +2777,7 @@ |
|
|
|
and item.ISSUE_ID is null |
|
|
|
and SUBSTRING_INDEX(item.CATEGORY_FULL_NAME,'-',1) != '其他' |
|
|
|
<choose> |
|
|
|
<when test="startTime != null and startTime != '' and endTime != null and endTime != '"> |
|
|
|
<when test="startTime != null and startTime != '' and endTime != null and endTime != ''"> |
|
|
|
AND DATE_FORMAT( item.CREATED_TIME, '%Y-%m-%d' ) BETWEEN #{startTime} AND #{endTime} |
|
|
|
</when> |
|
|
|
<otherwise> |
|
|
|
@ -2810,7 +2810,7 @@ |
|
|
|
and item.ISSUE_ID is null |
|
|
|
and SUBSTRING_INDEX(item.CATEGORY_FULL_NAME,'-',1) != '其他' |
|
|
|
<choose> |
|
|
|
<when test="startTime != null and startTime != '' and endTime != null and endTime != '"> |
|
|
|
<when test="startTime != null and startTime != '' and endTime != null and endTime != ''"> |
|
|
|
AND DATE_FORMAT( item.CREATED_TIME, '%Y-%m-%d' ) BETWEEN #{startTime} AND #{endTime} |
|
|
|
</when> |
|
|
|
<otherwise> |
|
|
|
@ -2846,7 +2846,7 @@ |
|
|
|
and item.ISSUE_ID is null |
|
|
|
and SUBSTRING_INDEX(item.CATEGORY_FULL_NAME,'-',1) != '其他' |
|
|
|
<choose> |
|
|
|
<when test="startTime != null and startTime != '' and endTime != null and endTime != '"> |
|
|
|
<when test="startTime != null and startTime != '' and endTime != null and endTime != ''"> |
|
|
|
AND DATE_FORMAT( item.CREATED_TIME, '%Y-%m-%d' ) BETWEEN #{startTime} AND #{endTime} |
|
|
|
</when> |
|
|
|
<otherwise> |
|
|
|
@ -2933,7 +2933,7 @@ |
|
|
|
and item.ISSUE_ID is null |
|
|
|
and SUBSTRING_INDEX(item.CATEGORY_FULL_NAME,'-',1) != '其他' |
|
|
|
<choose> |
|
|
|
<when test="startTime != null and startTime != '' and endTime != null and endTime != '"> |
|
|
|
<when test="startTime != null and startTime != '' and endTime != null and endTime != ''"> |
|
|
|
AND DATE_FORMAT( item.CREATED_TIME, '%Y-%m-%d' ) BETWEEN #{startTime} AND #{endTime} |
|
|
|
</when> |
|
|
|
<otherwise> |
|
|
|
|