| | |
| | | <if test="p.endTime!= null and p.endTime !=''"> |
| | | and DE.create_time <= #{p.endTime} |
| | | </if> |
| | | <include refid="com.kidgrow.oprationcenter.mapper.SysProductMapper.Role_Organization"></include> |
| | | <!-- <include refid="com.kidgrow.oprationcenter.mapper.SysProductMapper.Role_Organization"></include>--> |
| | | </where> |
| | | </sql> |
| | | <select id="groupProductDetail" resultType="com.kidgrow.oprationcenter.vo.GroupProductDetail"> |
| | |
| | | <include refid="whereforall"/> |
| | | order by |
| | | DE.pro_endtime ASC, |
| | | DE.ailight_count ASC, |
| | | DE.pro_begintime ASC, |
| | | DE.id asc |
| | | DE.id ASC |
| | | </select> |
| | | |
| | | <select id="getEnabledCount" resultType="int" parameterType="long"> |