Parcourir la source

面辅料调整

huxy il y a 1 an
Parent
commit
77e0e40122

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

@@ -200,6 +200,7 @@
 		AND elements_Id IS NOT NULL
 		AND elements_Id !=''
 		and del_flag=0
+		and create_time >DATE_SUB(NOW(), INTERVAL 2 MONTH)
 		and submit_Status='1'
 	</select>
 

+ 4 - 4
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splfi/service/impl/SyPackingListFabricServiceImpl.java

@@ -2632,10 +2632,10 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 				//jsonObject.put("CDEFINE23",syPackingListTailoringMapper.getUnit(item.getInventoryCode()));//报关单位
 				jsonObject.put("CDEFINE31",item.getDeclarationName());//存货名称
 				String iTaxRate=syPackingListFabricItemMapper.getItaxRate(item.getOmpoIdItem());
-				if(iTaxRate!=null){
-					jsonObject.put("iTaxRate",iTaxRate);//税率
-					jsonObject1.put("iTaxRate",iTaxRate);//税率
-				}
+				jsonObject1.put("iTaxRate","13.0000000000");//税率
+//				if(iTaxRate!=null){
+//					jsonObject.put("iTaxRate",iTaxRate);//税率
+//				}
 				jsonObject.put("CWHCODE",syPackingListFabricItemMapper.getVencode(item.getSupplier()));//获取仓库编码
 				jsonArrays.add(jsonObject);
 				//getcFree(jsonObject,jsonObject);