|
|
@@ -11,6 +11,7 @@
|
|
|
<result property="farmerNameKn" column="farmer_name_kn"/>
|
|
|
<result property="phoneNumber" column="phone_number"/>
|
|
|
<result property="mailAddress" column="mail_address"/>
|
|
|
+ <result property="postalCode" column="postal_code"/>
|
|
|
<result property="prefecture" column="prefecture"/>
|
|
|
<result property="city" column="city"/>
|
|
|
<result property="townStreetArea" column="town_street_area"/>
|
|
|
@@ -44,6 +45,7 @@
|
|
|
farmer_name_kn,
|
|
|
phone_number,
|
|
|
mail_address,
|
|
|
+ postal_code,
|
|
|
prefecture,
|
|
|
city,
|
|
|
town_street_area,
|
|
|
@@ -135,6 +137,9 @@
|
|
|
<if test="discontinuedDate != null and discontinuedDate != ''">
|
|
|
and discontinued_date = #{discontinuedDate}
|
|
|
</if>
|
|
|
+ <if test="postalCode != null and postalCode != ''">
|
|
|
+ and postal_code = #{postalCode}
|
|
|
+ </if>
|
|
|
|
|
|
</where>
|
|
|
order by farmer_id asc
|
|
|
@@ -167,6 +172,9 @@
|
|
|
<if test="mailAddress != null">
|
|
|
mail_address,
|
|
|
</if>
|
|
|
+ <if test="postalCode != null">
|
|
|
+ postal_code,
|
|
|
+ </if>
|
|
|
<if test="prefecture != null">
|
|
|
prefecture,
|
|
|
</if>
|
|
|
@@ -254,6 +262,9 @@
|
|
|
<if test="mailAddress != null">
|
|
|
#{mailAddress},
|
|
|
</if>
|
|
|
+ <if test="postalCode != null">
|
|
|
+ #{postalCode},
|
|
|
+ </if>
|
|
|
<if test="prefecture != null">
|
|
|
#{prefecture},
|
|
|
</if>
|
|
|
@@ -339,6 +350,9 @@
|
|
|
<if test="mailAddress != null">
|
|
|
mail_address = #{mailAddress},
|
|
|
</if>
|
|
|
+ <if test="postalCode != null">
|
|
|
+ postal_code = #{postalCode},
|
|
|
+ </if>
|
|
|
<if test="prefecture != null">
|
|
|
prefecture = #{prefecture},
|
|
|
</if>
|