6 changed files with 136 additions and 2 deletions
			
			
		@ -0,0 +1,52 @@ | 
				
			|||||||
 | 
					package com.hnac.hzims.safeproduct.vo; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import io.swagger.annotations.ApiModel; | 
				
			||||||
 | 
					import io.swagger.annotations.ApiModelProperty; | 
				
			||||||
 | 
					import lombok.Data; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.util.Date; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/** | 
				
			||||||
 | 
					 * @author liwen | 
				
			||||||
 | 
					 * @date 2024-01-15 | 
				
			||||||
 | 
					 */ | 
				
			||||||
 | 
					@Data | 
				
			||||||
 | 
					@ApiModel(value = "会议记录表VO类") | 
				
			||||||
 | 
					public class ConferenceRecordDetailVO { | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @ApiModelProperty("会议实际开始时间") | 
				
			||||||
 | 
					    private Date actualStartTime; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @ApiModelProperty("会议实际结束时间") | 
				
			||||||
 | 
					    private Date actualEndTime; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @ApiModelProperty("单位") | 
				
			||||||
 | 
					    private String unit; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @ApiModelProperty("会议地点") | 
				
			||||||
 | 
					    private String location; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @ApiModelProperty("主持人") | 
				
			||||||
 | 
					    private String host; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @ApiModelProperty("会议方式") | 
				
			||||||
 | 
					    private String conferenceMethod; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @ApiModelProperty("会议主题") | 
				
			||||||
 | 
					    private String theme; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @ApiModelProperty("记录人") | 
				
			||||||
 | 
					    private String recorder; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @ApiModelProperty("参会人员") | 
				
			||||||
 | 
					    private String peopleName; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @ApiModelProperty("会议内容") | 
				
			||||||
 | 
					    private String content; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @ApiModelProperty("会议图片") | 
				
			||||||
 | 
					    private String imgPath; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @ApiModelProperty("会议附件") | 
				
			||||||
 | 
					    private String filePath; | 
				
			||||||
 | 
					} | 
				
			||||||
@ -1,4 +1,16 @@ | 
				
			|||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | 
					<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | 
				
			||||||
<mapper namespace="com.hnac.hzims.safeproduct.mapper.ConferenceRecordMapper"> | 
					<mapper namespace="com.hnac.hzims.safeproduct.mapper.ConferenceRecordMapper"> | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <select id="getConferenceRecordDetailById" | 
				
			||||||
 | 
					            resultType="com.hnac.hzims.safeproduct.vo.ConferenceRecordDetailVO"> | 
				
			||||||
 | 
					        SELECT | 
				
			||||||
 | 
					            t1.actual_start_time, t1.actual_end_time, t2.unit, t2.location, t2.host, t2.conference_method, t2.theme, | 
				
			||||||
 | 
					            t1.recorder, t1.people_name, t1.content, t1.img_path, t1.file_path | 
				
			||||||
 | 
					        FROM | 
				
			||||||
 | 
					            hzims_conference_record t1 | 
				
			||||||
 | 
					            ON hzims_conference_plan t2 ON t1.conference_plan_id = t2.id | 
				
			||||||
 | 
					        WHERE | 
				
			||||||
 | 
					            t1.is_deteled = 0 | 
				
			||||||
 | 
					            AND t1.id = #{id} | 
				
			||||||
 | 
					    </select> | 
				
			||||||
</mapper> | 
					</mapper> | 
				
			||||||
					Loading…
					
					
				
		Reference in new issue