Переглянути джерело

fix 报考数据导入身份证

he2802 3 роки тому
батько
коміт
d2b406d582

+ 3 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/user/bo/UserSubscribeQueryBo.java

@@ -113,4 +113,7 @@ public class UserSubscribeQueryBo extends BaseEntity {
 
 	@ApiModelProperty("1考试登记")
 	private Integer canExam;
+
+	@ApiModelProperty("考试地点")
+	private String applySiteAddress;
 }

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

@@ -83,6 +83,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
         WHERE
             1 =1
+        <if test="applySiteAddress != null and applySiteAddress != '' ">
+            and us.apply_site_address = #{applySiteAddress}
+        </if>
         <if test="canCancel != null and canCancel == 1 ">
             and us.subscribe_status = 1
             and UNIX_TIMESTAMP(CONCAT(FROM_UNIXTIME(us.apply_site_exam_time, '%Y-%m-%d '),us.apply_site_start_time)) > unix_timestamp(now())+86400