|
@@ -10,6 +10,9 @@
|
|
|
<result property="fName" column="f_name" />
|
|
|
<result property="fAddr" column="f_addr" />
|
|
|
<result property="fTotalgross" column="f_totalgross" />
|
|
|
+ <result property="fContacts" column="f_contacts" />
|
|
|
+ <result property="fTel" column="f_tel" />
|
|
|
+ <result property="fCharg" column="f_charg" />
|
|
|
<result property="fStatus" column="f_status" />
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
<result property="createBy" column="create_by" />
|
|
@@ -20,7 +23,7 @@
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTWarehouseVo">
|
|
|
- select f_id, f_no, f_name, f_addr, f_totalgross, f_status, del_flag, create_by, create_time, update_by, update_time, remark from t_warehouse
|
|
|
+ select f_id, f_no, f_name, f_addr, f_totalgross,f_contacts, f_tel, f_charg, f_status, del_flag, create_by, create_time, update_by, update_time, remark from t_warehouse
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectTWarehouseList" parameterType="TWarehouse" resultMap="TWarehouseResult">
|
|
@@ -30,6 +33,9 @@
|
|
|
<if test="fName != null and fName != ''"> and f_name like concat('%', #{fName}, '%')</if>
|
|
|
<if test="fAddr != null and fAddr != ''"> and f_addr like concat('%', #{fAddr}, '%')</if>
|
|
|
<if test="fTotalgross != null "> and f_totalgross like concat('%', #{fTotalgross}, '%')</if>
|
|
|
+ <if test="fContacts != null and fContacts != ''"> and f_contacts = #{fContacts}</if>
|
|
|
+ <if test="fTel != null and fTel != ''"> and f_tel = #{fTel}</if>
|
|
|
+ <if test="fCharg != null "> and f_charg = #{fCharg}</if>
|
|
|
<if test="fStatus != null and fStatus != ''"> and f_status = #{fStatus}</if>
|
|
|
</where>
|
|
|
</select>
|
|
@@ -46,6 +52,9 @@
|
|
|
<if test="fName != null and fName != ''">f_name,</if>
|
|
|
<if test="fAddr != null and fAddr != ''">f_addr,</if>
|
|
|
<if test="fTotalgross != null">f_totalgross,</if>
|
|
|
+ <if test="fContacts != null">f_contacts,</if>
|
|
|
+ <if test="fTel != null">f_tel,</if>
|
|
|
+ <if test="fCharg != null">f_charg,</if>
|
|
|
<if test="fStatus != null">f_status,</if>
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
@@ -59,6 +68,9 @@
|
|
|
<if test="fName != null and fName != ''">#{fName},</if>
|
|
|
<if test="fAddr != null and fAddr != ''">#{fAddr},</if>
|
|
|
<if test="fTotalgross != null">#{fTotalgross},</if>
|
|
|
+ <if test="fContacts != null">#{fContacts},</if>
|
|
|
+ <if test="fTel != null">#{fTel},</if>
|
|
|
+ <if test="fCharg != null">#{fCharg},</if>
|
|
|
<if test="fStatus != null">#{fStatus},</if>
|
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
@@ -76,6 +88,9 @@
|
|
|
<if test="fName != null and fName != ''">f_name = #{fName},</if>
|
|
|
<if test="fAddr != null and fAddr != ''">f_addr = #{fAddr},</if>
|
|
|
<if test="fTotalgross != null">f_totalgross = #{fTotalgross},</if>
|
|
|
+ <if test="fContacts != null">f_contacts = #{fContacts},</if>
|
|
|
+ <if test="fTel != null">f_tel = #{fTel},</if>
|
|
|
+ <if test="fCharg != null">f_charg = #{fCharg},</if>
|
|
|
<if test="fStatus != null">f_status = #{fStatus},</if>
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|