Bladeren bron

fix 推送

he2802 3 jaren geleden
bovenliggende
commit
76f6c8834a

+ 3 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/user/vo/UserSubscribeVo.java

@@ -301,4 +301,7 @@ public class UserSubscribeVo {
 	@Excel(name = "智慧考场抓拍照")
 	@ApiModelProperty("智慧考场抓拍照")
 	private String snapPictures;
+
+	@ApiModelProperty("证件照")
+	private String oneInchPhotos;
 }

+ 7 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/wisdom/service/impl/WisdomServiceImpl.java

@@ -245,6 +245,7 @@ public class WisdomServiceImpl  implements IWisdomService {
             userVo.put("examineeName","ddsfs");
             userVo.put("idCardImg1",vo.getIdCardImg1());
             userVo.put("idCardImg2",vo.getIdCardImg2());
+            userVo.put("oneInchPhotos",vo.getOneInchPhotos());
             userVo.put("phone_num",vo.getTelphone());
             userVo.put("status",0);
             userVo.put("reportTime",DateUtils.getTime());
@@ -302,8 +303,14 @@ public class WisdomServiceImpl  implements IWisdomService {
                     String idCardImg2 = String.valueOf(userVo.get("idCardImg2"));
                     f2.setPath(idCardImg2);
                     f2.setFileName(userVo.get("examineeCode")+"_1.jpg");
+                    FileBean f3 = new FileBean();
+                    String oneInchPhotos = String.valueOf(userVo.get("oneInchPhotos"));
+                    f3.setPath(oneInchPhotos);
+                    f3.setFileName(userVo.get("oneInchPhotos")+".jpg");
                     fileBeanList.add(f1);
                     fileBeanList.add(f2);
+                    fileBeanList.add(f3);
+
                 }
                 ossService.zipWisdomDownload(fileBeanList,outStream);
                 outStream.close();

+ 2 - 0
zhongzheng-system/src/main/resources/mapper/modules/user/UserSubscribeMapper.xml

@@ -94,6 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="telphone" column="telphone"/>
         <result property="idCardImg1" column="id_card_img1"/>
         <result property="idCardImg2" column="id_card_img2"/>
+        <result property="oneInchPhotos" column="one_inch_photos"/>
         <result property="centerId" column="center_id"/>
         <result property="applyCode" column="apply_code"/>
         <result property="roomId" column="room_id"/>
@@ -435,6 +436,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                u.telphone,
                u.id_card_img1,
                u.id_card_img2,
+               u.one_inch_photos,
                es.center_id,
                ea.code as apply_code,
                ea.apply_name