|
@@ -1018,6 +1018,7 @@
|
|
|
resultType="com.ruoyi.anpin.WarhousrExcel">
|
|
|
SELECT
|
|
|
tw.f_id AS fId,
|
|
|
+ th.f_warehouse_information as wareHouseName,/*仓库*/
|
|
|
ti.f_bsdate AS fBsdate,/*进货时间*/
|
|
|
tf.f_name AS feeName,/*物资名称*/
|
|
|
tf.f_currency AS fCurrencyName,/*物资规格*/
|
|
@@ -1078,6 +1079,7 @@
|
|
|
<if test="fBilltype == null or fBilltype == ''">and tw.f_billtype in ('CK','RK')</if>
|
|
|
<if test="fFeeid != null ">and tw.f_feeid = #{fFeeid}</if>
|
|
|
<if test="fFeeType != null ">and tf.f_feetype = #{fFeeType}</if>
|
|
|
+ <if test="fWarehouseid != null ">and ti.f_warehouseid = #{fWarehouseid}</if>
|
|
|
<if test='cLoadDate != null and cLoadDate[0] != null and cLoadDate[0]!= ""'>
|
|
|
and ti.f_bsdate >= #{cLoadDate[0]}
|
|
|
</if>
|
|
@@ -1982,6 +1984,7 @@
|
|
|
<select id="selectTWarehouseFold" parameterType="TWarehousebillsfees"
|
|
|
resultType="com.ruoyi.anpin.WarhousrExcel">
|
|
|
SELECT tw.f_id AS fId,
|
|
|
+ th.f_warehouse_information as wareHouseName,/*仓库*/
|
|
|
ti.f_bsdate AS fBsdate,/*进货时间*/
|
|
|
tf.f_name AS feeName,/*物资名称*/
|
|
|
tf.f_currency AS fCurrencyName,/*物资规格*/
|
|
@@ -2041,6 +2044,7 @@
|
|
|
<if test="fGoodsid != null ">and ti.f_goodsid = #{fGoodsid}</if>
|
|
|
<if test="fFeeid != null ">and tw.f_feeid = #{fFeeid}</if>
|
|
|
<if test="fFeeType != null ">and tf.f_feetype = #{fFeeType}</if>
|
|
|
+ <if test="fWarehouseid != null ">and ti.f_warehouseid = #{fWarehouseid}</if>
|
|
|
<if test='cLoadDate != null and cLoadDate[0] != null and cLoadDate[0]!= ""'>
|
|
|
and ti.f_bsdate >= #{cLoadDate[0]}
|
|
|
</if>
|
|
@@ -2054,6 +2058,7 @@
|
|
|
<select id="selectTWarehouseCallout" parameterType="TWarehousebillsfees"
|
|
|
resultType="com.ruoyi.anpin.WarhousrExcel">
|
|
|
SELECT tw.f_id AS fId,
|
|
|
+ th.f_warehouse_information as wareHouseName,/*仓库*/
|
|
|
ti.f_bsdate AS fBsdate,/*进货时间*/
|
|
|
tf.f_name AS feeName,/*物资名称*/
|
|
|
tf.f_currency AS fCurrencyName,/*物资规格*/
|
|
@@ -2113,6 +2118,7 @@
|
|
|
<if test="fGoodsid != null ">and ti.f_goodsid = #{fGoodsid}</if>
|
|
|
<if test="fFeeid != null ">and tw.f_feeid = #{fFeeid}</if>
|
|
|
<if test="fFeeType != null ">and tf.f_feetype = #{fFeeType}</if>
|
|
|
+ <if test="fWarehouseid != null ">and ti.f_warehouseid = #{fWarehouseid}</if>
|
|
|
<if test='cLoadDate != null and cLoadDate[0] != null and cLoadDate[0]!= ""'>
|
|
|
and ti.f_bsdate >= #{cLoadDate[0]}
|
|
|
</if>
|