Commit cf9fa0d7 by 叶立庆

Merge branch 'v5.8.2.4' into 'master'

上线合并

See merge request !35
2 parents ebcc5128 039ba8a8
...@@ -95,12 +95,12 @@ ...@@ -95,12 +95,12 @@
left join dj_car_life_goods_order go on go.order_code = gso.order_code left join dj_car_life_goods_order go on go.order_code = gso.order_code
left join dj_car_life_merchant_goods_stock_month_report dclmgsmr on dclmgsmr.upgrade_goods_id = left join dj_car_life_merchant_goods_stock_month_report dclmgsmr on dclmgsmr.upgrade_goods_id =
gso.upgrade_goods_id and dclmgsmr.yq_merchant_id = go.seller_merchant_id and dclmgsmr.deleted_flag = 'N' gso.upgrade_goods_id and dclmgsmr.yq_merchant_id = go.seller_merchant_id and dclmgsmr.deleted_flag = 'N'
<where>
gso.deleted_flag = 'N' and gso.order_code = #{orderCode} and (gso.construction_flag != 1 or
gso.construction_flag is null) and gso.status =1
<if test="dataMonth != null"> <if test="dataMonth != null">
and dclmgsmr.data_month = #{dataMonth} and dclmgsmr.data_month = #{dataMonth}
</if> </if>
<where>
gso.deleted_flag = 'N' and gso.order_code = #{orderCode} and (gso.construction_flag != 1 or
gso.construction_flag is null) and gso.status =1
</where> </where>
<if test="constructionCode != null and constructionCode != ''"> <if test="constructionCode != null and constructionCode != ''">
union all union all
...@@ -126,12 +126,12 @@ ...@@ -126,12 +126,12 @@
left join dj_car_life_goods_order go on go.order_code = gso.order_code left join dj_car_life_goods_order go on go.order_code = gso.order_code
left join dj_car_life_merchant_goods_stock_month_report dclmgsmr on dclmgsmr.upgrade_goods_id = left join dj_car_life_merchant_goods_stock_month_report dclmgsmr on dclmgsmr.upgrade_goods_id =
gso.upgrade_goods_id and dclmgsmr.yq_merchant_id = go.seller_merchant_id and dclmgsmr.deleted_flag = 'N' gso.upgrade_goods_id and dclmgsmr.yq_merchant_id = go.seller_merchant_id and dclmgsmr.deleted_flag = 'N'
<where>
csor.deleted_flag = 'N' and gso.deleted_flag = 'N' and csor.construction_code = #{constructionCode} and
gso.status =1
<if test="dataMonth != null"> <if test="dataMonth != null">
and dclmgsmr.data_month = #{dataMonth} and dclmgsmr.data_month = #{dataMonth}
</if> </if>
<where>
csor.deleted_flag = 'N' and gso.deleted_flag = 'N' and csor.construction_code = #{constructionCode} and
gso.status =1
</where> </where>
</if> </if>
</select> </select>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!