| | |
| | | <result property="endTime" column="endTime"/> |
| | | <result property="count" column="count"/> |
| | | <result property="changeCount" column="changeCount"/> |
| | | <!-- <collection property="problems" ofType="cn.flightfeather.supervision.domain.ds1.entity.Problemlist" resultMap="BaseResultMap"/>--> |
| | | </resultMap> |
| | | <resultMap id="SceneProblemSummary" type="cn.flightfeather.supervision.lightshare.vo.SceneProblemSummary"> |
| | | <id property="sceneId" column="sceneId"/> |
| | |
| | | LEFT JOIN sm_t_scense AS f ON a.S_GUID = f.S_GUID |
| | | LEFT JOIN tm_t_subtask AS c ON a.ST_GUID = c.ST_GUID |
| | | <where> |
| | | <!-- a.ST_GUID IN (--> |
| | | <!-- SELECT--> |
| | | <!-- d.ST_GUID--> |
| | | <!-- FROM--> |
| | | <!-- tm_t_subtask AS d LEFT JOIN tm_t_task AS e ON d.T_GUID = e.T_GUID--> |
| | | <!-- WHERE--> |
| | | <!-- e.T_LevelNum = '2'--> |
| | | <!-- <if test="startTime != null">--> |
| | | <!-- AND e.T_StartTime <= #{startTime}--> |
| | | <!-- </if>--> |
| | | <!-- <if test="endTime != null">--> |
| | | <!-- AND e.T_EndTime >= #{endTime}--> |
| | | <!-- </if>--> |
| | | <!-- <if test="districtCode != null">--> |
| | | <!-- AND e.T_DistrictCode = #{districtCode}--> |
| | | <!-- </if>--> |
| | | <!-- )--> |
| | | <if test="startTime != null"> |
| | | AND c.ST_PlanStartTime >= #{startTime} |
| | | </if> |