添加字段

master
hansha 2 years ago
parent dc04eea7c6
commit eb817ea36b

@ -1,17 +1,18 @@
package com.da.dangan.domain;
import java.util.Date;
import com.da.common.annotation.Excel;
import com.da.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.da.common.annotation.Excel;
import com.da.common.core.domain.BaseEntity;
import java.util.Date;
/**
* da_zqz
*
* @author hs
* @date 2024-06-14
* @date 2024-06-15
*/
public class DaZqz extends BaseEntity
{
@ -60,6 +61,11 @@ public class DaZqz extends BaseEntity
@Excel(name = "性别1")
private String sex1;
/** 出生日期1 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "出生日期1", width = 30, dateFormat = "yyyy-MM-dd")
private Date birthDate1;
/** 身份证号1 */
@Excel(name = "身份证号1")
private String cardId1;
@ -76,6 +82,11 @@ public class DaZqz extends BaseEntity
@Excel(name = "性别2")
private String sex2;
/** 出生日期2 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "出生日期2", width = 30, dateFormat = "yyyy-MM-dd")
private Date birthDate2;
/** 身份证号2 */
@Excel(name = "身份证号2")
private String cardId2;
@ -88,6 +99,11 @@ public class DaZqz extends BaseEntity
@Excel(name = "姓名3")
private String name3;
/** 出生日期3 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "出生日期3", width = 30, dateFormat = "yyyy-MM-dd")
private Date birthDate3;
/** 性别3 */
@Excel(name = "性别3")
private String sex3;
@ -108,6 +124,11 @@ public class DaZqz extends BaseEntity
@Excel(name = "性别4")
private String sex4;
/** 出生日期4 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "出生日期4", width = 30, dateFormat = "yyyy-MM-dd")
private Date birthDate4;
/** 身份证号4 */
@Excel(name = "身份证号4")
private String cardId4;
@ -272,6 +293,15 @@ public class DaZqz extends BaseEntity
{
return sex1;
}
public void setBirthDate1(Date birthDate1)
{
this.birthDate1 = birthDate1;
}
public Date getBirthDate1()
{
return birthDate1;
}
public void setCardId1(String cardId1)
{
this.cardId1 = cardId1;
@ -308,6 +338,15 @@ public class DaZqz extends BaseEntity
{
return sex2;
}
public void setBirthDate2(Date birthDate2)
{
this.birthDate2 = birthDate2;
}
public Date getBirthDate2()
{
return birthDate2;
}
public void setCardId2(String cardId2)
{
this.cardId2 = cardId2;
@ -335,6 +374,15 @@ public class DaZqz extends BaseEntity
{
return name3;
}
public void setBirthDate3(Date birthDate3)
{
this.birthDate3 = birthDate3;
}
public Date getBirthDate3()
{
return birthDate3;
}
public void setSex3(String sex3)
{
this.sex3 = sex3;
@ -380,6 +428,15 @@ public class DaZqz extends BaseEntity
{
return sex4;
}
public void setBirthDate4(Date birthDate4)
{
this.birthDate4 = birthDate4;
}
public Date getBirthDate4()
{
return birthDate4;
}
public void setCardId4(String cardId4)
{
this.cardId4 = cardId4;
@ -539,18 +596,22 @@ public class DaZqz extends BaseEntity
.append("relation1", getRelation1())
.append("name1", getName1())
.append("sex1", getSex1())
.append("birthDate1", getBirthDate1())
.append("cardId1", getCardId1())
.append("relation2", getRelation2())
.append("name2", getName2())
.append("sex2", getSex2())
.append("birthDate2", getBirthDate2())
.append("cardId2", getCardId2())
.append("relation3", getRelation3())
.append("name3", getName3())
.append("birthDate3", getBirthDate3())
.append("sex3", getSex3())
.append("cardId3", getCardId3())
.append("relation4", getRelation4())
.append("name4", getName4())
.append("sex4", getSex4())
.append("birthDate4", getBirthDate4())
.append("cardId4", getCardId4())
.append("fwdw", getFwdw())
.append("qrAddress", getQrAddress())

@ -16,18 +16,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="relation1" column="relation1" />
<result property="name1" column="name1" />
<result property="sex1" column="sex1" />
<result property="birthDate1" column="birth_date1" />
<result property="cardId1" column="card_id1" />
<result property="relation2" column="relation2" />
<result property="name2" column="name2" />
<result property="sex2" column="sex2" />
<result property="birthDate2" column="birth_date2" />
<result property="cardId2" column="card_id2" />
<result property="relation3" column="relation3" />
<result property="name3" column="name3" />
<result property="birthDate3" column="birth_date3" />
<result property="sex3" column="sex3" />
<result property="cardId3" column="card_id3" />
<result property="relation4" column="relation4" />
<result property="name4" column="name4" />
<result property="sex4" column="sex4" />
<result property="birthDate4" column="birth_date4" />
<result property="cardId4" column="card_id4" />
<result property="fwdw" column="fwdw" />
<result property="qrAddress" column="qr_address" />
@ -52,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectDaZqzVo">
select id, yw_type, mu_id, num, name, card_id, address, dj_jg, relation1, name1, sex1, card_id1, relation2, name2, sex2, card_id2, relation3, name3, sex3, card_id3, relation4, name4, sex4, card_id4, fwdw, qr_address, zq_reason, pzjg, cbr, qf_date, pic_ids, pictures, all_pic_ids, all_pics, error_correct, audit_status, audit_name, audit_result, audit_reason, remark, create_by, create_time, update_by, update_time from da_zqz
select id, yw_type, mu_id, num, name, card_id, address, dj_jg, relation1, name1, sex1, birth_date1, card_id1, relation2, name2, sex2, birth_date2, card_id2, relation3, name3, birth_date3, sex3, card_id3, relation4, name4, sex4, birth_date4, card_id4, fwdw, qr_address, zq_reason, pzjg, cbr, qf_date, pic_ids, pictures, all_pic_ids, all_pics, error_correct, audit_status, audit_name, audit_result, audit_reason, remark, create_by, create_time, update_by, update_time from da_zqz
</sql>
<select id="selectDaZqzList" parameterType="DaZqz" resultMap="DaZqzResult">
@ -75,18 +79,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="relation1 != null and relation1 != ''"> and relation1 = #{relation1}</if>
<if test="name1 != null and name1 != ''"> and name1 = #{name1}</if>
<if test="sex1 != null and sex1 != ''"> and sex1 = #{sex1}</if>
<if test="birthDate1 != null "> and birth_date1 = #{birthDate1}</if>
<if test="cardId1 != null and cardId1 != ''"> and card_id1 = #{cardId1}</if>
<if test="relation2 != null and relation2 != ''"> and relation2 = #{relation2}</if>
<if test="name2 != null and name2 != ''"> and name2 = #{name2}</if>
<if test="sex2 != null and sex2 != ''"> and sex2 = #{sex2}</if>
<if test="birthDate2 != null "> and birth_date2 = #{birthDate2}</if>
<if test="cardId2 != null and cardId2 != ''"> and card_id2 = #{cardId2}</if>
<if test="relation3 != null and relation3 != ''"> and relation3 = #{relation3}</if>
<if test="name3 != null and name3 != ''"> and name3 = #{name3}</if>
<if test="birthDate3 != null "> and birth_date3 = #{birthDate3}</if>
<if test="sex3 != null and sex3 != ''"> and sex3 = #{sex3}</if>
<if test="cardId3 != null and cardId3 != ''"> and card_id3 = #{cardId3}</if>
<if test="relation4 != null and relation4 != ''"> and relation4 = #{relation4}</if>
<if test="name4 != null and name4 != ''"> and name4 = #{name4}</if>
<if test="sex4 != null and sex4 != ''"> and sex4 = #{sex4}</if>
<if test="birthDate4 != null "> and birth_date4 = #{birthDate4}</if>
<if test="cardId4 != null and cardId4 != ''"> and card_id4 = #{cardId4}</if>
<if test="fwdw != null and fwdw != ''"> and fwdw = #{fwdw}</if>
<if test="qrAddress != null and qrAddress != ''"> and qr_address = #{qrAddress}</if>
@ -124,18 +132,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="relation1 != null">relation1,</if>
<if test="name1 != null">name1,</if>
<if test="sex1 != null">sex1,</if>
<if test="birthDate1 != null">birth_date1,</if>
<if test="cardId1 != null">card_id1,</if>
<if test="relation2 != null">relation2,</if>
<if test="name2 != null">name2,</if>
<if test="sex2 != null">sex2,</if>
<if test="birthDate2 != null">birth_date2,</if>
<if test="cardId2 != null">card_id2,</if>
<if test="relation3 != null">relation3,</if>
<if test="name3 != null">name3,</if>
<if test="birthDate3 != null">birth_date3,</if>
<if test="sex3 != null">sex3,</if>
<if test="cardId3 != null">card_id3,</if>
<if test="relation4 != null">relation4,</if>
<if test="name4 != null">name4,</if>
<if test="sex4 != null">sex4,</if>
<if test="birthDate4 != null">birth_date4,</if>
<if test="cardId4 != null">card_id4,</if>
<if test="fwdw != null">fwdw,</if>
<if test="qrAddress != null">qr_address,</if>
@ -169,18 +181,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="relation1 != null">#{relation1},</if>
<if test="name1 != null">#{name1},</if>
<if test="sex1 != null">#{sex1},</if>
<if test="birthDate1 != null">#{birthDate1},</if>
<if test="cardId1 != null">#{cardId1},</if>
<if test="relation2 != null">#{relation2},</if>
<if test="name2 != null">#{name2},</if>
<if test="sex2 != null">#{sex2},</if>
<if test="birthDate2 != null">#{birthDate2},</if>
<if test="cardId2 != null">#{cardId2},</if>
<if test="relation3 != null">#{relation3},</if>
<if test="name3 != null">#{name3},</if>
<if test="birthDate3 != null">#{birthDate3},</if>
<if test="sex3 != null">#{sex3},</if>
<if test="cardId3 != null">#{cardId3},</if>
<if test="relation4 != null">#{relation4},</if>
<if test="name4 != null">#{name4},</if>
<if test="sex4 != null">#{sex4},</if>
<if test="birthDate4 != null">#{birthDate4},</if>
<if test="cardId4 != null">#{cardId4},</if>
<if test="fwdw != null">#{fwdw},</if>
<if test="qrAddress != null">#{qrAddress},</if>
@ -218,18 +234,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="relation1 != null">relation1 = #{relation1},</if>
<if test="name1 != null">name1 = #{name1},</if>
<if test="sex1 != null">sex1 = #{sex1},</if>
<if test="birthDate1 != null">birth_date1 = #{birthDate1},</if>
<if test="cardId1 != null">card_id1 = #{cardId1},</if>
<if test="relation2 != null">relation2 = #{relation2},</if>
<if test="name2 != null">name2 = #{name2},</if>
<if test="sex2 != null">sex2 = #{sex2},</if>
<if test="birthDate2 != null">birth_date2 = #{birthDate2},</if>
<if test="cardId2 != null">card_id2 = #{cardId2},</if>
<if test="relation3 != null">relation3 = #{relation3},</if>
<if test="name3 != null">name3 = #{name3},</if>
<if test="birthDate3 != null">birth_date3 = #{birthDate3},</if>
<if test="sex3 != null">sex3 = #{sex3},</if>
<if test="cardId3 != null">card_id3 = #{cardId3},</if>
<if test="relation4 != null">relation4 = #{relation4},</if>
<if test="name4 != null">name4 = #{name4},</if>
<if test="sex4 != null">sex4 = #{sex4},</if>
<if test="birthDate4 != null">birth_date4 = #{birthDate4},</if>
<if test="cardId4 != null">card_id4 = #{cardId4},</if>
<if test="fwdw != null">fwdw = #{fwdw},</if>
<if test="qrAddress != null">qr_address = #{qrAddress},</if>

Loading…
Cancel
Save