Browse Source

面辅料

huxy 2 năm trước cách đây
mục cha
commit
736a5bca26

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splfi/mapper/xml/SyPackingListFabricItemMapper.xml

@@ -85,7 +85,7 @@
 			b.inventory_Name,/*物料名称*/
 			b.inventory_Name AS Composition,/*成分/Composition*/
 			if(INSTR(c.Weight,'克')>0,left(c.Weight,char_length(c.Weight)-1),0) gramWeight,
-			(if(ifnull(b.guangpei_Gate_Width,'x') REGEXP '[^0-9.]'>0,'0',b.guangpei_Gate_Width)) as Width,
+			(if(ifnull(c.guangpei_Gate_Width,'x') REGEXP '[^0-9.]'>0,'0',c.guangpei_Gate_Width)) as Width,
 			b.sales_Unit_Price AS price,/*价格*/
 			b.treatment_Method,/*处理方式*/
 			b.manual_Yarn_Flag,/*是否手册纱*/