Compare commits

..

No commits in common. "22ba0f02644d608c658a8d23ef7db223b42e345a" and "b6e69902faa7ab9c54b5ee185ba279d527d26c81" have entirely different histories.

1 changed files with 1 additions and 3 deletions

View File

@ -608,9 +608,7 @@ public class PpResource extends AbstractNCCRestResource {
String orgCodes = orgCode.stream()
.map(id -> "'" + id.replace("'", "''") + "'") // 防止单引号注入
.collect(Collectors.joining(","));
if(jObject.getIntValue("months") == 0){
jObject.put("months",1000000);
}
int recentMonths = jObject.getIntValue("months"); // 新增获取最近月份数
// HYPubBO hybo = new HYPubBO();
// Object orgId= hybo.findColValue("org_purchaseorg", "pk_purchaseorg", "code in (" + orgIdsStr + ")");