123
chenjingwu
2024-04-25 f7da22d3d9ee245ba7b6efe658ecfa149a6b2ec7
force-app/main/default/classes/MaintenanceProductDataController.cls
@@ -1391,13 +1391,19 @@
        ref.setRedirect(true);
        return ref;
    }
    public void addEx(String ProId){
    public String ProId {get;set;}
    public Integer index{get;set;}
    public PageReference addEx(){
        ExMpdDetailsInfo ex = new ExMpdDetailsInfo();
        ex.mpdrdd.Id = ProId;
        exmpdDetailsRecordsMap[ProId].add(ex);
        ex.mpdrdd.ProductsID__c = ProId;
        exmpdDetailsRecordsMap.get(ProId).add(ex);
        muCountMap.get(ProId);
        return null;
    }
    public void deleteEx(String ProId,Integer index){
        exmpdDetailsRecordsMap[ProId].remove(index);
    public PageReference deleteEx(){
        exmpdDetailsRecordsMap.get(ProId).remove(index);
        muCountMap.get(ProId);
        return null;
    }
    
    //搜索时的sql