|
@@ -26,6 +26,7 @@
|
|
|
<result property="mobile" column="mobile"/>
|
|
<result property="mobile" column="mobile"/>
|
|
|
<result property="fax" column="fax"/>
|
|
<result property="fax" column="fax"/>
|
|
|
<result property="farmerId" column="farmer_id"/>
|
|
<result property="farmerId" column="farmer_id"/>
|
|
|
|
|
+ <result property="systemSourceFlg" column="system_source_flg"/>
|
|
|
<result property="discontinuedFlg" column="discontinued_flg"/>
|
|
<result property="discontinuedFlg" column="discontinued_flg"/>
|
|
|
<result property="discontinuedDate" column="discontinued_date"/>
|
|
<result property="discontinuedDate" column="discontinued_date"/>
|
|
|
<result property="createTime" column="create_time"/>
|
|
<result property="createTime" column="create_time"/>
|
|
@@ -61,6 +62,7 @@
|
|
|
mobile,
|
|
mobile,
|
|
|
fax,
|
|
fax,
|
|
|
farmer_id,
|
|
farmer_id,
|
|
|
|
|
+ system_source_flg,
|
|
|
discontinued_flg,
|
|
discontinued_flg,
|
|
|
discontinued_date,
|
|
discontinued_date,
|
|
|
create_time,
|
|
create_time,
|
|
@@ -141,6 +143,9 @@
|
|
|
<if test="farmerId != null and farmerId != ''">
|
|
<if test="farmerId != null and farmerId != ''">
|
|
|
and farmer_id = #{farmerId}
|
|
and farmer_id = #{farmerId}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="systemSourceFlg != null and systemSourceFlg != ''">
|
|
|
|
|
+ and system_source_flg = #{systemSourceFlg}
|
|
|
|
|
+ </if>
|
|
|
<if test="discontinuedFlg != null ">
|
|
<if test="discontinuedFlg != null ">
|
|
|
and discontinued_flg = #{discontinuedFlg}
|
|
and discontinued_flg = #{discontinuedFlg}
|
|
|
</if>
|
|
</if>
|
|
@@ -250,6 +255,9 @@
|
|
|
<if test="farmerId != null">
|
|
<if test="farmerId != null">
|
|
|
farmer_id,
|
|
farmer_id,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="systemSourceFlg != null">
|
|
|
|
|
+ system_source_flg,
|
|
|
|
|
+ </if>
|
|
|
<if test="discontinuedFlg != null">
|
|
<if test="discontinuedFlg != null">
|
|
|
discontinued_flg,
|
|
discontinued_flg,
|
|
|
</if>
|
|
</if>
|
|
@@ -346,6 +354,9 @@
|
|
|
<if test="farmerId != null">
|
|
<if test="farmerId != null">
|
|
|
#{farmerId},
|
|
#{farmerId},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="systemSourceFlg != null">
|
|
|
|
|
+ #{systemSourceFlg},
|
|
|
|
|
+ </if>
|
|
|
<if test="discontinuedFlg != null">
|
|
<if test="discontinuedFlg != null">
|
|
|
#{discontinuedFlg},
|
|
#{discontinuedFlg},
|
|
|
</if>
|
|
</if>
|
|
@@ -446,6 +457,9 @@
|
|
|
<if test="farmerId != null">
|
|
<if test="farmerId != null">
|
|
|
farmer_id = #{farmerId},
|
|
farmer_id = #{farmerId},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="systemSourceFlg != null">
|
|
|
|
|
+ system_source_flg = #{systemSourceFlg},
|
|
|
|
|
+ </if>
|
|
|
<if test="discontinuedFlg != null">
|
|
<if test="discontinuedFlg != null">
|
|
|
discontinued_flg = #{discontinuedFlg},
|
|
discontinued_flg = #{discontinuedFlg},
|
|
|
</if>
|
|
</if>
|
|
@@ -501,6 +515,7 @@
|
|
|
update_time = #{updateTime}
|
|
update_time = #{updateTime}
|
|
|
</if>
|
|
</if>
|
|
|
<where>
|
|
<where>
|
|
|
|
|
+ id = #{id}
|
|
|
<if test="customerId != null and customerId != ''">
|
|
<if test="customerId != null and customerId != ''">
|
|
|
and customer_id = #{customerId}
|
|
and customer_id = #{customerId}
|
|
|
</if>
|
|
</if>
|