|
|
|
|
@ -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">
|
|
|
|
|
@ -61,25 +65,36 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
|
|
|
|
|
<if test="muId != null "> and mu_id = #{muId}</if>
|
|
|
|
|
<if test="num != null and num != ''"> and num = #{num}</if>
|
|
|
|
|
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
|
|
|
|
<if test="name != null and name != ''">
|
|
|
|
|
and ( name like concat('%', #{name}, '%')
|
|
|
|
|
or name1 like concat('%', #{name}, '%')
|
|
|
|
|
or name2 like concat('%', #{name}, '%')
|
|
|
|
|
or name3 like concat('%', #{name}, '%')
|
|
|
|
|
or name4 like concat('%', #{name}, '%')
|
|
|
|
|
)
|
|
|
|
|
</if>
|
|
|
|
|
<if test="cardId != null and cardId != ''"> and card_id = #{cardId}</if>
|
|
|
|
|
<if test="address != null and address != ''"> and address = #{address}</if>
|
|
|
|
|
<if test="djJg != null and djJg != ''"> and dj_jg = #{djJg}</if>
|
|
|
|
|
<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>
|
|
|
|
|
@ -117,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>
|
|
|
|
|
@ -162,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>
|
|
|
|
|
@ -211,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>
|
|
|
|
|
|