| | |
| | | |
| | | <!-- 保存物品供应商信息 add by wuxw 2018-07-03 --> |
| | | <insert id="saveBusinessResourceSupplierInfo" parameterType="Map"> |
| | | insert into business_resource_supplier( |
| | | supplier_name,create_user_id,address,contact_name,rs_id,create_user_name,remark,store_id,account_bank,operate,tel,bank_account_number,b_id |
| | | ) values ( |
| | | #{supplierName},#{createUserId},#{address},#{contactName},#{rsId},#{createUserName},#{remark},#{storeId},#{accountBank},#{operate},#{tel},#{bankAccountNumber},#{bId} |
| | | ) |
| | | </insert> |
| | | insert into business_resource_supplier(supplier_name, create_user_id, address, contact_name, rs_id, |
| | | create_user_name, remark, store_id, account_bank, operate, tel, |
| | | bank_account_number, b_id) |
| | | values (#{supplierName}, #{createUserId}, #{address}, #{contactName}, #{rsId}, #{createUserName}, #{remark}, |
| | | #{storeId}, #{accountBank}, #{operate}, #{tel}, #{bankAccountNumber}, #{bId}) |
| | | </insert> |
| | | |
| | | |
| | | <!-- 查询物品供应商信息(Business) add by wuxw 2018-07-03 --> |
| | |
| | | <if test="createUserName !=null and createUserName != ''"> |
| | | , t.create_user_name= #{createUserName} |
| | | </if> |
| | | <if test="remark !=null and remark != ''"> |
| | | , t.remark= #{remark} |
| | | </if> |
| | | , t.remark= #{remark} |
| | | <if test="storeId !=null and storeId != ''"> |
| | | , t.store_id= #{storeId} |
| | | </if> |
| | | <if test="accountBank !=null and accountBank != ''"> |
| | | , t.account_bank= #{accountBank} |
| | | </if> |
| | | , t.account_bank= #{accountBank} |
| | | <if test="tel !=null and tel != ''"> |
| | | , t.tel= #{tel} |
| | | </if> |
| | | <if test="bankAccountNumber !=null and bankAccountNumber != ''"> |
| | | , t.bank_account_number= #{bankAccountNumber} |
| | | </if> |
| | | , t.bank_account_number= #{bankAccountNumber} |
| | | where 1=1 |
| | | <if test="rsId !=null and rsId != ''"> |
| | | and t.rs_id= #{rsId} |