|
@@ -119,7 +119,7 @@
|
|
|
case when m.deliver_type = '1' then ifNull(r.amount_ed_payable,0) else 0 end as freight,
|
|
|
'' as supplier,
|
|
|
w.goods_name as goodsName,
|
|
|
- case when w.goods_name = '玉米(潮粮)' then '潮粮' else '干粮' end as type,
|
|
|
+ case when w.goods_name like '%潮粮%' then '潮粮' else '干粮' end as type,
|
|
|
w.grade as grade,
|
|
|
IFNULL(wd.water_content,q.water_content) as waterContent,
|
|
|
IFNULL(wd.impurity,q.impurity) as impurity,
|
|
@@ -192,7 +192,7 @@
|
|
|
ROUND(IFNULL(r.amount_ed_payable,IFNULL(t.tran_price,0)*t.load_net_weight),2) as freight,
|
|
|
'' as supplier,
|
|
|
w.goods_name as goodsName,
|
|
|
- case when w.goods_name = '玉米(潮粮)' then '潮粮' else '干粮' end as type,
|
|
|
+ case when w.goods_name like '%潮粮%' then '潮粮' else '干粮' end as type,
|
|
|
w.grade as grade,
|
|
|
q.water_content as waterContent,
|
|
|
q.impurity as impurity,
|
|
@@ -271,7 +271,7 @@
|
|
|
0 as freight,
|
|
|
'' as supplier,
|
|
|
w.goods_name as goodsName,
|
|
|
- case when w.goods_name = '玉米(潮粮)' then '潮粮' else '干粮' end as type,
|
|
|
+ case when w.goods_name = like '%潮粮%' then '潮粮' else '干粮' end as type,
|
|
|
w.grade as grade,
|
|
|
d.water_content as waterContent,
|
|
|
d.impurity as impurity,
|
|
@@ -335,7 +335,7 @@
|
|
|
'' as remark,
|
|
|
w.in_out_task_no as inOutTaskNo,
|
|
|
w.goods_name as goodsName,
|
|
|
- case when w.goods_name = '玉米(潮粮)' then '潮粮' else '干粮' end as type,
|
|
|
+ case when w.goods_name like '%潮粮%' then '潮粮' else '干粮' end as type,
|
|
|
w.grade as grade,
|
|
|
d.water_content as waterContent,
|
|
|
d.impurity as impurity,
|
|
@@ -408,7 +408,7 @@
|
|
|
wm.customer as remark,
|
|
|
w.in_out_task_no as inOutTaskNo,
|
|
|
g.goods_name as goodsName,
|
|
|
- case when g.goods_name = '玉米(潮粮)' then '潮粮' else '干粮' end as type,
|
|
|
+ case when g.goods_name like '%潮粮%' then '潮粮' else '干粮' end as type,
|
|
|
g.grade as grade,
|
|
|
g.water_content as waterContent,
|
|
|
g.impurity as impurity,
|