40609aef 张雷

Merge remote-tracking branch 'origin/master' into master

2 个父辈 d3a110da 59bdbce4
正在显示 30 个修改的文件 包含 960 行增加6 行删除
1 package com.skua.common.util.word;
2
3 import org.jeecgframework.poi.excel.entity.vo.PoiBaseConstants;
4 import org.jeecgframework.poi.word.entity.WordImageEntity;
5 import org.jeecgframework.poi.word.entity.params.ExcelListEntity;
6 import org.slf4j.Logger;
7 import org.slf4j.LoggerFactory;
8
9 import javax.imageio.ImageIO;
10 import java.awt.image.BufferedImage;
11 import java.io.ByteArrayOutputStream;
12 import java.io.File;
13 import java.lang.reflect.Method;
14 import java.util.List;
15 import java.util.Map;
16
17 /**
18 * EASYPOI 的公共基础类
19 */
20 public class EasyPoiUtil {
21 private static final Logger LOGGER = LoggerFactory.getLogger(EasyPoiUtil.class);
22
23 private EasyPoiUtil() {
24 }
25 /**
26 * 返回流和图片类型
27 *
28 * @Author JueYue
29 * @date 2013-11-20
30 * @param entity
31 * @return (byte[]) isAndType[0],(Integer)isAndType[1]
32 * @throws Exception
33 */
34 public static Object[] getIsAndType(WordImageEntity entity) throws Exception {
35 Object[] result = new Object[2];
36 String type;
37 if (entity.getType().equals(WordImageEntity.URL)) {
38 ByteArrayOutputStream byteArrayOut = new ByteArrayOutputStream();
39 BufferedImage bufferImg;
40 /*String path = Thread.currentThread().getContextClassLoader().getResource("").toURI().getPath() + entity.getUrl();
41 path = path.replace("WEB-INF/classes/", "");
42 path = path.replace("file:/", "");*/
43
44 String path = entity.getUrl();
45 System.out.println("图片地址="+path);
46 bufferImg = ImageIO.read(new File(path));
47 ImageIO.write(bufferImg, entity.getUrl().substring(entity.getUrl().indexOf(".") + 1, entity.getUrl().length()), byteArrayOut);
48 result[0] = byteArrayOut.toByteArray();
49 type = entity.getUrl().split("/.")[entity.getUrl().split("/.").length - 1];
50 } else {
51 result[0] = entity.getData();
52 type = getFileExtendName(entity.getData());
53 }
54 result[1] = getImageType(type);
55 return result;
56 }
57
58 /**
59 * 解析数据
60 *
61 * @Author JueYue
62 * @date 2013-11-16
63 * @return
64 */
65 public static Object getRealValue(String currentText, Map<String, Object> map) {
66 String params = "";
67 try{
68 while (currentText.indexOf("{{") != -1) {
69 params = currentText.substring(currentText.indexOf("{{") + 2, currentText.indexOf("}}"));
70 Object obj = getParamsValue(params.trim(), map);
71 if(obj != null ){
72 // 判断图片或者是集合
73 if (obj instanceof WordImageEntity || obj instanceof List || obj instanceof ExcelListEntity) {
74 return obj;
75 } else {
76 currentText = currentText.replace("{{" + params + "}}", obj.toString());
77 }
78 }
79 }
80 }catch (Exception e){
81 e.printStackTrace();
82 }
83 return currentText;
84 }
85
86 /**
87 * 获取参数值
88 *
89 * @param params
90 * @param object
91 * @return
92 */
93 @SuppressWarnings("rawtypes")
94 public static Object getParamsValue(String params, Object object) throws Exception {
95 if (params.indexOf(".") != -1) {
96 String[] paramsArr = params.split("\\.");
97 return getValueDoWhile(object, paramsArr, 0);
98 }
99 if (object instanceof Map) {
100 return ((Map) object).get(params);
101 }
102 // return getMethod(params, object.getClass()).invoke(object, new Object[] {});
103 Object result = null;
104 Method method = getMethod(params, object.getClass());
105 if(method != null){
106 result = method.invoke(object, new Object[] {});
107 }
108 return result;
109 }
110
111 /**
112 * 通过遍历过去对象值
113 *
114 * @param object
115 * @param paramsArr
116 * @param index
117 * @return
118 * @throws Exception
119 */
120 @SuppressWarnings("rawtypes")
121 public static Object getValueDoWhile(Object object, String[] paramsArr, int index) throws Exception {
122 if (object == null) {
123 return "";
124 }
125 if (object instanceof WordImageEntity) {
126 return object;
127 }
128 if (object instanceof Map) {
129 object = ((Map) object).get(paramsArr[index]);
130 } else {
131 //object = getMethod(paramsArr[index], object.getClass()).invoke(object, new Object[] {});
132 Method method = getMethod(paramsArr[index], object.getClass());
133 if(method != null){
134 object = method.invoke(object, new Object[] {});
135 }else{
136 object = "";
137 }
138 }
139 return (index == paramsArr.length - 1) ? (object == null ? "" : object) : getValueDoWhile(object, paramsArr, ++index);
140 }
141
142 /**
143 * 获取GET方法
144 *
145 * @param name
146 * @param pojoClass
147 * @return
148 * @throws Exception
149 */
150 public static Method getMethod(String name, Class<?> pojoClass) {
151 StringBuffer getMethodName = new StringBuffer(PoiBaseConstants.GET);
152 getMethodName.append(name.substring(0, 1).toUpperCase());
153 getMethodName.append(name.substring(1));
154 Method method = null;
155 try {
156 method = pojoClass.getMethod(getMethodName.toString(), new Class[] {});
157 } catch (Exception e) {
158 try {
159 method = pojoClass.getMethod(getMethodName.toString().replace(PoiBaseConstants.GET, PoiBaseConstants.IS), new Class[] {});
160 } catch (NoSuchMethodException e1) {
161 e1.printStackTrace();
162 }
163 }
164 return method;
165 }
166 /**
167 * @param photoByte
168 * @return
169 */
170 public static String getFileExtendName(byte[] photoByte) {
171 String strFileExtendName = "JPG";
172 if ((photoByte[0] == 71) && (photoByte[1] == 73) && (photoByte[2] == 70) && (photoByte[3] == 56) && ((photoByte[4] == 55) || (photoByte[4] == 57)) && (photoByte[5] == 97)) {
173 strFileExtendName = "GIF";
174 } else if ((photoByte[6] == 74) && (photoByte[7] == 70) && (photoByte[8] == 73) && (photoByte[9] == 70)) {
175 strFileExtendName = "JPG";
176 } else if ((photoByte[0] == 66) && (photoByte[1] == 77)) {
177 strFileExtendName = "BMP";
178 } else if ((photoByte[1] == 80) && (photoByte[2] == 78) && (photoByte[3] == 71)) {
179 strFileExtendName = "PNG";
180 }
181 return strFileExtendName;
182 }
183
184 private static Integer getImageType(String type) {
185 if (!type.equalsIgnoreCase("JPG") && !type.equalsIgnoreCase("JPEG")) {
186 if (type.equalsIgnoreCase("GIF")) {
187 return 8;
188 } else if (type.equalsIgnoreCase("BMP")) {
189 return 8;
190 } else {
191 return type.equalsIgnoreCase("PNG") ? 6 : 5;
192 }
193 } else {
194 return 5;
195 }
196 }
197 }
1 package com.skua.modules.ajh.controller; 1 package com.skua.modules.ajh.controller;
2 2
3 import java.util.Arrays; 3 import java.io.*;
4 import java.util.List; 4 import java.net.URLEncoder;
5 import java.util.Map; 5 import java.util.*;
6 import java.io.IOException;
7 import java.io.UnsupportedEncodingException;
8 import java.net.URLDecoder; 6 import java.net.URLDecoder;
7 import javax.servlet.ServletOutputStream;
9 import javax.servlet.http.HttpServletRequest; 8 import javax.servlet.http.HttpServletRequest;
10 import javax.servlet.http.HttpServletResponse; 9 import javax.servlet.http.HttpServletResponse;
11 import com.skua.core.api.vo.Result; 10 import com.skua.core.api.vo.Result;
12 import com.skua.core.aspect.annotation.AutoLog; 11 import com.skua.core.aspect.annotation.AutoLog;
13 import com.skua.core.query.QueryGenerator; 12 import com.skua.core.query.QueryGenerator;
14 import com.skua.core.util.ConvertUtils; 13 import com.skua.core.util.ConvertUtils;
14 import com.skua.modules.ajh.entity.AjhMeeting;
15 import com.skua.modules.ajh.entity.AjhMeetingAttend;
15 import com.skua.modules.ajh.entity.AjhMeetingMinutes; 16 import com.skua.modules.ajh.entity.AjhMeetingMinutes;
17 import com.skua.modules.ajh.entity.AjhMeetingSend;
18 import com.skua.modules.ajh.service.IAjhMeetingAttendService;
16 import com.skua.modules.ajh.service.IAjhMeetingMinutesService; 19 import com.skua.modules.ajh.service.IAjhMeetingMinutesService;
17 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; 20 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
18 import com.baomidou.mybatisplus.core.metadata.IPage; 21 import com.baomidou.mybatisplus.core.metadata.IPage;
19 import com.baomidou.mybatisplus.extension.plugins.pagination.Page; 22 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
23 import com.skua.modules.ajh.service.IAjhMeetingSendService;
24 import com.skua.modules.ajh.service.IAjhMeetingService;
25 import com.skua.modules.ajh.util.Base64Utils;
26 import com.skua.modules.ajh.util.WordUtil;
27 import com.skua.modules.ajh.vo.ExportAjhMeetingMinutesVO;
20 import lombok.extern.slf4j.Slf4j; 28 import lombok.extern.slf4j.Slf4j;
21 29
30 import org.apache.poi.xwpf.usermodel.XWPFDocument;
31 import org.bytedeco.javacv.FrameFilter;
22 import org.jeecgframework.poi.excel.ExcelImportUtil; 32 import org.jeecgframework.poi.excel.ExcelImportUtil;
23 import org.jeecgframework.poi.excel.def.NormalExcelConstants; 33 import org.jeecgframework.poi.excel.def.NormalExcelConstants;
24 import org.jeecgframework.poi.excel.entity.ExportParams; 34 import org.jeecgframework.poi.excel.entity.ExportParams;
25 import org.jeecgframework.poi.excel.entity.ImportParams; 35 import org.jeecgframework.poi.excel.entity.ImportParams;
26 import org.jeecgframework.poi.excel.view.JeecgEntityExcelView; 36 import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
27 37
38 import org.jeecgframework.poi.word.WordExportUtil;
39 import org.jeecgframework.poi.word.entity.MyXWPFDocument;
28 import org.springframework.beans.factory.annotation.Autowired; 40 import org.springframework.beans.factory.annotation.Autowired;
29 import org.springframework.web.bind.annotation.*; 41 import org.springframework.web.bind.annotation.*;
30 import org.springframework.web.multipart.MultipartFile; 42 import org.springframework.web.multipart.MultipartFile;
...@@ -46,8 +58,19 @@ import io.swagger.annotations.ApiOperation; ...@@ -46,8 +58,19 @@ import io.swagger.annotations.ApiOperation;
46 @RestController 58 @RestController
47 @RequestMapping("/ajh/meetingMinutes") 59 @RequestMapping("/ajh/meetingMinutes")
48 public class AjhMeetingMinutesController { 60 public class AjhMeetingMinutesController {
61
62 @Autowired
63 private IAjhMeetingMinutesService ajhMeetingMinutesService;//会议纪要
64
65 @Autowired
66 private IAjhMeetingService meetingService;// 会议记录
67
68 @Autowired
69 private IAjhMeetingSendService meetingSendService;//会议通知
70
49 @Autowired 71 @Autowired
50 private IAjhMeetingMinutesService ajhMeetingMinutesService; 72 private IAjhMeetingAttendService meetingAttendService;//会议签到记录
73
51 74
52 /** 75 /**
53 * <pre> 76 * <pre>
...@@ -292,5 +315,74 @@ public class AjhMeetingMinutesController { ...@@ -292,5 +315,74 @@ public class AjhMeetingMinutesController {
292 } 315 }
293 return Result.ok("文件导入失败!"); 316 return Result.ok("文件导入失败!");
294 } 317 }
318 /***
319 * 下载会议纪要
320 * @param id
321 * @param response
322 */
323 @AutoLog(value = "会议纪要管理-通过会议纪要id下载会议纪要")
324 @ApiOperation(value="会议纪要管理-通过id下载会议纪要", notes="会议纪要管理-通过id下载会议纪要")
325 @GetMapping("/exportWordData")
326 public void exportWordData(@RequestParam(name="id",required=true) String id,HttpServletResponse response ) {
327 String templatePath = null;//导出模板文件名称
328 String exportName = "****---会议纪要.docx";//导出文件名称
329 Map<String ,Object> paramMap = new HashMap<String,Object>();
330
331 AjhMeetingMinutes ajhMeetingMinutes = ajhMeetingMinutesService.getDataById(id);
332 ExportAjhMeetingMinutesVO exprotVo = new ExportAjhMeetingMinutesVO();
333 // 标题:meetTitile 机构名称:orgDepart 纪要图片 , 住持人 ;纪要内容 ; 会议地点
334 exprotVo.convert( exprotVo , ajhMeetingMinutes);
335 // 会议记录
336 AjhMeetingSend meetingSend = meetingSendService.getById( ajhMeetingMinutes.getMeetsId() );
337 //会议通知
338 AjhMeeting meeting = meetingService.getById( meetingSend.getMeetId() );
339 //签到集合
340 List<AjhMeetingAttend> meetingAttendList = meetingAttendService.getByMeetsId( ajhMeetingMinutes.getMeetsId() );
341 if(meetingAttendList == null || meetingAttendList.isEmpty()){
342 meetingAttendList = new ArrayList<AjhMeetingAttend>();
343 }
344 paramMap.put("dataList",meetingAttendList);
295 345
346 //导出word
347 exportWordData( templatePath , exportName , paramMap ,response);
348 }
349
350 private void exportWordData(String templatePath , String exportName , Map<String ,Object> paramMap, HttpServletResponse response ){
351 InputStream is = null;
352
353 //具体业务处理方法
354 try {
355 //获取word文档解析对象
356 is = new FileInputStream(templatePath);
357 //加载模板文件
358 MyXWPFDocument document = new MyXWPFDocument(is);
359
360
361 //解析07版的Word并且进行赋值
362 WordExportUtil.exportWord07(document, paramMap);
363
364 // .doc格式文档,设置响应内容类型为 Word 文档
365 response.setContentType("application/msword");
366 //String exportName = "***--会议纪要.docx";
367 // .docx格式文档,设置响应内容类型为 Word 文档
368 response.setContentType("application/vnd.openxmlformats-officedocument.wordprocessingml.document");
369 // .docx格式文档,设置响应头,指示浏览器将响应内容作为文件下载
370 response.setHeader("Content-Disposition", "attachment;filename=".concat(String.valueOf(URLEncoder.encode(exportName , "UTF-8"))));
371 // 将文档写入响应的输出流
372
373 document.write(response.getOutputStream());
374 // 刷新和关闭输出流
375 response.getOutputStream().flush();
376 response.getOutputStream().close();
377 }
378 catch (Exception e) {
379 e.printStackTrace();
380 }finally {
381 try{
382 if(is != null ) is.close();//关闭输入流
383 }catch (Exception e1){
384 e1.printStackTrace();
385 }
386 }
387 }
296 } 388 }
......
...@@ -92,4 +92,8 @@ public class AjhMeetingAttend { ...@@ -92,4 +92,8 @@ public class AjhMeetingAttend {
92 @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") 92 @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
93 @ApiModelProperty(value = "更新时间") 93 @ApiModelProperty(value = "更新时间")
94 private Date updateTime; 94 private Date updateTime;
95
96 @TableField(exist = false)
97 @ApiModelProperty(value = "序号")
98 private Integer index;
95 } 99 }
......
...@@ -3,6 +3,7 @@ package com.skua.modules.ajh.service; ...@@ -3,6 +3,7 @@ package com.skua.modules.ajh.service;
3 import com.skua.modules.ajh.entity.AjhMeetingAttend; 3 import com.skua.modules.ajh.entity.AjhMeetingAttend;
4 import com.baomidou.mybatisplus.extension.service.IService; 4 import com.baomidou.mybatisplus.extension.service.IService;
5 import com.skua.modules.ajh.entity.AjhMeetingSend; 5 import com.skua.modules.ajh.entity.AjhMeetingSend;
6 import org.apache.ibatis.annotations.Param;
6 7
7 import java.util.List; 8 import java.util.List;
8 9
...@@ -13,4 +14,11 @@ public interface IAjhMeetingAttendService extends IService<AjhMeetingAttend> { ...@@ -13,4 +14,11 @@ public interface IAjhMeetingAttendService extends IService<AjhMeetingAttend> {
13 14
14 List<AjhMeetingAttend> init(AjhMeetingSend ajhMeetingSend); 15 List<AjhMeetingAttend> init(AjhMeetingSend ajhMeetingSend);
15 16
17 /***
18 * 根据会议纪要获取签到记录
19 * @param meetsId
20 * @return
21 */
22 public List<AjhMeetingAttend> getByMeetsId(@Param("meetsId")String meetsId);
23
16 } 24 }
......
1 package com.skua.modules.ajh.service.impl; 1 package com.skua.modules.ajh.service.impl;
2 2
3 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
3 import com.skua.modules.ajh.entity.AjhMeetingAttend; 4 import com.skua.modules.ajh.entity.AjhMeetingAttend;
4 import com.skua.modules.ajh.entity.AjhMeetingSend; 5 import com.skua.modules.ajh.entity.AjhMeetingSend;
5 import com.skua.modules.ajh.mapper.AjhMeetingAttendMapper; 6 import com.skua.modules.ajh.mapper.AjhMeetingAttendMapper;
6 import com.skua.modules.ajh.service.IAjhMeetingAttendService; 7 import com.skua.modules.ajh.service.IAjhMeetingAttendService;
7 import com.skua.modules.system.entity.SysUser; 8 import com.skua.modules.system.entity.SysUser;
9 import com.skua.modules.system.entity.SysUserDepart;
8 import org.springframework.stereotype.Service; 10 import org.springframework.stereotype.Service;
9 11
10 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 12 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
...@@ -48,4 +50,13 @@ public class AjhMeetingAttendServiceImpl extends ServiceImpl<AjhMeetingAttendMap ...@@ -48,4 +50,13 @@ public class AjhMeetingAttendServiceImpl extends ServiceImpl<AjhMeetingAttendMap
48 } 50 }
49 return list; 51 return list;
50 } 52 }
53
54 @Override
55 public List<AjhMeetingAttend> getByMeetsId(String meetsId) {
56 LambdaQueryWrapper<AjhMeetingAttend> queryAttend = new LambdaQueryWrapper<AjhMeetingAttend>();
57 queryAttend.eq(AjhMeetingAttend::getMeetsId, meetsId);
58 queryAttend.orderByDesc(AjhMeetingAttend::getCreateTime);//添加排序
59 List<AjhMeetingAttend> dataList = this.list(queryAttend);
60 return dataList;
61 }
51 } 62 }
......
1 package com.skua.modules.ajh.vo;
2
3 import com.skua.modules.ajh.entity.AjhMeetingAttend;
4 import com.skua.modules.ajh.entity.AjhMeetingMinutes;
5 import io.swagger.annotations.ApiModel;
6 import io.swagger.annotations.ApiModelProperty;
7 import lombok.Data;
8 import org.jeecgframework.poi.excel.annotation.Excel;
9
10 import java.util.List;
11
12
13 /**
14 * 会议纪要管理
15 */
16 @Data
17 @ApiModel(value="ajh_meeting_minutes对象", description="导出:会议纪要管理模板对象")
18 public class ExportAjhMeetingMinutesVO {
19
20 /**组织单位*/
21 @Excel(name = "组织单位", width = 15)
22 @ApiModelProperty(value = "组织单位")
23 private String orgDepart;
24 /**标题*/
25 @Excel(name = "标题", width = 15)
26 @ApiModelProperty(value = "标题")
27 private String meetTitile;
28
29 /**内容*/
30 @Excel(name = "会议内容", width = 15)
31 @ApiModelProperty(value = "会议内容")
32 private String meetingContent;
33
34
35 /**内容*/
36 @Excel(name = "会议纪要内容", width = 15)
37 @ApiModelProperty(value = "会议纪要内容")
38 private String minutesContent;
39
40 /**地点*/
41 @Excel(name = "会议地点", width = 15)
42 @ApiModelProperty(value = "会议地点")
43 private String meetingPlace;
44 /**主持人*/
45 @Excel(name = "主持人", width = 15)
46 @ApiModelProperty(value = "主持人")
47 private String compere;
48 /**时间*/
49 @Excel(name = "时间", width = 15)
50 @ApiModelProperty(value = "时间")
51 private String annTime;
52 /**图片*/
53 @Excel(name = "会议纪要图片", width = 15)
54 @ApiModelProperty(value = "会议纪要图片")
55 private String meetingImg;
56 /**发布时间*/
57 @Excel(name = "发布时间", width = 15)
58 @ApiModelProperty(value = "发布时间")
59 private String sendDate;
60
61
62 @ApiModelProperty(value = "签到记录集合")
63 private List<AjhMeetingAttend> meetingAttendList ;//签到记录
64
65 //将会议纪要转换为 会议导出模板对象
66 public void convert(ExportAjhMeetingMinutesVO exprotVo ,AjhMeetingMinutes ajhMeetingMinutes){
67 // ExportAjhMeetingMinutesVO exprotVo = new ExportAjhMeetingMinutesVO();
68 //exprotVo.setAnnTime();
69 exprotVo.setCompere(ajhMeetingMinutes.getCompere());//主持人
70 //会议纪要内容
71 String meetingMinutesContent = ajhMeetingMinutes.getDetail();
72 if(meetingMinutesContent != null ){
73 String content = meetingMinutesContent.toString().replaceAll("\\<.*?>", "");
74 meetingMinutesContent = content;
75 }else{
76 meetingMinutesContent ="";
77 }
78 exprotVo.setMinutesContent(meetingMinutesContent); //会议纪要内容
79 exprotVo.setOrgDepart(ajhMeetingMinutes.getOrgDepart());//集团名称
80 exprotVo.setSendDate(ajhMeetingMinutes.getSendDate());//发送时间
81 exprotVo.setMeetTitile(ajhMeetingMinutes.getTitle());//会议标题
82 exprotVo.setMeetingPlace( ajhMeetingMinutes.getPlace()); //会议地址
83 exprotVo.setMeetingPlace( ajhMeetingMinutes.getImage() );//会议图片;需要补全路径
84 }
85 }
...@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.annotation.IdType; ...@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.annotation.IdType;
6 import com.baomidou.mybatisplus.annotation.TableId; 6 import com.baomidou.mybatisplus.annotation.TableId;
7 import com.baomidou.mybatisplus.annotation.TableName; 7 import com.baomidou.mybatisplus.annotation.TableName;
8 import com.baomidou.mybatisplus.annotation.TableField; 8 import com.baomidou.mybatisplus.annotation.TableField;
9 import com.skua.core.aspect.annotation.Dict;
9 import io.swagger.annotations.ApiModel; 10 import io.swagger.annotations.ApiModel;
10 import io.swagger.annotations.ApiModelProperty; 11 import io.swagger.annotations.ApiModelProperty;
11 import lombok.Data; 12 import lombok.Data;
...@@ -68,14 +69,17 @@ public class EpibolyCompany { ...@@ -68,14 +69,17 @@ public class EpibolyCompany {
68 /**合作状态(1:首次,2:重复,9:停止合作)*/ 69 /**合作状态(1:首次,2:重复,9:停止合作)*/
69 @Excel(name = "合作状态(1:首次,2:重复,9:停止合作)", width = 15) 70 @Excel(name = "合作状态(1:首次,2:重复,9:停止合作)", width = 15)
70 @ApiModelProperty(value = "合作状态(1:首次,2:重复,9:停止合作)") 71 @ApiModelProperty(value = "合作状态(1:首次,2:重复,9:停止合作)")
72 @Dict(dicCode = "cooperate_status")
71 private String cooperateStatus; 73 private String cooperateStatus;
72 /**是否购置保险*/ 74 /**是否购置保险*/
73 @Excel(name = "是否购置保险", width = 15) 75 @Excel(name = "是否购置保险", width = 15)
74 @ApiModelProperty(value = "是否购置保险") 76 @ApiModelProperty(value = "是否购置保险")
77 @Dict(dicCode = "yn")
75 private String buyInsure; 78 private String buyInsure;
76 /**员工人数*/ 79 /**员工人数*/
77 @Excel(name = "员工人数", width = 15) 80 @Excel(name = "员工人数", width = 15)
78 @ApiModelProperty(value = "员工人数") 81 @ApiModelProperty(value = "员工人数")
82 @TableField(exist = false)
79 private Integer staffNum; 83 private Integer staffNum;
80 /**经纬度*/ 84 /**经纬度*/
81 @Excel(name = "经纬度", width = 15) 85 @Excel(name = "经纬度", width = 15)
......
...@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.annotation.IdType; ...@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.annotation.IdType;
6 import com.baomidou.mybatisplus.annotation.TableId; 6 import com.baomidou.mybatisplus.annotation.TableId;
7 import com.baomidou.mybatisplus.annotation.TableName; 7 import com.baomidou.mybatisplus.annotation.TableName;
8 import com.baomidou.mybatisplus.annotation.TableField; 8 import com.baomidou.mybatisplus.annotation.TableField;
9 import com.skua.core.aspect.annotation.Dict;
9 import io.swagger.annotations.ApiModel; 10 import io.swagger.annotations.ApiModel;
10 import io.swagger.annotations.ApiModelProperty; 11 import io.swagger.annotations.ApiModelProperty;
11 import lombok.Data; 12 import lombok.Data;
...@@ -41,6 +42,7 @@ public class EpibolyOuterStaff { ...@@ -41,6 +42,7 @@ public class EpibolyOuterStaff {
41 /**关联外协单位ID*/ 42 /**关联外协单位ID*/
42 @Excel(name = "外协类型", width = 15) 43 @Excel(name = "外协类型", width = 15)
43 @ApiModelProperty(value = "外协类型:1 单位合作;2 个人合作") 44 @ApiModelProperty(value = "外协类型:1 单位合作;2 个人合作")
45 @Dict(dicCode = "cooperate_type")
44 private String cooperateType; 46 private String cooperateType;
45 47
46 48
...@@ -51,6 +53,7 @@ public class EpibolyOuterStaff { ...@@ -51,6 +53,7 @@ public class EpibolyOuterStaff {
51 /**性别(0-默认未知,1-男,2-女)*/ 53 /**性别(0-默认未知,1-男,2-女)*/
52 @Excel(name = "性别(0-默认未知,1-男,2-女)", width = 15) 54 @Excel(name = "性别(0-默认未知,1-男,2-女)", width = 15)
53 @ApiModelProperty(value = "性别(0-默认未知,1-男,2-女)") 55 @ApiModelProperty(value = "性别(0-默认未知,1-男,2-女)")
56 @Dict(dicCode = "sex")
54 private Integer sex; 57 private Integer sex;
55 /**电子邮件*/ 58 /**电子邮件*/
56 @Excel(name = "电子邮件", width = 15) 59 @Excel(name = "电子邮件", width = 15)
......
1 package com.skua.modules.safe.mapper;
2
3 import java.util.List;
4
5 import com.skua.modules.safe.entity.EpibolyCertificate;
6 import org.apache.ibatis.annotations.Param;
7 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
8
9 /**
10 * 外协相关证件
11 */
12 public interface EpibolyCertificateMapper extends BaseMapper<EpibolyCertificate> {
13
14 /***
15 * 根据外协单位编号获取外协相关证件的的集合
16 * @param companyId
17 * @return
18 */
19 public List<EpibolyCertificate> queryByCompanyId(@Param("companyId") String companyId);
20
21 /***
22 * 根据外协单位编号,删除相关记录
23 * @param companyId
24 */
25 public void deleteByCompanyId(@Param("companyId") String companyId);
26 }
1 package com.skua.modules.safe.mapper;
2
3
4 import com.skua.modules.safe.vo.EpibolyCompanyVO;
5 import org.apache.ibatis.annotations.Param;
6 import com.skua.modules.safe.entity.EpibolyCompany;
7 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
8
9 /**
10 * 外协单位表
11 */
12 public interface EpibolyCompanyMapper extends BaseMapper<EpibolyCompany> {
13
14 /***
15 * 根据id 查询外协单位关联所有的数据
16 * @param id
17 * @return
18 */
19 public EpibolyCompanyVO queryById( @Param("id") String id);
20 }
1 package com.skua.modules.safe.mapper;
2
3 import java.util.List;
4
5 import org.apache.ibatis.annotations.Param;
6 import com.skua.modules.safe.entity.EpibolyContract;
7 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
8
9 /**
10 * 外协合同表
11 */
12 public interface EpibolyContractMapper extends BaseMapper<EpibolyContract> {
13 /***
14 * 根据外协单位编号获取外协合同的的集合
15 * @param companyId
16 * @return
17 */
18 public List<EpibolyContract> queryByCompanyId(@Param("companyId") String companyId);
19
20 /***
21 * 根据外协单位编号,删除相关记录
22 * @param companyId
23 */
24 public void deleteByCompanyId(@Param("companyId") String companyId);
25 }
1 package com.skua.modules.safe.mapper;
2
3 import java.util.List;
4
5 import org.apache.ibatis.annotations.Param;
6 import com.skua.modules.safe.entity.EpibolyOuterStaff;
7 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
8
9 /**
10 * 外协员工表
11 */
12 public interface EpibolyOuterStaffMapper extends BaseMapper<EpibolyOuterStaff> {
13 /***
14 * 根据外协单位编号获取外协员工的的集合
15 * @param companyId
16 * @return
17 */
18 public List<EpibolyOuterStaff> queryByCompanyId(@Param("companyId") String companyId);
19
20 /***
21 * 设置外协的单位的员工人数
22 * @param companyId
23 */
24 public void updateCompanyStaffNum(@Param("companyId") String companyId);
25
26 /**
27 * 根据外协单位编号,删除相关记录
28 * @param companyId
29 */
30 public void deleteByCompanyId(@Param("companyId")String companyId);
31 }
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3 <mapper namespace="com.skua.modules.safe.mapper.EpibolyCertificateMapper">
4
5 <!-- 根据外协单位编号获取外协员工的的集合 -->
6 <select id="queryByCompanyId" resultType="com.skua.modules.safe.entity.EpibolyCertificate">
7 select t.* from where epiboly_certificate t where t.company_id =#{companyId}
8 </select>
9
10 <!-- 根据外协单位编号,删除相关记录-->
11 <delete id="deleteByCompanyId" >
12 delete from epiboly_certificate where company_id =#{companyId}
13 </delete>
14 </mapper>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3 <mapper namespace="com.skua.modules.safe.mapper.EpibolyCompanyMapper">
4
5
6 <select id="queryById" resultType="com.skua.modules.safe.vo.EpibolyCompanyVO">
7
8 select * from epiboly_company where id = #{id}
9 </select>
10
11 </mapper>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3 <mapper namespace="com.skua.modules.safe.mapper.EpibolyContractMapper">
4
5 <!-- 根据外协单位编号获取外协员工的的集合 -->
6 <select id="queryByCompanyId" resultType="com.skua.modules.safe.entity.EpibolyContract">
7 select t.* from where epiboly_contract t where t.company_id =#{companyId}
8 </select>
9
10 <!-- 根据外协单位编号,删除相关记录-->
11 <delete id="deleteByCompanyId" >
12 delete from epiboly_contract where company_id =#{companyId}
13 </delete>
14 </mapper>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3 <mapper namespace="com.skua.modules.safe.mapper.EpibolyOuterStaffMapper">
4
5
6 <!-- 根据外协单位编号获取外协员工的的集合 -->
7 <select id="queryByCompanyId" resultType="com.skua.modules.safe.entity.EpibolyOuterStaff">
8 select t.* from where epiboly_outer_staff t where t.company_id =#{companyId}
9 </select>
10
11 <!-- 修改外协单位人员数量-->
12 <update id="updateCompanyStaffNum" >
13 update epiboly_company c set c.staff_num = (select count(1) from epiboly_outer_staff eos where eos.company_id = #{companyId} ) where c.id = #{companyId}
14 </update>
15
16 <!-- 根据外协单位编号,删除相关记录-->
17 <delete id="deleteByCompanyId" >
18 delete from epiboly_outer_staff where company_id =#{companyId}
19 </delete>
20 </mapper>
...\ No newline at end of file ...\ No newline at end of file
1 package com.skua.modules.safe.service;
2
3 import com.skua.modules.safe.entity.EpibolyCertificate;
4 import com.baomidou.mybatisplus.extension.service.IService;
5
6 /**
7 * 外协相关证件
8 */
9 public interface IEpibolyCertificateService extends IService<EpibolyCertificate> {
10
11 }
1 package com.skua.modules.safe.service;
2
3 import com.skua.modules.safe.entity.EpibolyCompany;
4 import com.baomidou.mybatisplus.extension.service.IService;
5 import com.skua.modules.safe.vo.EpibolyCompanyVO;
6
7 import java.util.List;
8
9 /**
10 * 外协单位表
11 */
12 public interface IEpibolyCompanyService extends IService<EpibolyCompany> {
13 /***
14 * 获取外协单位对象、外协相关证件集合、外协合同集合、外协人员集合
15 * @param companyId 外协单位编号
16 * @return
17 */
18 public EpibolyCompanyVO queryByCompanyId(String companyId);
19
20 /***
21 * 根据部门编号获取,部门下的所有外协单位集合
22 * @param departId
23 * @return
24 */
25 public List<EpibolyCompany> queryListByDepartId(String departId);
26
27 /***
28 * 根据id删除:外协单位、合同、证书、人员等信息
29 * @param id
30 */
31 public void delById(String id);
32 }
1 package com.skua.modules.safe.service;
2
3 import com.skua.modules.safe.entity.EpibolyContract;
4 import com.baomidou.mybatisplus.extension.service.IService;
5
6 /**
7 * 外协合同表
8 */
9 public interface IEpibolyContractService extends IService<EpibolyContract> {
10
11 }
1 package com.skua.modules.safe.service;
2
3 import com.skua.modules.safe.entity.EpibolyOuterStaff;
4 import com.baomidou.mybatisplus.extension.service.IService;
5
6 import java.util.List;
7
8 /**
9 * 外协员工表
10 */
11 public interface IEpibolyOuterStaffService extends IService<EpibolyOuterStaff> {
12
13 /***
14 * 新增外协人员表
15 * @param epibolyOuterStaff
16 */
17 public void saveEpibolyOuterStaff(EpibolyOuterStaff epibolyOuterStaff);
18
19 /***
20 * 删除外协人员
21 * @param id
22 */
23 public void delById(String id);
24
25 /***
26 * 批量删除,同步外协单位的人数
27 * @param idList
28 */
29 public void deleteBatch(List<String> idList);
30 }
1 package com.skua.modules.safe.service.impl;
2
3 import com.skua.modules.safe.entity.EpibolyCertificate;
4 import com.skua.modules.safe.mapper.EpibolyCertificateMapper;
5 import com.skua.modules.safe.service.IEpibolyCertificateService;
6 import org.springframework.stereotype.Service;
7
8 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
9
10 /**
11 * 外协相关证件
12 */
13 @Service
14 public class EpibolyCertificateServiceImpl extends ServiceImpl<EpibolyCertificateMapper, EpibolyCertificate> implements IEpibolyCertificateService {
15
16 }
1 package com.skua.modules.safe.service.impl;
2
3 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
4 import com.skua.modules.safe.entity.EpibolyCertificate;
5 import com.skua.modules.safe.entity.EpibolyCompany;
6 import com.skua.modules.safe.entity.EpibolyContract;
7 import com.skua.modules.safe.entity.EpibolyOuterStaff;
8 import com.skua.modules.safe.mapper.EpibolyCertificateMapper;
9 import com.skua.modules.safe.mapper.EpibolyCompanyMapper;
10 import com.skua.modules.safe.mapper.EpibolyContractMapper;
11 import com.skua.modules.safe.mapper.EpibolyOuterStaffMapper;
12 import com.skua.modules.safe.service.IEpibolyCompanyService;
13 import com.skua.modules.safe.vo.EpibolyCompanyVO;
14 import com.skua.modules.system.entity.SysAnnouncementSend;
15 import org.springframework.stereotype.Service;
16
17 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
18 import org.springframework.transaction.annotation.Transactional;
19
20 import javax.annotation.Resource;
21 import java.util.List;
22
23 /**
24 * 外协单位表
25 */
26 @Service
27 public class EpibolyCompanyServiceImpl extends ServiceImpl<EpibolyCompanyMapper, EpibolyCompany> implements IEpibolyCompanyService {
28
29 @Resource
30 private EpibolyCompanyMapper companyMapper; //外协单位
31 @Resource
32 private EpibolyCertificateMapper certificateMapper; //外协相关证件
33 @Resource
34 private EpibolyContractMapper contractMapper;//外协合同
35 @Resource
36 private EpibolyOuterStaffMapper outerStaffMapper;//外协人员
37
38
39
40
41 /***
42 * 获取外协单位对象、外协相关证件集合、外协合同集合、外协人员集合
43 * @param companyId 外协单位编号
44 * @return
45 */
46 public EpibolyCompanyVO queryByCompanyId(String companyId){
47
48 EpibolyCompanyVO epibolyCompanyVO = companyMapper.queryById(companyId);
49 //外协相关证件
50 List<EpibolyCertificate> certificateList = certificateMapper.queryByCompanyId(companyId);
51 //外协合同
52 List<EpibolyContract> contractList = contractMapper.queryByCompanyId(companyId);
53 //外协人员
54 List<EpibolyOuterStaff> outerStaffList = outerStaffMapper.queryByCompanyId(companyId);
55 if(epibolyCompanyVO != null ){
56 epibolyCompanyVO.setEpibolyCertificateList( certificateList );
57 epibolyCompanyVO.setEpibolyContractList( contractList );
58 epibolyCompanyVO.setEpibolyOuterStaffList( outerStaffList );
59 }
60 return epibolyCompanyVO;
61 }
62
63 /***
64 * 根据部门编号获取,部门下的所有外协单位集合
65 * @param departId
66 * @return
67 */
68 public List<EpibolyCompany> queryListByDepartId(String departId){
69 LambdaQueryWrapper<EpibolyCompany> queryWrapper = new LambdaQueryWrapper<EpibolyCompany>();
70 queryWrapper.eq(EpibolyCompany::getDepartId, departId);
71 List<EpibolyCompany> epibolyCompanyList = companyMapper.selectList(queryWrapper);
72 return epibolyCompanyList;
73 }
74
75 /***
76 * 根据id删除:外协单位、合同、证书、人员等信息
77 * @param companyId
78 */
79 @Transactional
80 public void delById(String companyId){
81 certificateMapper.deleteByCompanyId(companyId);
82 contractMapper.deleteByCompanyId(companyId);
83 outerStaffMapper.deleteByCompanyId(companyId);
84 companyMapper.deleteById(companyId );
85 }
86
87
88
89 }
1 package com.skua.modules.safe.service.impl;
2
3 import com.skua.modules.safe.entity.EpibolyContract;
4 import com.skua.modules.safe.mapper.EpibolyContractMapper;
5 import com.skua.modules.safe.service.IEpibolyContractService;
6 import org.springframework.stereotype.Service;
7
8 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
9
10 /**
11 * 外协合同表
12 */
13 @Service
14 public class EpibolyContractServiceImpl extends ServiceImpl<EpibolyContractMapper, EpibolyContract> implements IEpibolyContractService {
15
16 }
1 package com.skua.modules.safe.service.impl;
2
3 import com.skua.modules.safe.entity.EpibolyOuterStaff;
4 import com.skua.modules.safe.mapper.EpibolyOuterStaffMapper;
5 import com.skua.modules.safe.service.IEpibolyOuterStaffService;
6 import org.springframework.stereotype.Service;
7
8 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
9 import org.springframework.transaction.annotation.Transactional;
10
11 import java.util.List;
12
13 /**
14 * 外协员工表
15 */
16 @Service
17 public class EpibolyOuterStaffServiceImpl extends ServiceImpl<EpibolyOuterStaffMapper, EpibolyOuterStaff> implements IEpibolyOuterStaffService {
18
19 @Override
20 @Transactional
21 public void saveEpibolyOuterStaff(EpibolyOuterStaff epibolyOuterStaff) {
22 this.baseMapper.insert(epibolyOuterStaff);
23 /***
24 * 修改外协单位的员工人数
25 */
26 if(epibolyOuterStaff.getCompanyId() != null ){
27 this.baseMapper.updateCompanyStaffNum( epibolyOuterStaff.getCompanyId() );
28 }
29
30 }
31
32 /***
33 * 删除外协人员,同步外协人员数量
34 * @param id
35 */
36 public void delById(String id){
37 EpibolyOuterStaff epibolyOuterStaff = this.baseMapper.selectById(id);
38 this.baseMapper.deleteById(id);//根据编号删除人员记录
39 if(epibolyOuterStaff != null && epibolyOuterStaff.getCompanyId() != null ){
40 this.baseMapper.updateCompanyStaffNum( epibolyOuterStaff.getCompanyId() );
41 }
42 }
43
44 /***
45 * 批量删除,同步外协单位的人数
46 * @param idList
47 */
48 public void deleteBatch(List<String> idList){
49 EpibolyOuterStaff epibolyOuterStaff = null;
50 if(idList != null && !idList.isEmpty()){
51 epibolyOuterStaff = this.baseMapper.selectById(idList.get(0));
52 }
53 //批量删除外协员工
54 this.baseMapper.deleteBatchIds(idList);
55 //同步外协单位人员数量
56 if(epibolyOuterStaff != null && epibolyOuterStaff.getCompanyId() != null ){
57 this.baseMapper.updateCompanyStaffNum( epibolyOuterStaff.getCompanyId() );
58 }
59
60 }
61 }
1 package com.skua.modules.safe.vo;
2
3
4 import com.skua.modules.safe.entity.EpibolyCertificate;
5 import com.skua.modules.safe.entity.EpibolyContract;
6 import com.skua.modules.safe.entity.EpibolyOuterStaff;
7 import io.swagger.annotations.ApiModel;
8 import io.swagger.annotations.ApiModelProperty;
9 import lombok.Data;
10 import com.fasterxml.jackson.annotation.JsonFormat;
11 import org.springframework.format.annotation.DateTimeFormat;
12 import org.jeecgframework.poi.excel.annotation.Excel;
13
14 import java.util.List;
15
16 /**
17 * 外协单位表
18 */
19 @Data
20 @ApiModel(value="epiboly_company数据传输对象", description="外协单位表")
21 public class EpibolyCompanyVO {
22
23 /**主键*/
24 @ApiModelProperty(value = "主键")
25 private java.lang.String id;
26 /**关联部门编号*/
27 @Excel(name = "关联部门编号", width = 15)
28 @ApiModelProperty(value = "关联部门编号")
29 private java.lang.String departId;
30 /**公司名称*/
31 @Excel(name = "公司名称", width = 15)
32 @ApiModelProperty(value = "公司名称")
33 private java.lang.String companyName;
34 /**法定代表人*/
35 @Excel(name = "法定代表人", width = 15)
36 @ApiModelProperty(value = "法定代表人")
37 private java.lang.String legalPerson;
38 /**法人电话*/
39 @Excel(name = "法人电话", width = 15)
40 @ApiModelProperty(value = "法人电话")
41 private java.lang.String egalPhone;
42 /**公司地址*/
43 @Excel(name = "公司地址", width = 15)
44 @ApiModelProperty(value = "公司地址")
45 private java.lang.String companyAddress;
46 /**注册日期*/
47 @Excel(name = "注册日期", width = 15)
48 @ApiModelProperty(value = "注册日期")
49 private java.lang.String registerDate;
50 /**签订时间*/
51 @Excel(name = "签订时间", width = 15)
52 @ApiModelProperty(value = "签订时间")
53 private java.lang.String docuDate;
54 /**合同到期时间*/
55 @Excel(name = "合同到期时间", width = 15)
56 @ApiModelProperty(value = "合同到期时间")
57 private java.lang.String expireDate;
58 /**经营范围*/
59 @Excel(name = "经营范围", width = 15)
60 @ApiModelProperty(value = "经营范围")
61 private java.lang.String businessScope;
62 /**合作状态(1:首次,2:重复,9:停止合作)*/
63 @Excel(name = "合作状态(1:首次,2:重复,9:停止合作)", width = 15)
64 @ApiModelProperty(value = "合作状态(1:首次,2:重复,9:停止合作)")
65 private java.lang.String cooperateStatus;
66 /**是否购置保险*/
67 @Excel(name = "是否购置保险", width = 15)
68 @ApiModelProperty(value = "是否购置保险")
69 private java.lang.String buyInsure;
70 /**员工人数*/
71 @Excel(name = "员工人数", width = 15)
72 @ApiModelProperty(value = "员工人数")
73 private java.lang.Integer staffNum;
74 /**经纬度*/
75 @Excel(name = "经纬度", width = 15)
76 @ApiModelProperty(value = "经纬度")
77 private java.lang.String latitudeLongitude;
78 /**备注*/
79 @Excel(name = "备注", width = 15)
80 @ApiModelProperty(value = "备注")
81 private java.lang.String remark;
82 /**创建部门*/
83 @Excel(name = "创建部门", width = 15)
84 @ApiModelProperty(value = "创建部门")
85 private java.lang.String createDept;
86 /**创建人*/
87 @Excel(name = "创建人", width = 15)
88 @ApiModelProperty(value = "创建人")
89 private java.lang.String createBy;
90 /**创建日期*/
91 @Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
92 @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
93 @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
94 @ApiModelProperty(value = "创建日期")
95 private java.util.Date createTime;
96 /**更新人*/
97 @Excel(name = "更新人", width = 15)
98 @ApiModelProperty(value = "更新人")
99 private java.lang.String updateBy;
100 /**更新日期*/
101 @Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
102 @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
103 @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
104 @ApiModelProperty(value = "更新日期")
105 private java.util.Date updateTime;
106 /**删除状态(0,正常,1已删除)*/
107 @Excel(name = "删除状态(0,正常,1已删除)", width = 15)
108 @ApiModelProperty(value = "删除状态(0,正常,1已删除)")
109 private java.lang.String delFlag;
110
111 /** 删除状态(0,正常,1已删除)*/
112 @ApiModelProperty(value = "外协相关证件集合")
113 private List<EpibolyCertificate> epibolyCertificateList ;//外协相关证件
114
115 /**删除状态(0,正常,1已删除)*/
116 @ApiModelProperty(value = "外协合同表")
117 private List<EpibolyContract> epibolyContractList ;//外协合同表
118
119 /**删除状态(0,正常,1已删除)*/
120 @ApiModelProperty(value = "外协员工表")
121 private List<EpibolyOuterStaff> epibolyOuterStaffList ;//外协员工表
122
123 }
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!