最新价格查询。默认查询全部
This commit is contained in:
		
							parent
							
								
									a88411238e
								
							
						
					
					
						commit
						3458ff6d0a
					
				|  | @ -608,7 +608,9 @@ public class PpResource extends AbstractNCCRestResource { | ||||||
|             String orgCodes = orgCode.stream() |             String orgCodes = orgCode.stream() | ||||||
|                     .map(id -> "'" + id.replace("'", "''") + "'")  // 防止单引号注入 |                     .map(id -> "'" + id.replace("'", "''") + "'")  // 防止单引号注入 | ||||||
|                     .collect(Collectors.joining(",")); |                     .collect(Collectors.joining(",")); | ||||||
| 
 |             if(jObject.getIntValue("months") == 0){ | ||||||
|  |                 jObject.put("months",1000000); | ||||||
|  |             } | ||||||
|             int recentMonths = jObject.getIntValue("months");  // 新增:获取最近月份数 |             int recentMonths = jObject.getIntValue("months");  // 新增:获取最近月份数 | ||||||
| //            HYPubBO hybo = new HYPubBO(); | //            HYPubBO hybo = new HYPubBO(); | ||||||
| //            Object orgId= hybo.findColValue("org_purchaseorg", "pk_purchaseorg", "code in (" + orgIdsStr + ")"); | //            Object orgId= hybo.findColValue("org_purchaseorg", "pk_purchaseorg", "code in (" + orgIdsStr + ")"); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue