| | |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | base_case_id, illegal_building_id, writ_type, writ_code, illegal_type, send_time, limit_time, send_content, rectify_time, rectify_situation, remark, writ_pic, original_pic, rectified_pic, othen_pic, create_user, create_time |
| | | base_case_id |
| | | , illegal_building_id, writ_type, writ_code, illegal_type, send_time, limit_time, send_content, rectify_time, rectify_situation, remark, writ_pic, original_pic, rectified_pic, othen_pic, create_user, create_time |
| | | </sql> |
| | | <select id="selectWritPage" resultType="com.ycl.vo.writ.WritVO"> |
| | | SELECT t1.*, t2.`name` as writTemplateName |
| | | FROM ums_writ t1 |
| | | LEFT JOIN ums_writ_template t2 on t1.writ_type = t2.id |
| | | <where> |
| | | <if test="writType != null"> |
| | | t1.writ_type=#{writType} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | </mapper> |