|  | @@ -28,7 +28,7 @@ public class ExpenseAccountFileOpPlugin extends AbstractOperationServicePlugIn {
 | 
	
		
			
				|  |  |              JSONObject object = new JSONObject();
 | 
	
		
			
				|  |  |              //当前单头数据包
 | 
	
		
			
				|  |  |              DynamicObject info = BusinessDataServiceHelper.loadSingle(dynamicObjects[i].getPkValue(), dynamicObjects[i].getDynamicObjectType().getName());
 | 
	
		
			
				|  |  | -            DynamicObjectCollection writeoffapply = info.getDynamicObjectCollection("contractentry");
 | 
	
		
			
				|  |  | +            DynamicObjectCollection writeoffapply = info.getDynamicObjectCollection("writeoffapply");
 | 
	
		
			
				|  |  |              if(writeoffapply.size()<=0){
 | 
	
		
			
				|  |  |                  List<Map<String, Object>> attachments = AttachmentServiceHelper.getAttachments("er_publicreimbursebill", info.getLong("id"), "nckd_attachmentpanelsq", true);
 | 
	
		
			
				|  |  |                  if(attachments.size()<=0){
 |