| | |
| | | FROM t_yw_point |
| | | LEFT JOIN t_yw_unit ON t_yw_unit.id = t_yw_point.unit_id AND t_yw_point.deleted = 0 |
| | | WHERE t_yw_point.deleted = 0 |
| | | AND TIMESTAMPDIFF(MONTH, NOW(), end_time) <= (SELECT config_value FROM sys_config WHERE config_key = 'operation.and.maintenance.expiration.warning.time') |
| | | AND TIMESTAMPDIFF(MONTH, NOW(), end_time) <= (SELECT config_value |
| | | FROM sys_config |
| | | WHERE config_key = 'operation.and.maintenance.expiration.warning.time') |
| | | ORDER BY end_time |
| | | ]]> |
| | | </select> |
| | |
| | | <if test="province!=null and province == true "> |
| | | and province_tag = #{province} |
| | | </if> |
| | | <if test="commandImage!=null and commandImage == true "> |
| | | and important_command_image_tag = #{commandImage} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |