youhua
This commit is contained in:
		
							parent
							
								
									192a891710
								
							
						
					
					
						commit
						a86e970125
					
				| 
						 | 
				
			
			@ -62,7 +62,7 @@ public class EquipmentCardListPlugin extends AbstractListPlugin implements Plugi
 | 
			
		|||
            IFormView view = this.getView();
 | 
			
		||||
            view.invokeOperation("refresh");
 | 
			
		||||
        } else if (itemKey.equals("zcgj_asset")) {//同步资产卡片
 | 
			
		||||
            List<String> strings = new ArrayList<>();
 | 
			
		||||
            Set<String> strings = new HashSet();
 | 
			
		||||
            DynamicObject[] equipmenttype = BusinessDataServiceHelper.load("zcgj_equipmenttype", "number,zcgj_assetcat",new QFilter[]{new QFilter("zcgj_assetcat.number", QCP.is_notnull,"" )});
 | 
			
		||||
            for (DynamicObject dynamicObject : equipmenttype) {
 | 
			
		||||
                String number = dynamicObject.getDynamicObject("zcgj_assetcat").getString("number");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -38,7 +38,7 @@ public class EquipmentCardTaskPlugin extends AbstractTask {
 | 
			
		|||
 | 
			
		||||
    @Override
 | 
			
		||||
    public void execute(RequestContext requestContext, Map<String, Object> map) throws KDException {//同步资产卡片
 | 
			
		||||
        List<String> strings = new ArrayList<>();
 | 
			
		||||
        Set<String> strings = new HashSet();
 | 
			
		||||
        DynamicObject[] equipmenttype = BusinessDataServiceHelper.load("zcgj_equipmenttype", "number,zcgj_assetcat",new QFilter[]{new QFilter("zcgj_assetcat.number", QCP.is_notnull,"" )});
 | 
			
		||||
        for (DynamicObject dynamicObject : equipmenttype) {
 | 
			
		||||
            String number = dynamicObject.getDynamicObject("zcgj_assetcat").getString("number");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue