|  | @@ -27,8 +27,8 @@ public class PurContractHaveNotJGSDTask extends AbstractTask {
 | 
	
		
			
				|  |  |          //1、从销售合同变跟单中查询所有已审核&变更原因=A:价格审定,获取所有
 | 
	
		
			
				|  |  |      	Set<Object> xshtids = new HashSet<>();
 | 
	
		
			
				|  |  |          QFilter qxsbg = new QFilter("billstatus", QCP.equals, "C");
 | 
	
		
			
				|  |  | -        qxsbg.and("nckd_combofield",QCP.equals,"A");
 | 
	
		
			
				|  |  | -        DynamicObject collections[] = BusinessDataServiceHelper.load("conm_xsalcontrac","id", qxsbg.toArray());
 | 
	
		
			
				|  |  | +        qxsbg.and("nckd_combofield",QCP.equals,"A");                  
 | 
	
		
			
				|  |  | +        DynamicObject collections[] = BusinessDataServiceHelper.load("conm_xsalcontract","id", qxsbg.toArray());
 | 
	
		
			
				|  |  |          for (DynamicObject saleData : collections) {
 | 
	
		
			
				|  |  |              Object id = saleData.get("id");
 | 
	
		
			
				|  |  |              xshtids.add(id);
 | 
	
	
		
			
				|  | @@ -40,7 +40,7 @@ public class PurContractHaveNotJGSDTask extends AbstractTask {
 | 
	
		
			
				|  |  |              qcght.and("nckd_refbillfield", QCP.in, xshtids);
 | 
	
		
			
				|  |  |              qcght.and("nckd_combofield",QCP.not_equals,"A");
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -            DynamicObjectCollection cghts = QueryServiceHelper.query("conm_purcontract","id,billno,nckd_refbillfield", qcght.toArray(), "");
 | 
	
		
			
				|  |  | +            DynamicObjectCollection cghts = QueryServiceHelper.query("conm_xpurcontract","id,billno,nckd_refbillfield", qcght.toArray(), "");
 | 
	
		
			
				|  |  |              if(!cghts.isEmpty()){
 | 
	
		
			
				|  |  |                  for (DynamicObject saleData : collections) {
 | 
	
		
			
				|  |  |                      String billno = saleData.getString("billno");//采购合同编号
 |