|
|
@ -1094,6 +1094,14 @@ |
|
|
WHERE item.DEL_FLAG = '0' |
|
|
WHERE item.DEL_FLAG = '0' |
|
|
and item.IS_PEOPLE = '1' |
|
|
and item.IS_PEOPLE = '1' |
|
|
and item.IS_DIFFICULTY = '1' |
|
|
and item.IS_DIFFICULTY = '1' |
|
|
|
|
|
<choose> |
|
|
|
|
|
<when test="listType != null and listType != '' and listType == '1'.toString()"> |
|
|
|
|
|
and item.IS_DIFFICULTY = '1' |
|
|
|
|
|
</when> |
|
|
|
|
|
<otherwise> |
|
|
|
|
|
and item.IS_TYPICAL = '1' |
|
|
|
|
|
</otherwise> |
|
|
|
|
|
</choose> |
|
|
<choose> |
|
|
<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} |
|
|
AND DATE_FORMAT( item.CREATED_TIME, '%Y-%m-%d' ) BETWEEN #{startTime} AND #{endTime} |
|
|
|